Tax planning for S corporations

On this page

S status, basis and distributions

An S corporation is a corporation that elects under IRC §1362. Under §1366, most income, loss, deductions, and credits pass through to shareholders. The corporation usually does not pay regular corporate income tax on those items.

Shareholders use stock basis to measure the tax effect of income and cash movements. Qualifying shareholder loans can also create debt basis.

Planning answers four connected questions. Should property that appreciated before the S election be sold now? Should the election be revoked, and when? How does a contribution or loan change basis? Does a distribution come from AAA, accumulated E&P, stock basis, or gain?

An S corporation can still pay corporate tax on recognized built-in gains. Accumulated E&P can also make part of a distribution a dividend. The tax result depends on the corporation's status and the account or basis that receives each dollar.

Asset sale, status and distributions

Read the diagram from left to right. First measure the property's value and tax basis when S status begins. Then compare the sale date with the five-year recognition period or evaluate a revocation before the sale. After the corporation's income and tax status are known, classify each cash movement and carry the result through AAA, E&P, stock basis, or debt basis.

Loading diagram…

The asset-sale choice comes first because the sale can create corporate tax and S income that change the balances used for later cash payments.

The five-year built-in gain period

Under IRC §1374, a C corporation that becomes an S corporation can owe corporate built-in gains tax. The rule applies when the corporation sells property that had built-in appreciation at the S election date.

Maple Co. becomes an S corporation on January 1, 2025. Its asset has a $500,000 FMV and $300,000 tax basis. The built-in gain at conversion is $200,000.

The five-year recognition period runs through December 31, 2029. A June 30, 2028 sale for $520,000 creates a $220,000 realized gain. Only $200,000 is recognized built-in gain.

With no built-in losses, carryforwards, or taxable-income limitation, the tax is $200,000 × 21% = $42,000. A $450,000 sale creates $150,000 of recognized built-in gain and $31,500 of tax.

A January 1, 2030 sale is outside the recognition period. It has $0 of §1374 built-in gains tax, although the S corporation still has a pass-through gain.

Facts: Maple can sell for $520,000 on June 30, 2028, or wait until January 1, 2030.

Question: What tax amount must Maple isolate before choosing?

Answer: The first date produces $42,000 of built-in gains tax. The second produces $0 of §1374 tax.

The first calculation is not the full sale gain. It is the smaller of the sale gain and the built-in gain measured at the S election. The date comparison leads to the choice between remaining an S corporation and revoking before the sale.

The detailed calculation and disposition cases are in Built-in gains and terminating the election.

The five-year built-in gain period

When revocation becomes effective

Under IRC §1362(d)(1), a voluntary revocation requires a written statement. It also requires consent from shareholders owning more than 50% of the outstanding shares. Every shareholder need not consent.

For a calendar-year corporation, a revocation filed by March 15, the 15th day of the third month, can be effective on January 1 of that year. A filing after March 15 generally takes effect on January 1 of the following year unless a later permitted date is specified.

A filing on April 1, 2025, with 60% shareholder consent and no stated date generally takes effect January 1, 2026. If revocation takes effect during a year, §1362(e) divides the year into S and C short periods. Daily allocation generally applies unless the required closing-of-books election and consents are used.

Once the effective date arrives, the corporation is taxed as a C corporation. If Maple revokes before the $520,000 sale, the full $220,000 gain is subject to regular corporate tax at 21%. The tax is $46,200 rather than $42,000 under the stay-S path.

The C-corporation tax is $4,200 higher. Later distributions can also be dividends, creating a second shareholder-level tax. Revocation changes the tax regime. It does not automatically reduce total tax.

Facts: Owners of only 40% sign a revocation on February 20, 2025.

Question: What happens to S status?

Answer: The consent threshold is not met. The S election remains in effect.

Consent and filing date determine whether planned C-corporation treatment begins. If it begins, the asset sale and later cash payments follow C-corporation rules rather than S-corporation account ordering.

The full revocation timing, status, and schedule analysis is in Built-in gains and terminating the election.

When revocation becomes effective

Contributions, loans and basis

Classify the transaction before applying distribution rules. A contribution of land with a $20,000 adjusted tax basis and $35,000 FMV generally produces no immediate gain under IRC §351, assuming no liability or boot.

The shareholder's stock basis increases by $20,000, not $35,000. The corporation's land basis is $20,000 under §§358 and 362. The contribution does not increase AAA because contributed property or cash is not S-corporation income.

A bona fide direct loan from the shareholder to the corporation creates $30,000 of shareholder debt basis. It does not create stock basis or AAA.

Repayment of $10,000 reduces debt basis to $20,000. It is not a stock distribution. A guarantee of corporate bank debt does not create debt basis without an actual shareholder payment.

If a repayment exceeds the shareholder's debt basis, gain is recognized to the extent of the excess. The same cash amount has different tax effects when it is a contribution, loan, loan repayment, or stock distribution.

The complete transaction-classification and basis analysis is in Planning distributions, loans and the AAA election.

Distribution order among tax accounts

For the account-ordering comparison here, the default order is AAA first, then accumulated E&P, then stock basis. Any excess produces capital gain.

A $100,000 distribution with $90,000 of AAA, $40,000 of accumulated E&P, and $120,000 of stock basis uses $90,000 of AAA. The remaining $10,000 is a dividend.

Stock basis falls from $120,000 to $30,000. The dividend does not reduce stock basis.

Under the IRC §1368(e)(3) election, the corporation treats distributions as coming from accumulated E&P before AAA for the tax year. The same $100,000 distribution is then a $40,000 dividend followed by a $60,000 AAA distribution.

Stock basis falls from $120,000 to $60,000. AAA remains $30,000. The election is made by the corporation and applies to the year's distributions. It does not turn a dividend into a tax-free payment.

A $280,000 distribution reaches capital gain. With the same $90,000 AAA, $40,000 E&P, and $120,000 stock basis, $30,000 remains as capital gain after the accounts and basis are exhausted.

AAA and E&P are corporate tax accounts. Stock basis belongs to the shareholder. Keeping them separate explains why an E&P-first election changes the dividend amount and basis reduction.

The complete ordering, election, and loan interaction rules are in Planning distributions, loans and the AAA election.

Distribution order among tax accounts

Balances that control later tax results

The amounts that move forward are the property's built-in gain, the corporation's tax status, AAA, accumulated E&P, stock basis, and debt basis. The cash itself is not the controlling balance.

S income generally increases AAA and stock basis. Distributions reduce the applicable corporate account and then stock basis. Direct loan repayments reduce debt basis.

A contribution raises stock or debt-related basis only as the rules provide. It does not create AAA. If a contribution is added to AAA, a guarantee is treated as debt basis, or a loan repayment is treated as a distribution, every downstream tax amount is wrong.

These balances connect asset planning with cash planning. The comparison keeps the same facts while identifying the trigger and balance that control each choice.

Sale, revocation and distribution choices

The same $500,000 FMV, $300,000 basis, $520,000 sale price, $90,000 AAA, $40,000 E&P, and $120,000 stock basis apply throughout. The distribution rows measure balances immediately before the $100,000 distribution.

Choice or transactionTriggerWhat is recognizedAccount or basis resultLater cash effect
S sale during recognition periodSell for $520,000 on June 30, 2028 while still an S corporation$220,000 total gain; $200,000 built-in gain; $42,000 §1374 taxS income affects AAA and stock basisLater distributions use updated balances
S sale after recognition periodSell on January 1, 2030 while still an S corporation$220,000 pass-through gain; $0 §1374 taxS income affects AAA and stock basisGain still affects shareholder tax
Revocation before the sale60% consent and April 1, 2025 filing with no stated date$220,000 gain; $46,200 corporate taxS ordering no longer controls after January 1, 2026Later payments can be dividends
Default $100,000 distributionNo E&P-first election; AAA is $90,000 and E&P is $40,000$90,000 AAA payment and $10,000 dividendStock basis falls from $120,000 to $30,000AAA is $0 and E&P is $30,000
E&P-first $100,000 distributionValid IRC §1368(e)(3) election$40,000 dividend and $60,000 AAA paymentStock basis falls from $120,000 to $60,000AAA is $30,000 and E&P is $0

The controlling trigger is the sale date, filing and consent, transaction classification, or valid election.

Maple's S corporation tax paths

Maple Co. became an S corporation on January 1, 2025. At that date, its machine had a $500,000 FMV and $300,000 tax basis.

A shareholder had $100,000 stock basis. On January 2, 2028, the shareholder contributed land with a $20,000 tax basis and $35,000 FMV.

The contribution had no liabilities or boot. Immediately before a June 1, 2028 distribution, AAA was $90,000 and accumulated E&P was $40,000.

The shareholder also had a bona fide direct loan with $30,000 debt basis. Maple distributed $100,000 and repaid $10,000 of the loan.

Maple sold the machine on June 30, 2028, for $520,000. The first path remains an S corporation and uses the default distribution order.

A counterfactual path has shareholders owning 60% file a revocation on April 1, 2025, with no stated effective date.

Calculate the default distribution, loan repayment, S-corporation sale tax, and revocation alternative.

The schedule classifies each transaction before applying the relevant account, basis, or status rule.

Problem schedule

StepCalculation or decisionResultSource chapter
1. ContributionStock basis $100,000 + $20,000 adjusted basis of landStock basis becomes $120,000; land basis is $20,000; AAA stays $90,000Planning distributions, loans and the AAA election
2. Loan repayment$10,000 repayment from $30,000 direct-loan debt basisDebt basis becomes $20,000; repayment is not a stock distributionPlanning distributions, loans and the AAA election
3. Default distribution$100,000 distribution uses $90,000 AAA, then $10,000 E&P$10,000 dividend; stock basis becomes $30,000; AAA is $0; E&P is $30,000Planning distributions, loans and the AAA election
4. E&P-first comparison$100,000 distribution uses $40,000 E&P, then $60,000 AAA$40,000 dividend; stock basis becomes $60,000; AAA is $30,000; E&P is $0Planning distributions, loans and the AAA election
5. S-corporation asset sale$520,000 - $300,000 = $220,000 gain; built-in gain was $200,000; $200,000 × 21%$42,000 built-in gains tax during the recognition periodBuilt-in gains and terminating the election
6. Revocation alternative60% consent is sufficient; April 1 filing is after March 15Revocation takes effect January 1, 2026; 2028 tax is $46,200; possible later dividend taxBuilt-in gains and terminating the election

The revocation path produces $4,200 more corporate tax than the S-corporation path before any later dividend tax.

Changing only the distribution from $100,000 to $280,000 reaches the capital-gain layer. The result is $90,000 from AAA, $40,000 as a dividend, $120,000 reducing stock basis to zero, and $30,000 of capital gain.

Sale timing, revocation, distributions and basis

The controlling fact varies among sale timing, revocation timing, distribution election, and transaction classification. Each answer depends on keeping the relevant account or basis separate.

Practice

Maple Co. became an S corporation on January 1, 2025. An asset had a $500,000 FMV and $300,000 tax basis on that date. Maple sells it on June 30, 2028 for $520,000. Assume no built-in losses, carryforwards, or taxable-income limitation. What built-in gains tax does Maple owe at 21%?

A calendar-year S corporation files a revocation on April 1, 2025. Shareholders owning 60% of the outstanding shares consent, and no effective date is listed. When does the revocation generally take effect?

Immediately before a $100,000 distribution, an S corporation has $90,000 of AAA, $40,000 of accumulated E&P, and the shareholder has $120,000 stock basis. The corporation makes a valid IRC §1368(e)(3) E&P-first election. What is the result?

A shareholder contributes land with a $20,000 adjusted basis and $35,000 FMV to an S corporation, assuming no liabilities or boot, and guarantees a $30,000 bank loan made to the corporation. What is correct immediately after these transactions?

Built-in gain, revocation, basis and distributions

The usable rules are short when each transaction is classified before its tax result is calculated.

  • Built-in gain: Compare FMV and basis at the S election with the sale date. Only net recognized built-in gain inside the five-year period faces the 21% §1374 tax.
  • Revocation: More than 50% consent and the filing date control when C-corporation treatment begins. Regular corporate tax and later dividends may follow.
  • Basis: A contribution generally adds adjusted basis. A direct shareholder loan creates debt basis. A guarantee alone does not.
  • AAA and E&P: Use AAA, then E&P, then stock basis under the default order. An E&P-first election reverses the first two layers.
  • Whole topic: Classify every transaction, decide status and timing, then carry AAA, E&P, stock basis, debt basis, and built-in gain into the next decision.

Unlock the full lesson and continue reading

Signup to continue reading this lesson and unlimited access questions, flashcards, AI notes, and more

Scan to download app

Scan to download
UNLOCK FREE ACCESS

Practice Questions: Tax planning for S corporations

  1. 1. In 2025, Pine Corp., a C corporation, makes a nonliquidating distribution of land to its sole shareholder. The land has a $50,000 adjusted tax basis and a $90,000 fair market value and is not subject to a liability. Pine has sufficient earnings and profits for the entire distribution. What are Pine's recognized gain and the shareholder's basis in the land?

    • A. $0 gain and a $50,000 basis
    • B. $0 gain and a $90,000 basis
    • C. $40,000 gain and a $50,000 basis
    • D. $40,000 gain and a $90,000 basis
    Show answer

    Answer: D. $40,000 gain and a $90,000 basis

    $40,000 gain and a $90,000 basis - Pine recognizes $40,000 gain because a C corporation treats a nonliquidating distribution of appreciated property as a sale at fair market value: $90,000 − $50,000. - The shareholder takes a $90,000 basis, the land’s fair market value when distributed. $0 gain and a $50,000 basis - The $0 gain incorrectly treats Pine’s distribution of appreciated land as an entity-level nonrecognition event. - The $50,000 basis incorrectly carries over Pine’s adjusted basis rather than using the land’s $90,000 fair market value. $0 gain and a $90,000 basis - The $0 gain omits Pine’s required $40,000 gain on the appreciated land. - The $90,000 shareholder basis correctly uses the land’s fair market value, not Pine’s basis. $40,000 gain and a $50,000 basis - The $40,000 gain correctly subtracts Pine’s $50,000 basis from the land’s $90,000 fair market value. - The $50,000 shareholder basis incorrectly carries over Pine’s basis; the shareholder’s basis is $90,000.

  2. 2. During 2025, an S corporation pays $12,000 of health insurance premiums under a corporate plan for a shareholder-employee who owns 40% of its stock. The shareholder is not eligible to participate in any other subsidized health plan. Which treatment is appropriate for the premiums?

    • A. The corporation excludes the premiums from wages, and the shareholder claims no deduction.
    • B. The corporation includes the premiums in income-tax wages, and the shareholder claims an above-the-line deduction.
    • C. The corporation treats the premiums as a distribution, and the shareholder reduces stock basis.
    • D. The corporation includes the premiums in Social Security wages, and the shareholder claims an itemized deduction.
    Show answer

    Answer: B. The corporation includes the premiums in income-tax wages, and the shareholder claims an above-the-line deduction.

    The corporation includes the premiums in income-tax wages, and the shareholder claims an above-the-line deduction. - Because the employee owns 40%, the corporation includes the $12,000 of premiums in the shareholder’s Form W-2 income-tax wages. - The corporate plan and lack of eligibility for another subsidized health plan allow the shareholder to claim the above-the-line self-employed health insurance deduction. The corporation excludes the premiums from wages, and the shareholder claims no deduction. - The more-than-2% shareholder rule requires the $12,000 to be included in income-tax wages. - The shareholder can claim the self-employed health insurance deduction because the stated plan and eligibility requirements are met. The corporation treats the premiums as a distribution, and the shareholder reduces stock basis. - Premiums paid under the corporate health plan for this shareholder-employee are treated as compensation, not a distribution. - Consequently, the $12,000 does not reduce stock basis as a distribution. The corporation includes the premiums in Social Security wages, and the shareholder claims an itemized deduction. - These premiums are generally excluded from Social Security wages, even though they are included in income-tax wages. - The qualifying deduction is above the line, not an itemized medical-expense deduction.

  3. 3. During 2025, an S corporation pays $12,000 of health insurance premiums for its 30% shareholder-employee. The plan is established by the corporation, the premiums are reported as wages on the shareholder's Form W-2, and the shareholder has sufficient earned income and no subsidized coverage from another employer. Which treatment is correct?

    • A. The corporation deducts the premiums, and the shareholder excludes them from gross income.
    • B. The corporation capitalizes the premiums, and the shareholder claims an itemized medical deduction.
    • C. The corporation deducts the premiums, and the shareholder receives no deduction after wage inclusion.
    • D. The corporation deducts the premiums, and the shareholder claims a self-employed health insurance deduction.
    Show answer

    Answer: D. The corporation deducts the premiums, and the shareholder claims a self-employed health insurance deduction.

    The corporation deducts the premiums, and the shareholder claims a self-employed health insurance deduction. - As a 30% shareholder-employee, the shareholder has the $12,000 of corporation-paid premiums included in Form W-2 wages, and the corporation deducts them as compensation. - Because the corporation established the plan and the shareholder has sufficient earned income and no disqualifying subsidized coverage, the shareholder can claim the self-employed health insurance deduction. The corporation deducts the premiums, and the shareholder excludes them from gross income. - The corporate deduction is correct, but a more-than-2% S corporation shareholder cannot exclude these premiums from gross income as an ordinary employee health benefit. - Their inclusion in the shareholder’s Form W-2 wages does not prevent the separate self-employed health insurance deduction. The corporation capitalizes the premiums, and the shareholder claims an itemized medical deduction. - The corporation generally deducts the $12,000 as compensation rather than capitalizing the premiums. - The shareholder qualifies for the self-employed health insurance deduction, rather than relying on an itemized medical deduction. The corporation deducts the premiums, and the shareholder receives no deduction after wage inclusion. - The corporation’s compensation deduction is correct, and the $12,000 is included in the shareholder’s Form W-2 wages. - Wage inclusion does not eliminate the shareholder’s deduction: the established plan, sufficient earned income, and absence of disqualifying coverage support it.

  4. 4. A calendar-year C corporation is wholly owned by an individual who performs substantial services for the corporation. During 2025, the corporation is considering paying the owner either a $70,000 reasonable salary or a $70,000 dividend. Which statement correctly describes the federal income tax treatment?

    • A. The salary is deductible by the corporation and taxable to the owner, while the dividend is nondeductible by the corporation and taxable to the owner.
    • B. The salary and dividend are both deductible by the corporation and taxable to the owner.
    • C. The salary and dividend are both nondeductible by the corporation and taxable to the owner.
    • D. The salary is nondeductible by the corporation, while the dividend is deductible if paid from current earnings and profits.
    Show answer

    Answer: A. The salary is deductible by the corporation and taxable to the owner, while the dividend is nondeductible by the corporation and taxable to the owner.

    The salary is deductible by the corporation and taxable to the owner, while the dividend is nondeductible by the corporation and taxable to the owner. - The $70,000 reasonable salary is deductible by the C corporation as compensation for the owner’s substantial services and taxable to the owner as wages. - A $70,000 dividend is not deductible by the corporation and is taxable to the owner as dividend income. The salary and dividend are both deductible by the corporation and taxable to the owner. - This incorrectly treats the dividend as a deductible business expense; distributing earnings to a shareholder does not give the corporation a deduction. - Both payments are taxable to the owner, but only the reasonable salary reduces the corporation’s taxable income. The salary and dividend are both nondeductible by the corporation and taxable to the owner. - This incorrectly denies the deduction for reasonable compensation paid for the owner’s substantial services. - The dividend is nondeductible and taxable to the owner, but the salary is deductible by the corporation. The salary is nondeductible by the corporation, while the dividend is deductible if paid from current earnings and profits. - The owner’s reasonable salary is deductible as compensation for services, contrary to this statement. - Paying a dividend from current earnings and profits does not make it deductible by the corporation.

  5. 5. In 2025, Rowan purchases a 30% interest in Cedar Partnership from an existing partner. Cedar has no election in effect to adjust partnership property following a transfer of an interest. Which statement correctly describes an election Cedar may make for 2025?

    • A. Cedar may elect with its timely filed return to adjust the basis of partnership property solely with respect to Rowan.
    • B. Cedar must adjust the basis of partnership property for all partners because more than 20% of an interest was transferred.
    • C. Rowan may make an individual election that adjusts the basis of the selling partner's remaining partnership property.
    • D. Cedar may elect to adjust the common basis of partnership property equally for every continuing partner.
    Show answer

    Answer: A. Cedar may elect with its timely filed return to adjust the basis of partnership property solely with respect to Rowan.

    Cedar may elect with its timely filed return to adjust the basis of partnership property solely with respect to Rowan. - Cedar may make a Section 754 election with its timely filed 2025 return after Rowan purchases the partnership interest. - The resulting Section 743(b) adjustment applies only to Rowan, the transferee, rather than changing Cedar’s common basis in its property. Cedar must adjust the basis of partnership property for all partners because more than 20% of an interest was transferred. - Rowan’s purchase of a 30% interest does not make a basis adjustment mandatory merely because it exceeds 20%. - An elected Section 743(b) adjustment is specific to Rowan, not an adjustment for all partners. Rowan may make an individual election that adjusts the basis of the selling partner's remaining partnership property. - Cedar, not Rowan individually, makes the Section 754 election on the partnership return. - The resulting adjustment applies to Rowan’s interest in Cedar’s property, not to property associated with the selling partner. Cedar may elect to adjust the common basis of partnership property equally for every continuing partner. - A transfer-related Section 743(b) adjustment does not change Cedar’s common basis in partnership property. - It is allocated specifically to Rowan, rather than equally among the continuing partners.

  6. 6. A calendar-year C corporation using the LIFO inventory method makes a valid S corporation election effective January 1, 2026. At December 31, 2025, inventory has a FIFO value of $500,000 and a LIFO value of $380,000. Assuming a 21% corporate tax rate, what income and first tax installment result from the conversion?

    • A. LIFO recapture income of $120,000 and a first tax installment of $6,300
    • B. LIFO recapture income of $120,000 and a first tax installment of $25,200
    • C. LIFO recapture income of $25,200 and a first tax installment of $6,300
    • D. LIFO recapture income of $0 and a first tax installment of $0
    Show answer

    Answer: A. LIFO recapture income of $120,000 and a first tax installment of $6,300

    LIFO recapture income of $120,000 and a first tax installment of $6,300 - The corporation includes the $120,000 LIFO recapture ($500,000 FIFO value − $380,000 LIFO value) in its final C corporation year, 2025. - At 21%, the resulting $25,200 tax is payable in four equal installments, so the first is $6,300 ($25,200 ÷ 4). LIFO recapture income of $120,000 and a first tax installment of $25,200 - The $120,000 recapture income is correct because FIFO value exceeds LIFO value by that amount. - $25,200 is the total tax ($120,000 × 21%), not the first installment; dividing it by four gives $6,300. LIFO recapture income of $25,200 and a first tax installment of $6,300 - $25,200 results from applying the 21% tax rate to $120,000, so it is tax rather than recapture income. - The $6,300 installment is correct because it is one-fourth of the tax on the actual $120,000 recapture. LIFO recapture income of $0 and a first tax installment of $0 - Zero recapture incorrectly ignores the $120,000 excess of FIFO value over LIFO value when the LIFO corporation converts to S status. - Because that recapture produces $25,200 of tax, the first of four equal installments is $6,300, not zero.

Flashcards: Tax planning for S corporations

  1. 1. What tax form is typically used to report income for an S Corporation?

    Show answer

    Form 1120S. An S Corporation must file Form 1120S annually to report income, gains, losses, deductions, and credits, as well as to distribute Schedule K-1 to shareholders for their individual tax returns.

  2. 2. What ongoing requirements generally must an eligible domestic corporation satisfy to retain its S election?

    Show answer

    - Have only eligible shareholders, generally U.S. citizen or resident individuals, estates, certain trusts, and certain exempt organizations; nonresident aliens, partnerships, and corporations generally are ineligible. - Have no more than 100 shareholders, subject to statutory counting rules. - Have only one class of stock, although voting-right differences are permitted. - Not be an ineligible corporation, such as certain financial institutions, insurance companies, or DISC corporations. - Generally use a calendar tax year unless an allowed fiscal-year exception applies.

  3. 3. How does an eligible corporation generally elect S corporation status for a calendar tax year?

    Show answer

    It files Form 2553 by the 15th day of the third month of the tax year—generally March 15 for a calendar-year corporation—with the required consent of the shareholders.

Everything you need for CPA prep

Get full Oncourse access with lessons, practice questions, flashcards and AI study tools.

GET STARTED FOR FREE
75% OFFLimited time offer
GET 75% OFF