IRC Section 1368: S-Corp Distributions With and Without AE&P

S-corporation distribution ordering rules turn on one threshold question under Internal Revenue Code Section 1368: does the corporation carry accumulated earnings and profits (AE&P) from prior C-corporation years or an acquired company? If it doesn’t, distributions follow a clean two-step order: tax-free to the extent of your stock basis, then capital gain on any excess. If it does, distributions run through a stricter six-tier sequence that forces a taxable dividend layer before shareholders can reach tax-free basis recovery.1Office of the Law Revision Counsel. 26 U.S.C. 1368 – Distributions

Everything else in Section 1368 is built on that split. So the first step is knowing which side of it you are on.

Whether Your S-Corp Has Accumulated Earnings and Profits

An S-corporation generates no new earnings and profits of its own because it’s a pass-through entity. AE&P shows up in only two situations: the company once operated as a C-corporation and retained profits from those years, or the S-corporation inherited AE&P by acquiring another company in a qualifying merger or reorganization.2Office of the Law Revision Counsel. 26 U.S. Code 381 – Carryovers in Certain Corporate Acquisitions

If a company has been an S-corporation since formation and never acquired another entity, AE&P is almost certainly zero. For businesses that converted from C-corporation status or went through mergers, pinning down the exact AE&P balance requires tracing historical returns and adjusting retained earnings for the differences between book accounting and the rules in Section 312.

Ordering When There Is No AE&P

With zero AE&P, Section 1368(b) treats each distribution in two steps:1Office of the Law Revision Counsel. 26 U.S.C. 1368 – Distributions

  • The distribution first reduces your adjusted basis in the stock, dollar for dollar, and none of that amount is included in gross income. Adjusted basis reflects your total investment: initial capital contributions, plus income allocated to you over the years, minus prior distributions and losses.
  • Any amount that exceeds your remaining stock basis is treated as gain from selling the stock. For shareholders who have held their shares longer than a year, that means long-term capital gains rates of 0%, 15%, or 20%, depending on total taxable income.3Internal Revenue Service. Topic No. 409, Capital Gains and Losses

No dividend layer, no ordering complications. The only real trap is losing track of basis and reporting a distribution as tax-free when it actually exceeds what you have left.

Ordering When AE&P Exists

When AE&P is on the books, Section 1368(c) imposes a stricter sequence, and IRS guidance layers in the Previously Taxed Income (PTI) and Other Adjustments Account (OAA) buckets on top of the statutory paragraphs.4Internal Revenue Service. Distributions With Accumulated Earnings and Profits The full order runs through six tiers.

Tier 1 — Accumulated Adjustments Account (AAA). The distribution is first sourced from the AAA, which tracks undistributed net income from the S-corporation years. Because shareholders already paid tax on this income when it was allocated to them, AAA distributions follow the same two-step treatment as a corporation with no AE&P: tax-free to the extent of stock basis, then capital gain on any excess.

Tier 2 — Previously Taxed Income (PTI). If the S-corporation made its election before 1983 and the current shareholder has held the stock continuously since then, distributions next come from the PTI account. This is rare today. PTI is shareholder-specific and cannot transfer to a new owner.

Tier 3 — Accumulated earnings and profits. Once the AAA (and any PTI) is exhausted, additional distributions are treated as dividends to the extent of remaining AE&P. These are taxable. Depending on holding-period requirements, they may qualify for the lower qualified dividend rates rather than ordinary income rates. The corporation reports them on Form 1099-DIV.

Tier 4 — Other Adjustments Account (OAA). Tax-exempt income items such as municipal bond interest, along with related expenses, are tracked in the OAA, separate from the AAA. After AE&P is cleared, distributions draw from this account.

Tier 5 — Remaining stock basis. Amounts beyond the OAA reduce the shareholder’s adjusted basis in the stock, tax-free.

Tier 6 — Capital gain. Anything left after basis is depleted is taxed as gain from the sale of the stock.

The design point is that shareholders cannot jump straight to tax-free basis recovery while AE&P still exists. The dividend layer in Tier 3 acts as a gate, making sure old C-corporation earnings get taxed on the way out. For corporations that converted to S status decades ago but never distributed their C-era profits, this layer can be substantial and catches shareholders off guard.

When Distributions Exceed the AAA During the Year

If total distributions for the year exceed the AAA balance at year-end, the AAA is allocated among those distributions proportionally by size. You cannot front-load a tax-free AAA distribution early in the year and take a later one that draws entirely from AE&P. The allocation is recalculated at year-end across every distribution made during the period.

How the AAA Balance Moves

The AAA increases each year for taxable income passed through to shareholders, including both separately stated items (like capital gains and Section 1231 gains) and nonseparately computed income. It does not increase for tax-exempt income, which goes to the OAA. The AAA decreases for losses, deductions, and nondeductible expenses not related to tax-exempt income. Distributions sourced from the AAA also reduce it, but never below zero.5eCFR. 26 CFR 1.1368-2 – Accumulated Adjustments Account (AAA)

Negative AAA

Losses and nondeductible expenses can push the AAA below zero even though distributions cannot. When the AAA is negative, no portion of a distribution can be sourced from it. Distributions skip straight to PTI (if any) and then to AE&P, which means shareholders receive taxable dividends rather than tax-free returns. A year with heavy losses can flip the tax character of distributions in the same year or in future years until the AAA recovers.

Basis Adjustment Order Within a Single Year

Section 1368 tells you which corporate account funds a distribution. A separate set of rules under Section 1367 controls the order your stock basis is adjusted within a year, and the sequence matters: the basis you have at the moment a distribution lands determines whether it is tax-free or triggers gain.

For tax years beginning on or after August 18, 1998, basis adjustments follow this order:6eCFR. 26 CFR 1.1367-1 – Adjustments to Basis of Shareholder’s Stock in an S Corporation

  • Basis goes up first for your share of the corporation’s income items (both taxable and tax-exempt) and excess depletion deductions.
  • Basis then goes down for distributions received during the year.
  • Basis is further reduced for nondeductible, noncapital expenses such as penalties and nondeductible meals.
  • Finally, basis is reduced for your share of losses and deduction items.

Because income hits first, a profitable year raises basis before the distribution reduces it, which can keep the entire distribution tax-free. Losses come last, so they absorb whatever basis remains after distributions. An elective ordering rule lets shareholders swap the last two steps to take losses before nondeductible expenses.

Distributions of Property Instead of Cash

Section 1368 applies to property distributions, not just cash, and two tax events occur when the property leaves the corporation.

At the corporate level, the S-corporation recognizes gain as if it sold the property to the shareholder at fair market value. If the property has appreciated, that gain flows through to shareholders on their K-1s and increases their basis before the distribution reduces it.7Office of the Law Revision Counsel. 26 U.S. Code 311 – Taxability of Corporation on Distribution The rule blocks companies from distributing appreciated property to sidestep built-in gain.

At the shareholder level, the amount of the distribution for ordering purposes is the fair market value of the property on the distribution date, and the shareholder’s basis in the property received is also its fair market value on that date.8Office of the Law Revision Counsel. 26 U.S.C. 301 – Distributions of Property The distribution then runs through the same tiers as cash.

Elections That Change the Order

Section 1368(e)(3) lets the corporation rearrange the standard tiers. The “bypass election” skips the AAA and distributes AE&P first, effectively flipping Tiers 1 and 3 so shareholders receive taxable dividends immediately rather than tax-free AAA distributions.

Why volunteer for taxable dividends? Usually to drain AE&P entirely. As long as AE&P exists, the corporation must maintain the AAA and navigate the multi-tier ordering on every distribution. Eliminating AE&P permanently simplifies future distributions to the Section 1368(b) two-step. Shareholders might also use the election to take advantage of lower qualified dividend rates in a particular year or to absorb dividend income against available tax credits.

The election requires written consent from every shareholder who received a distribution during the year. It is made by attaching a statement to the corporation’s timely filed return, including extensions, and applies to all distributions made during that year.

Deemed Dividend Election

A more aggressive move is the deemed dividend election. Instead of actually distributing cash, the corporation treats a specified amount of AE&P as if it were distributed to shareholders and immediately contributed back. The IRS treats the fictional round-trip as a real dividend, so the AE&P balance drops without any cash changing hands.9eCFR. 26 CFR 1.1368-1 – Distributions by S Corporations

The deemed dividend cannot exceed the remaining AE&P on the last day of the tax year (reduced by any actual AE&P distributions already made). It requires consent from all affected shareholders, is irrevocable, and applies only for the year it’s made. The corporation makes the election by attaching a statement to its timely filed return identifying the election, confirming shareholder consent, and listing the deemed dividend allocated to each shareholder.

Post-Termination Transition Period

When an S-corporation revokes or loses its election, a limited window called the post-termination transition period (PTTP) lets the corporation distribute its remaining AAA balance under the more favorable S-corporation rules. During the PTTP, cash distributions reduce the shareholder’s stock basis to the extent of the remaining AAA, effectively treating them as tax-free returns rather than C-corporation dividends.10Internal Revenue Service. Revenue Ruling 2019-13 – Section 1368 Distributions

The PTTP generally runs from the day after the last S-corporation tax year ends through the later of one year after that date or the extended due date for filing the final S-corporation return.11eCFR. 26 CFR 1.1377-2 – Post-Termination Transition Period Only cash distributions qualify. Once the PTTP closes, any remaining AAA is effectively lost, and future distributions follow C-corporation rules.

The 3.8% Net Investment Income Tax

Higher-income shareholders face an extra 3.8% Net Investment Income Tax on top of regular tax on distributions treated as dividends. The NIIT applies to dividends, capital gains, and other investment income when modified adjusted gross income exceeds $250,000 for married couples filing jointly, $200,000 for single filers, or $125,000 for married individuals filing separately. These thresholds are not indexed for inflation.12Internal Revenue Service. Topic No. 559, Net Investment Income Tax

Tax-free AAA distributions that reduce basis do not trigger NIIT. But distributions treated as dividends from AE&P, and amounts taxed as capital gains because they exceed stock basis, are included in net investment income. For high-income shareholders, the effective rate on AE&P dividends can reach 23.8% (the 20% qualified dividend rate plus 3.8% NIIT).

Tracking Distributions on Tax Returns

The IRS requires shareholders to file Form 7203 (S Corporation Shareholder Stock and Debt Basis Limitations) whenever they receive a non-dividend distribution, claim a loss deduction, dispose of stock, or receive a loan repayment from the corporation.13Internal Revenue Service. Instructions for Form 7203 Even where filing isn’t technically required, the IRS recommends completing it every year. Reconstructing years of basis history after the fact is far harder than maintaining it annually, and shareholders bear the burden of proving basis if the IRS questions how a distribution was taxed.

On the corporate side, Schedule M-2 of Form 1120-S tracks the AAA, AE&P, OAA, and any PTI from year to year. S-corporations with AE&P must maintain the AAA to determine the tax effect of distributions, and the IRS recommends tracking the AAA even without AE&P, because a future merger with a corporation carrying AE&P would require knowing the AAA balance at that time.14Internal Revenue Service. 2025 Instructions for Form 1120-S