When an S corporation distribution exceeds the Accumulated Adjustments Account, what happens next depends almost entirely on one thing: whether the corporation carries accumulated earnings and profits (AEP) from a prior C corporation life. With no AEP, the excess is a tax-free return of the shareholder’s stock basis until basis runs out, and anything beyond that is capital gain. With AEP, the excess runs through a mandatory sequence — AEP taxed as a dividend, then the Other Adjustments Account (OAA) tax-free, then remaining stock basis tax-free, then capital gain. Getting that order wrong is how a withdrawal that looked tax-free turns into a dividend, a capital gain, and a 20% accuracy penalty.
What “Exceeds the AAA” Means
The AAA is a corporate-level running tally of the S corporation’s cumulative net income that has already been taxed to shareholders through pass-through but hasn’t yet been distributed. Its job is to keep that previously taxed income from being taxed a second time when the cash finally goes out. Distributions sourced from the AAA come out tax-free to the extent of the shareholder’s stock basis.
Distributions cannot push the AAA below zero, but losses can. A corporation that has run several unprofitable years may have a negative AAA, and distributions made in that condition skip the AAA entirely in the ordering rules — every dollar is already “in excess of AAA” from the first dollar out.
A separate corporate account, the OAA, holds tax-exempt income earned during S years (municipal bond interest is the common example) and the expenses tied to earning it. The OAA matters only when AEP is in play, and it slots into the ordering after AEP.
Two Paths: With AEP and Without
If the corporation has always been an S corporation, there is no AEP. The ordering collapses to two steps. A distribution is a tax-free return of capital to the extent of the shareholder’s stock basis, and anything beyond that is treated as gain from the sale of the stock. “Exceeds the AAA” and “exceeds basis” are not the same event — basis is a shareholder-level number that often differs from the corporate AAA — but once both are gone, the remainder is capital gain.
If the corporation was once a C corporation and still carries AEP, IRC Section 1368(c) imposes a mandatory tier order on every distribution.
The Ordering Rules When AEP Exists
- First, from the AAA: tax-free return of previously taxed income, reducing both the AAA and the shareholder’s stock basis.
- Second, from AEP: taxed to the shareholder as dividend income. AEP distributions do not reduce stock basis.
- Third, from the OAA: received tax-free because the underlying income was tax-exempt when earned.
- Fourth, from remaining stock basis: a tax-free return of capital, dollar-for-dollar.
- Fifth, anything left: treated as gain from the sale or exchange of the stock.
When total distributions during the year exceed the AAA balance, the AAA is spread proportionally across all distributions made that year. The corporation cannot assign all of the AAA to one shareholder’s distribution and none to another. If two equal distributions were made and the AAA covers only half the total, each gets half its amount sourced from AAA and half from the next tier.
The Dividend Tier: Rates, Qualification, and NIIT
The portion sourced from AEP is the only scenario in which an S corporation distribution carries dividend treatment. The AEP pool represents profits the company earned and paid corporate tax on during its C corporation years but never distributed. The corporation reports the amount on Form 1099-DIV, and the shareholder picks it up on Form 1040.1Internal Revenue Service. 1099 DIV Dividend Income
AEP distributions generally qualify for preferential qualified dividend rates. To qualify, the shareholder must have held the stock for more than 60 days during the 121-day period beginning 60 days before the ex-dividend date.2Office of the Law Revision Counsel. 26 USC 1 – Tax Imposed Long-tenured S corporation owners meet that easily.
Qualified dividend rates for 2026 mirror long-term capital gains:
- 0% on taxable income up to $49,450 (single), $98,900 (married filing jointly), or $66,200 (head of household).
- 15% above that threshold up to $545,500 (single), $613,700 (married filing jointly), or $579,600 (head of household).
- 20% above those levels.2Office of the Law Revision Counsel. 26 USC 1 – Tax Imposed
Shareholders above certain income thresholds also owe the 3.8% Net Investment Income Tax on AEP distributions. The NIIT applies to the lesser of net investment income or the amount by which modified adjusted gross income exceeds $250,000 (married filing jointly), $200,000 (single or head of household), or $125,000 (married filing separately).3Internal Revenue Service. Topic No. 559, Net Investment Income Tax AEP dividends count as investment income even if the shareholder materially participates in the business. Material participation shields operating income from the NIIT; it does not shield dividend income sourced from AEP. A 15% shareholder who also owes NIIT faces an 18.8% combined rate on the AEP portion.
Basis Recovery and Capital Gain
Once a distribution has moved through the AAA, AEP, and OAA tiers, it reaches the shareholder’s remaining stock basis. That tier is a tax-free return of capital, and stock basis drops dollar-for-dollar.4Office of the Law Revision Counsel. 26 USC 301 – Distributions of Property
If the distribution is large enough to drive basis to zero with money still left over, the excess is treated as gain from the sale or exchange of the stock. It is a capital gains event. The gain is long-term if the shareholder has held the stock for more than one year, which is almost always the case for S corporation owners.5Internal Revenue Service. Topic No. 409, Capital Gains and Losses Long-term capital gains carry the same 0%, 15%, or 20% rates as qualified dividends.2Office of the Law Revision Counsel. 26 USC 1 – Tax Imposed Short-term gain, if the holding period hasn’t been met, is taxed at ordinary income rates. Capital gain triggered when distributions exceed basis is also subject to the NIIT, which can push the effective rate to 18.8% or 23.8%.
A Worked Example
An S corporation with a C corporation history distributes $100,000 to a shareholder. The corporation’s AAA is $60,000, its AEP is $20,000, and the shareholder’s stock basis before the distribution is $75,000.
- The first $60,000 comes from the AAA. Tax-free. Stock basis drops from $75,000 to $15,000.
- The next $20,000 comes from AEP. Taxed as a qualified dividend. Stock basis is unchanged.
- Of the remaining $20,000, the first $15,000 is a tax-free return of the shareholder’s remaining basis, bringing basis to zero.
- The final $5,000 is capital gain.
The shareholder owes dividend tax on $20,000 and capital gains tax on $5,000. The other $75,000 moved tax-free.
How a Large Distribution Can Wipe Out Loss Deductions
Stock basis is adjusted each year in a fixed sequence: first increased for income, then decreased for distributions, then decreased for non-deductible expenses, and finally decreased for the shareholder’s share of losses and deductions.6Internal Revenue Service. S Corporation Stock and Debt Basis Distributions come off basis before losses do.
That ordering has a sharp consequence when a distribution exceeds AAA in a year the corporation also generates losses. The distribution can consume the basis the shareholder would otherwise have needed to deduct current-year losses. A shareholder cannot deduct S corporation losses that exceed the sum of stock basis and basis in direct loans to the corporation.7Office of the Law Revision Counsel. 26 USC 1366 – Pass-Thru of Items to Shareholders
Suspended losses carry forward indefinitely and become deductible in a future year when the shareholder restores basis through contributions, loans, or pass-through income. They keep their original character in the year they are finally allowed.7Office of the Law Revision Counsel. 26 USC 1366 – Pass-Thru of Items to Shareholders But a shareholder who disposes of all their stock while still carrying suspended losses loses them for good; they cannot be deducted and do not transfer to the buyer.6Internal Revenue Service. S Corporation Stock and Debt Basis
Elections That Clear AEP Out of the Way
Carrying AEP forces the multi-tier ordering, creates potential dividend income on every excess distribution, and exposes the corporation to the excess passive investment income tax under IRC Section 1375 when passive income exceeds 25% of gross receipts. Two elections exist to deal with it.
AEP-First Election
Under IRC Section 1368(e)(3), an S corporation can reverse the ordering and distribute AEP before AAA for a given year. Shareholders volunteer for dividend treatment to clear out the AEP permanently, often in a year when they are in low tax brackets, or to escape the passive investment income trap. The election is made by attaching a statement to a timely filed Form 1120-S (including extensions) identifying the election and confirming each affected shareholder’s consent.8GovInfo. 26 CFR 1.1368-1 – Distributions by S Corporations It applies for that tax year only.
Deemed Dividend Election
Treasury Regulation Section 1.1368-1(f)(3) allows the corporation to eliminate some or all of its AEP without actually moving cash or property. The corporation is treated as distributing the elected amount to shareholders in proportion to ownership on the last day of the tax year, and the shareholders are treated as immediately contributing it back. The amount cannot exceed remaining AEP on the last day of the year, reduced by any actual AEP distributions during the year. Making this election automatically triggers the AEP-first election. Each shareholder must consent, and the corporation must attach a statement to its timely filed return specifying each shareholder’s allocation.8GovInfo. 26 CFR 1.1368-1 – Distributions by S Corporations The deemed dividend is taxable to the shareholders even though no cash changes hands — one tax hit, and the AEP problem is gone going forward.
Reporting the Characterization
The corporation communicates the tax character of each distribution to shareholders on Schedule K-1 (Form 1120-S), separately identifying amounts sourced from AAA, AEP, and other categories. AEP distributions also appear on Form 1099-DIV.1Internal Revenue Service. 1099 DIV Dividend Income The corporation tracks AAA, AEP, and OAA on Schedule M-2 of Form 1120-S.9Internal Revenue Service. Instructions for Form 1120-S (2025) – Section: Schedule M-2
Shareholders track their own stock and debt basis on Form 7203. Filing is required whenever a shareholder receives a non-dividend distribution, claims a deduction for a share of a loss, disposes of S corporation stock, or receives a loan repayment from the corporation.10Internal Revenue Service. Instructions for Form 7203 A distribution that exceeds AAA almost always triggers a Form 7203 filing because the shareholder is now consuming basis or reporting gain.
Penalties for Getting It Wrong
Treating an AEP dividend as a tax-free AAA distribution, or ignoring capital gain after basis has been exhausted, produces an underpayment of tax. The IRS imposes a 20% accuracy-related penalty on the portion of any underpayment attributable to negligence or a substantial understatement. For individuals, a substantial understatement exists when the understated amount exceeds the greater of 10% of the tax that should have been reported or $5,000.11Internal Revenue Service. Accuracy-Related Penalty
A shareholder who treats a $50,000 AEP distribution as tax-free and is later audited owes the dividend tax, 20% of the underpayment, and interest running from the original due date. Estimated tax penalties can apply if quarterly payments weren’t adjusted. The combination is substantial, and it is avoidable with accurate AAA, AEP, and OAA tracking at the corporate level and honest basis calculations on Form 7203 at the shareholder level.