S-Corp Distributions, AAA, OAA, and the IRC 1368 Ordering Rules: Practitioner Guide
Key Points
- Two regimes. S-corps without AEP use IRC 1368(b): distributions are first a return of stock basis (tax-free), then capital gain. S-corps with AEP use the more complex IRC 1368(c) ordering.
- IRC 1368(c) ordering (AEP present): (1) from AAA (generally tax-free to extent of basis), (2) from AEP (dividend income, ordinary or qualified), (3) return of remaining stock basis (tax-free), (4) capital gain on excess.
- AAA (Accumulated Adjustments Account, IRC 1368(e)(1)): entity-level account; can be negative; does NOT include tax-exempt income (which flows to the OAA instead).
- OAA (Other Adjustments Account, Treas. Reg. 1.1368-2(a)(3)(iii)): tracks tax-exempt income and related non-deductible expenses; distributions from OAA are generally tax-free to extent of basis.
- OBBBA QPP expensing (IRC 168(n)): large immediate deductions flow through S-corp, reduce shareholder stock basis, and reduce AAA; AAA may go negative in years with heavy qualifying property acquisitions. Verify specific rules against enacted OBBBA and IRS.gov.
- AAA bypass election (IRC 1368(e)(3)): S-corp and all shareholders may elect to distribute AEP before AAA; irrevocable for the year; made on a timely filed return.
- All amounts and specific ordering mechanics: hedge to IRS.gov, IRC 1368, and applicable Treasury regulations.
Section 1: Two Regimes -- S-Corps With and Without AEP
The threshold question for every S-corp distribution analysis is whether the corporation has accumulated earnings and profits (AEP) attributable to C-corporation years. The answer determines which statutory regime governs the character of distributions to shareholders.
Pure S-Corps (No AEP, No Prior C-Corp History): IRC 1368(b)
For an S-corporation that has never been a C-corporation and has not acquired C-corporation assets in a carryover-basis transaction, IRC 1368(b) applies. The ordering is straightforward:
- Return of stock basis (tax-free): Distributions are first treated as a return of the shareholder's adjusted stock basis. To the extent the distribution does not exceed stock basis, it is received tax-free, and the shareholder's stock basis is reduced by the distribution amount.
- Capital gain: Any distribution in excess of the shareholder's stock basis is treated as gain from the sale or exchange of stock (generally capital gain).
Note that the AAA does not formally constrain the tax-free character of distributions under IRC 1368(b). The shareholder's stock basis is the controlling limit. However, practitioners should still track the AAA and OAA for recordkeeping purposes, even for pure S-corps, in the event that AEP arises later (for example, through a restructuring or acquisition). Cite IRC 1368(b) when advising on distributions from a no-AEP S-corp.
S-Corps With AEP (Former C-Corps or Carryover-Basis Acquisitions): IRC 1368(c)
For S-corporations that have AEP, the more complex IRC 1368(c) regime applies. The AAA and OAA must be maintained and updated, and distributions are sourced in the four-step IRC 1368(c) ordering sequence (detailed in Section 3). A single dollar of AEP triggers the full IRC 1368(c) regime for that year.
How AEP Arises in an S-Corporation
Practitioners should check for AEP in each of the following fact patterns:
- Prior C-corporation history: The S-corporation was formerly a C-corporation (or a predecessor was a C-corporation). AEP from the C-corporation years carries over to the S-corporation and remains until distributed or otherwise eliminated.
- Carryover-basis acquisitions: The S-corporation acquired the assets or stock of a C-corporation in a transaction that preserves the C-corp's tax attributes (for example, a reorganization under IRC 368 or a Section 338(h)(10) election). In these cases, the C-corporation's AEP is inherited by the S-corporation.
- Dividends from C-corp subsidiaries: If the S-corporation received a dividend from a C-corporation subsidiary with undistributed earnings and profits, that dividend may have added to the S-corp's AEP balance (depending on the applicable rules).
Section 2: The AAA -- What It Is and How It Works
Statutory Definition (IRC 1368(e)(1))
The Accumulated Adjustments Account (AAA) is an entity-level account maintained by the S-corporation. It represents a running cumulative balance of S-corporation income and deductible items since the later of: (a) the date of the S-corporation election, or (b) January 1, 1983. The AAA is maintained on the S-corp's books and reported on Schedule M-2 of Form 1120-S. Cite IRC 1368(e)(1) for the AAA definition.
What Increases the AAA
- Gross income items recognized by the S-corporation (taxable income items, including ordinary income and separately stated items such as capital gains and IRC 1231 gains).
- The excess of depletion deductions over the basis of the oil and gas property (a specific technical item).
- Note: tax-exempt income does NOT increase the AAA. Tax-exempt income (municipal bond interest, PPP loan forgiveness, life insurance proceeds, etc.) flows to the OAA instead (discussed in Section 4).
What Decreases the AAA
- Deductible losses and expenses (ordinary losses, separately stated deductions, and losses flowing through under IRC 1366).
- Non-deductible expenses of the corporation (except non-deductible expenses related to tax-exempt income, which reduce the OAA, not the AAA).
- Distributions made from the AAA in the IRC 1368(c) ordering (Step 1; see Section 3).
The AAA Can Go Negative
If cumulative losses and deductions exceed cumulative income items, the AAA balance will be negative. A negative AAA does NOT prevent future distributions from being sourced from the AAA once future income items restore the balance. Similarly, a negative AAA does not bar shareholders from receiving distributions; it simply means that under the IRC 1368(c) ordering, the first layer (AAA) is exhausted, and distributions pass more quickly to the AEP layer. The AAA can recover as future taxable income items are posted to the account.
OBBBA Bonus Depreciation and QPP Expensing: AAA Impact
The One Big Beautiful Budget Act (OBBBA) introduced Qualified Production Property (QPP) expensing under IRC 168(n), allowing 100% immediate expensing of qualifying manufacturing and production property placed in service after the OBBBA enactment date. For S-corporations:
- The QPP expensing deduction (and traditional bonus depreciation under IRC 168(k), and IRC 179 expensing) flows through to shareholders as a current-year loss item under IRC 1366.
- This large current-year deduction reduces both the shareholder's stock basis (under IRC 1367) and the S-corp's AAA balance in the year the property is placed in service.
- In years with significant qualifying property acquisitions, the AAA may swing materially negative. This can affect the character of distributions made in that same year.
- The AAA can recover in subsequent years as taxable income items are posted. A negative AAA alone does not create a taxable event for shareholders.
For S-corps evaluating the interaction of OBBBA QPP expensing with distribution planning, also consider cross-referencing our IRC 163(j) business interest limitation and OBBBA practitioner guide, as OBBBA also modified the adjusted taxable income (ATI) calculation relevant to S-corporation shareholders. All OBBBA QPP-specific expensing amounts, effective dates, and property qualification rules should be verified against enacted OBBBA text, IRC 168(n), and current IRS.gov guidance.
Section 3: The IRC 1368(c) Ordering Rules -- S-Corps With AEP
For S-corporations with accumulated earnings and profits (AEP), IRC 1368(c) establishes a four-step ordering sequence. Each dollar of a distribution is characterized by working through the steps in order. Cite IRC 1368(c) for all sourcing mechanics.
| Step | Source | Tax treatment to shareholder | Effect on stock basis |
|---|---|---|---|
| 1AAA | Accumulated Adjustments Account | Generally tax-free to the extent of the shareholder's stock basis (IRC 1368(c)(1)) | Reduces stock basis |
| 2AEP | Accumulated Earnings and Profits | Taxable dividend: ordinary income (or qualified dividend rates under IRC 1(h)(11) if the dividend qualifies); see IRC 1368(c)(2) | Does NOT reduce stock basis |
| 3Basis | Return of remaining stock basis | Tax-free to extent of remaining stock basis | Reduces stock basis to zero |
| 4Gain | Excess over stock basis | Capital gain (treated as gain from sale or exchange of stock) | Basis already at zero |
Step 1: Distributions From the AAA
The first dollars of any distribution from an S-corp with AEP are sourced from the AAA. The AAA is reduced by the distribution amount (but not below zero for purposes of computing the AEP layer; the technical mechanics of how the AAA is reduced and the floor, if any, should be verified against the applicable Treasury regulations). To the shareholder, AAA distributions are generally tax-free to the extent of the shareholder's adjusted stock basis and reduce stock basis accordingly (IRC 1367(a)(2)(A)).
If the AAA balance is zero or negative before any distribution is made, there is nothing to source from the AAA, and the distribution moves immediately to Step 2 (AEP).
Step 2: Distributions From AEP (Dividend Income)
Once the AAA is exhausted, distributions are sourced from the S-corp's AEP balance. Under IRC 1368(c)(2), these distributions are treated as dividends under IRC 301. They are includible in the shareholder's gross income as ordinary income. If the dividend qualifies as a "qualified dividend" under IRC 1(h)(11) (generally requiring the shareholder to meet the holding-period requirements and the distributing corporation's stock to meet the applicable requirements), the distribution may be taxed at reduced qualified dividend rates.
A critical distinction: AEP distributions do NOT reduce the shareholder's stock basis. This is different from both AAA distributions (Step 1) and return-of-basis distributions (Step 3), which do reduce stock basis. Whether a particular AEP distribution qualifies for qualified dividend rates should be verified against IRC 1(h)(11) and current IRS.gov guidance.
Step 3: Return of Remaining Stock Basis
After the AAA and AEP are both exhausted, any remaining distribution is applied against the shareholder's remaining stock basis. This portion is received tax-free. Stock basis is reduced to zero.
Step 4: Capital Gain
Any distribution in excess of all prior layers (AAA, AEP, and remaining stock basis) is treated as gain from the sale or exchange of the shareholder's stock. This gain is generally capital gain (long-term if the shareholder has held the stock for more than one year).
The AAA Bypass Election (IRC 1368(e)(3))
An S-corporation and ALL of its shareholders may elect, under IRC 1368(e)(3), to treat distributions as made from AEP first rather than from the AAA. This "AAA bypass election" effectively reverses Steps 1 and 2 in the ordering above: distributions are sourced from AEP (dividend treatment) before the AAA is tapped.
Situations where the bypass election may be considered include:
- Cleaning up AEP: The S-corp wants to eliminate its AEP balance so that all future distributions fall under the simpler IRC 1368(b) regime (no dividend risk). Bypassing the AAA and distributing AEP first accelerates the AEP elimination.
- Corporate restructuring: Certain restructuring transactions may benefit from distributing AEP in a controlled way before a conversion or reorganization.
- Shareholder tax planning: In years where shareholders have significant tax losses or other offsets, the dividend income from AEP distributions may be sheltered, making the bypass election tax-neutral or beneficial.
The bypass election is made on a timely filed (including extensions) Form 1120-S return. It is irrevocable for the year in which it is made. Unanimous shareholder consent is required. All mechanics, requirements, and consequences of the bypass election should be verified against IRC 1368(e)(3) and the applicable Treasury regulations before advising clients to make or forgo this election.
Section 4: The OAA -- Other Adjustments Account and Tax-Exempt Income
What the OAA Is and Why It Exists
The Other Adjustments Account (OAA) is a separate entity-level account maintained by the S-corporation alongside the AAA. Its purpose is to track items that affect the shareholder's stock basis but are excluded from the AAA definition. The primary items are tax-exempt income items received by the S-corporation. The OAA is governed by Treas. Reg. 1.1368-2(a)(3)(iii).
What Increases the OAA
- Tax-exempt income items (federal and state tax-exempt interest on municipal bonds, life insurance proceeds, PPP loan forgiveness, and other items excluded from gross income that nonetheless increase shareholder basis under IRC 1367).
- Other items specifically excluded from the AAA by statute or regulation that are not already accounted for in the AAA.
What Decreases the OAA
- Non-deductible expenses related to or allocable to tax-exempt income (for example, investment expenses related to tax-exempt bond income; expenses attributable to excluded life insurance proceeds).
Distribution Treatment: OAA Sourcing
Distributions sourced from the OAA are generally treated as tax-free to the shareholder to the extent of the shareholder's remaining stock basis. OAA distributions do not create dividend income. The precise placement of OAA distributions within the IRC 1368(c) ordering sequence (for example, whether OAA distributions come before or after AEP distributions) involves technical nuances in the Treasury regulations. Hedge the exact OAA placement in the ordering sequence to Treas. Reg. 1.1368-2(a)(3)(iii) and the applicable Treasury regulations before relying on a specific ordering position for the OAA.
Practical Importance of the OAA
The OAA is less frequently encountered than the AAA, but it becomes significant in the following situations:
- Municipal bond interest: An S-corporation that invests in or holds municipal bonds and receives tax-exempt interest income will have OAA increases each year.
- PPP loan forgiveness (2020-2021): S-corporations that received Paycheck Protection Program loan forgiveness (treated as tax-exempt income under the CARES Act and subsequent legislation) recognized OAA increases in 2020 and 2021. Those S-corps may still carry OAA balances that affect distribution ordering today. Verify against applicable IRS guidance on PPP forgiveness tax treatment.
- Life insurance proceeds: S-corporations that received key-man life insurance proceeds (excluded from income under IRC 101) may have significant OAA balances.
Section 5: Stock Basis Ordering and Interaction With Distributions
IRC 1366 Pass-Through and Basis Framework
S-corporation income, loss, deductions, and credits flow through to shareholders under IRC 1366 on a pro-rata, per-share, per-day basis. The flow-through items affect the shareholder's adjusted stock basis under IRC 1367:
- Income items (including tax-exempt income) increase stock basis (IRC 1367(a)(1)).
- Distributions reduce stock basis (IRC 1367(a)(2)(A)), but not below zero.
- Loss and deduction items reduce stock basis (IRC 1367(a)(2)(B) and (C)), but not below zero.
- Non-deductible, non-capital expenses reduce stock basis, but only after losses have reduced basis to zero (technical ordering applies; see Treas. Reg. 1.1367-1(f)).
For basis tracking tools and a detailed explanation of Form 7203 requirements, see our S-corp and partnership basis tracking and Form 7203 practitioner guide, which covers the mechanics of computing and documenting stock basis for S-corp shareholders.
The Critical Ordering Rule: Income Before Losses (Treas. Reg. 1.1367-1(f))
Within a single tax year, the order in which basis adjustments are applied matters for determining the tax character of distributions made in that same year. Under Treas. Reg. 1.1367-1(f), the ordering of stock basis adjustments is:
- Increase basis for income items (taxable and tax-exempt) recognized in the current year.
- Decrease basis for distributions made during the year (after income items have been applied).
- Decrease basis for loss and deduction items (ordinary losses, separately stated deductions, etc.).
- Decrease basis for non-deductible, non-capital expenses and the depletion deduction (technical items).
The income-first ordering (Step 1 before Step 3) is critical in years when a distribution might otherwise reduce basis below zero. If the same-year income increases basis before the distribution is applied, the distribution may be received entirely tax-free even if the prior-year ending basis was low. This ordering can prevent unexpected capital gain recognition on distributions in years when the S-corp has both income and a distribution. Hedge all basis-ordering mechanics to Treas. Reg. 1.1367-1(f) and IRC 1367.
Stock Basis Floor: Zero, Not Negative
Stock basis cannot go below zero (IRC 1367(a)(2)). Distributions in excess of stock basis are capital gain under IRC 1368(b)(2) (for no-AEP S-corps) or under Step 4 of the IRC 1368(c) ordering (for AEP S-corps). This applies even if the shareholder has large unrecognized losses that have been suspended under the basis limitation rules.
Debt Basis: Loss Protection Only, Not Distribution Protection
S-corp shareholders may also have debt basis (established by direct loans the shareholder has made to the S-corporation, not by guarantees). Debt basis is relevant for the basis-limitation rules on loss deductions under IRC 1366(d): once stock basis is exhausted, losses may be deducted against debt basis (subject to the at-risk and passive activity limitations under IRC 465 and IRC 469).
However, debt basis does NOT protect distributions from capital gain recognition. Only stock basis determines whether a distribution is tax-free or triggers capital gain. A shareholder with zero stock basis but significant debt basis will recognize capital gain on a distribution even if the overall economic position is one of net investment in the corporation. Hedge all debt basis mechanics and their interaction with the distribution rules to IRC 1366(d), IRC 1367, and the applicable Treasury regulations.
Passive Activity Losses and Related Limitations
Losses allocated to S-corp shareholders under IRC 1366 may be further limited by:
- At-risk limitation (IRC 465): Losses deductible only to the extent the shareholder is "at risk" in the activity.
- Passive activity limitation (IRC 469): Losses from passive activities (activities in which the shareholder does not materially participate) are deductible only against passive activity income.
- Basis limitation (IRC 1366(d)): Losses deductible only to the extent of the shareholder's adjusted stock basis and debt basis combined.
These limitations interact with the IRC 1368 distribution ordering rules in complex ways. For example, a shareholder with suspended losses under IRC 469 still has the distribution character determined by the IRC 1368 ordering rules; the suspended losses do not convert a dividend distribution into a tax-free distribution. Hedge all specifics of the interaction between IRC 465, IRC 469, IRC 1366(d), and the distribution ordering rules to the applicable IRC provisions and IRS.gov.
Per-Share, Per-Day Allocation and the One-Class-of-Stock Rule
An S-corporation may have only one class of stock (IRC 1361(b)(1)(D)). All outstanding shares must carry identical rights to distributions and liquidation proceeds. Distributions must be made pro-rata to all shareholders based on shares outstanding and days of ownership during the year (the per-share, per-day allocation rule under IRC 1377(a)).
Distributions that are not made pro-rata to all shareholders may be recharacterized as constructive distributions to the shareholders who did not receive their pro-rata share, followed by a deemed contribution of the excess amount back to the S-corp. Such recharacterization can have significant adverse tax consequences. The treatment of non-pro-rata distributions should be confirmed against the applicable Treasury regulations and current IRS guidance before implementing any distribution plan that departs from strict pro-rata.
Frequently Asked Questions
The tax treatment depends on whether the S-corp has accumulated earnings and profits (AEP) from C-corp years. For S-corps without AEP, distributions are first a return of the shareholder's stock basis (tax-free), then capital gain (IRC 1368(b)). For S-corps with AEP, the IRC 1368(c) ordering applies: first from the AAA (generally tax-free to extent of basis), then from AEP (dividend income, ordinary or qualified), then return of remaining stock basis (tax-free), then capital gain on any excess. Knowing whether the S-corp has AEP is the starting point for any distribution analysis.
The AAA (governed by IRC 1368(e)(1)) is an entity-level account that tracks cumulative S-corp taxable income and deductible items since the S election date (or January 1, 1983, whichever is later). For S-corps with AEP, distributions are first sourced from the AAA (generally tax-free to shareholders to the extent of their stock basis). The AAA can go negative due to cumulative losses exceeding cumulative income items. Large deductions from OBBBA QPP expensing and IRC 168(k) bonus depreciation flow through as current-year losses that reduce both shareholder stock basis and the S-corp's AAA balance. Tax-exempt income does NOT flow through the AAA; it goes to the OAA instead.
If the S-corp has AEP and the distribution exceeds the current AAA balance (or if the AAA is already zero or negative), the excess is sourced from AEP under the IRC 1368(c) ordering. That AEP-sourced amount is taxable as a dividend (ordinary income, or qualified dividend rates if applicable under IRC 1(h)(11)). After AEP is exhausted, any remaining distribution is applied against the shareholder's remaining stock basis (tax-free), and any excess over stock basis is capital gain. If the S-corp has no AEP, distributions are simply compared to the shareholder's stock basis under IRC 1368(b): anything exceeding basis is capital gain, with no AEP dividend layer.
The AAA bypass election (IRC 1368(e)(3)) allows an S-corp and all of its shareholders to elect to treat distributions as made from AEP first, bypassing the AAA layer. This can be useful when the S-corp wants to eliminate its AEP balance (converting future distributions to the simpler IRC 1368(b) regime), or in certain corporate restructuring situations. The election requires unanimous shareholder consent, is made on a timely filed Form 1120-S, and is irrevocable for the year in which it is made. All mechanics, requirements, and consequences of the bypass election should be verified against IRC 1368(e)(3) and the applicable Treasury regulations before advising clients.
Under OBBBA's IRC 168(n) Qualified Production Property immediate expensing provision, S-corporations can deduct 100% of the cost of qualifying manufacturing and production property in the year it is placed in service. This large current-year deduction flows through to shareholders as a loss item (reducing their stock basis under IRC 1367) and simultaneously reduces the S-corp's AAA balance. In years with significant QPP expensing, the AAA may become substantially negative. A negative AAA does not trigger a taxable event by itself; it can be rebuilt as future taxable income items are posted to the AAA. Distributions in a year when the AAA is negative will pass directly to the AEP layer (if AEP exists) under the IRC 1368(c) ordering. All OBBBA QPP-specific amounts, property qualification criteria, and effective dates should be verified against enacted OBBBA text, IRC 168(n), and current IRS.gov guidance.
The OAA (Other Adjustments Account), governed by Treas. Reg. 1.1368-2(a)(3)(iii), tracks tax-exempt income items that increase a shareholder's stock basis but are excluded from the AAA definition. Common items that flow into the OAA include tax-exempt interest on municipal bonds, PPP loan forgiveness (treated as tax-exempt income in 2020 and 2021), and life insurance proceeds excluded from income under IRC 101. Non-deductible expenses attributable to tax-exempt income decrease the OAA. Distributions sourced from the OAA are generally tax-free to the extent of the shareholder's remaining stock basis. All OAA mechanics and the precise placement of OAA distributions in the IRC 1368(c) ordering should be verified against Treas. Reg. 1.1368-2(a)(3)(iii) and the applicable Treasury regulations.
No. An S-corporation may have only one class of stock (IRC 1361(b)(1)(D)). All outstanding shares must carry identical rights to distributions and liquidation proceeds. Distributions must be made pro-rata to all shareholders based on their shares outstanding and days of ownership during the year. Distributions that are not pro-rata can be recharacterized as constructive non-pro-rata distributions with adverse tax consequences for one or more shareholders, and in egregious cases may raise a second-class-of-stock concern that terminates the S-election. The treatment of any non-pro-rata distributions should be confirmed against the applicable Treasury regulations and current IRS guidance before implementing any distribution plan.
Disclaimer. This guide is published by Americas Tax for informational purposes only and is intended for enrolled agents, CPAs, tax attorneys, and other tax professionals. It does not constitute legal advice, tax advice, or a formal legal opinion. Tax law is complex and fact-specific; the rules described in this guide are subject to change through legislation, Treasury regulations, and IRS guidance. All references to OBBBA provisions (including IRC 168(n) QPP expensing) should be verified against the enacted statutory text and the most current IRS.gov guidance, as implementing regulations were still being developed as of the date of this publication. Practitioners should independently verify all cited authorities and consult the applicable Treasury regulations and IRS guidance before advising clients. Americas Tax does not guarantee the accuracy, completeness, or currency of this content. IRS Circular 230 disclosure: to the extent this guide contains tax advice, it was not written to be used, and it may not be used, by any taxpayer for the purpose of avoiding federal tax penalties.