When an S corporation distribution exceeds your stock basis, the excess is taxed as a capital gain, as if you had sold part of your stock. It is long-term if you have held the shares more than a year and short-term if you have held them a year or less, and a passive shareholder may owe an additional 3.8% net investment income tax on top of the capital gains rate.1Internal Revenue Service. S Corporation Stock and Debt Basis The corporation will not calculate this for you. It reports one lump distribution figure on your Schedule K-1, and you are responsible for figuring out how much crossed the line and reporting the gain on your own return.
How the Excess Is Taxed
Once your stock basis reaches zero, every additional dollar distributed is treated as gain from the sale or exchange of property.2Office of the Law Revision Counsel. 26 USC 1368 – Distributions You still own all your shares. The tax law simply treats the extra distribution as though you sold a slice of your investment.
The rate depends on your holding period. Held more than one year, the excess is a long-term capital gain taxed at 0%, 15%, or 20% depending on your taxable income. For 2026, the 20% rate begins at $545,500 of taxable income for single filers and $613,700 for married couples filing jointly. Held a year or less, the gain is short-term and taxed at ordinary rates.1Internal Revenue Service. S Corporation Stock and Debt Basis
The 3.8% net investment income tax may apply on top when your modified adjusted gross income exceeds $200,000 (single), $250,000 (married filing jointly), or $125,000 (married filing separately). Those thresholds are not indexed for inflation.3Internal Revenue Service. Topic No. 559, Net Investment Income Tax NIIT generally reaches capital gains from S corporation stock held by a passive owner. If you materially participate in the business, the gain may be excluded from net investment income, though the analysis turns on the facts.4Internal Revenue Service. Questions and Answers on the Net Investment Income Tax
Why Stock Basis Is the Pivot
Whether a distribution is tax-free or a taxable capital gain depends entirely on your stock basis at the right moment in the year. Stock basis is your running tax investment in the corporation. It starts with what you paid for or contributed to get your shares, and it changes every year based on the corporate activity that shows up on your Schedule K-1. The corporation does not track it for you. Mistakes on this number are the single most common reason shareholders accidentally trigger taxable gains on distributions they assumed were tax-free.5Internal Revenue Service. Instructions for Form 7203
Basis goes up each year for your share of ordinary business income, separately stated income items like interest or capital gains, and tax-exempt income such as municipal bond interest. Basis goes down for nondividend distributions, your share of losses and deductions, and nondeductible corporate expenses like fines or penalties. It can never fall below zero. Losses that would push it negative are suspended and carried forward until you have basis to absorb them.6Office of the Law Revision Counsel. 26 USC 1367 – Adjustments to Basis of Stock of Shareholders, Etc.
The Ordering of Basis Adjustments
The sequence in which those adjustments happen each year determines whether a distribution stays tax-free or spills into gain territory. The order is:
- Increase basis for all income items and excess depletion.
- Decrease basis for nondividend distributions.
- Decrease basis for nondeductible, noncapital expenses.
- Decrease basis for losses and deductions.
Because income is added before distributions are subtracted, a profitable year can create enough room for a distribution to come out tax-free even if basis was near zero at the start of the year. And because losses come last, distributions effectively get priority over loss deductions when basis is tight.7Internal Revenue Service. Stock Basis Ordering Rules – LB&I Practice Unit The practical consequence for anyone worried about excess distributions: it is basis at year-end after Steps 1 and 2, not opening basis, that determines whether a distribution is fully absorbed.
When Accumulated Earnings and Profits Change the Analysis
For most S corporations that were never C corporations, the analysis above is the whole story. Distribution up to basis is tax-free, the rest is capital gain.2Office of the Law Revision Counsel. 26 USC 1368 – Distributions
If your S corporation was previously a C corporation and still carries accumulated earnings and profits (AE&P), the rules add two extra tiers. A distribution is tax-free to the extent of the corporation’s Accumulated Adjustments Account, then a taxable dividend to the extent of AE&P (this piece does not reduce your stock basis), then a tax-free return of any remaining stock basis, and finally a capital gain for anything beyond that.2Office of the Law Revision Counsel. 26 USC 1368 – Distributions The dividend tier represents old C corporation earnings that were taxed at the corporate level but never at the shareholder level, and they come out at qualified dividend rates. Excess distributions past basis are still capital gains at the bottom of the waterfall; AE&P just adds a taxable dividend layer above them.
How to Report the Taxable Portion
The corporation reports your total distributions for the year on Schedule K-1 (Form 1120-S), Box 16, Code D. That figure combines the tax-free and taxable portions in one number. The corporation does not split them out and does not calculate your basis.8Internal Revenue Service. Shareholder’s Instructions for Schedule K-1 (Form 1120-S)
You determine how much exceeds your basis and report that piece as a capital gain on Form 8949, entering the S corporation as the payer. The totals then flow to Schedule D (Form 1040).9Internal Revenue Service. Instructions for Form 8949
You track the basis calculations themselves on Form 7203, S Corporation Shareholder Stock and Debt Basis Limitations. Filing Form 7203 with your return is required if you received a nondividend distribution, claimed a loss from the corporation, disposed of stock, or received a loan repayment. Even in years when it is not technically required, completing it and keeping it in your records protects you if the IRS ever questions your numbers.5Internal Revenue Service. Instructions for Form 7203
Other Ways Shareholders Trigger the Same Result
Excess distributions are the most familiar way to end up with an unexpected capital gain from an S corporation, but a few adjacent situations produce a similar surprise.
Debt Basis Does Not Cushion Distributions
If you have personally loaned money to the corporation, that loan creates debt basis, which is entirely separate from stock basis. Third-party loans, even ones you guarantee, do not count. Debt basis lets you deduct additional losses after stock basis hits zero, but it does not absorb distributions. Once stock basis is exhausted, a distribution is a capital gain regardless of how much debt basis remains.1Internal Revenue Service. S Corporation Stock and Debt Basis
Loan Repayments on Reduced Debt Basis
If prior losses reduced your debt basis and the corporation later repays part of the loan, the piece of the repayment that exceeds your remaining debt basis is taxable. Character depends on the paperwork. A written promissory note produces capital gain (long- or short-term based on how long you held the note). An undocumented open account balance produces ordinary income, which is generally worse. Open account debt exceeding $25,000 at year-end is automatically reclassified as a formal note going forward. Gain recognized on a loan repayment does not increase your basis, so it does not help you absorb future distributions or deduct suspended losses.5Internal Revenue Service. Instructions for Form 7203
Distributions of Appreciated Property
When the corporation distributes appreciated property instead of cash, it must recognize gain as if it sold the property to you at fair market value. That gain flows through to shareholders on the K-1, increasing each shareholder’s basis before the distribution reduces it.10Office of the Law Revision Counsel. 26 USC 311 – Taxability of Corporation on Distribution The distribution amount applied against your stock basis is the property’s fair market value, reduced by any corporate liabilities you assume with it. Your basis in the property received is fair market value. If distributed property is worth less than its adjusted basis, the corporation cannot recognize the loss, and the disallowed loss reduces every shareholder’s stock basis as a nondeductible expense. Everyone absorbs a basis hit for a loss no one deducts.11Internal Revenue Service. Property Distribution – LB&I Practice Unit
Suspended Losses Disappear When You Sell
Losses that exceed your combined stock and debt basis are suspended and carry forward indefinitely, waiting for basis to come back.12Office of the Law Revision Counsel. 26 USC 1366 – Pass-thru of Items to Shareholders Because distributions come before losses in the ordering rules, a good year with a distribution can rebuild basis and then use it up on the distribution, leaving suspended losses still suspended. If you sell all your stock while suspended losses remain, those losses are permanently forfeited. They do not transfer to the buyer. The only exception is a transfer to a spouse or in a divorce, where the suspended losses follow the stock.1Internal Revenue Service. S Corporation Stock and Debt Basis
State Treatment May Differ
Not every state automatically follows the federal S election. Some do not recognize S status at all, and others require a separate state-level filing to opt in. In those states, the corporation may owe an entity-level tax and distributions may be characterized differently for state income tax purposes. If your corporation operates in more than one state or has out-of-state shareholders, confirm the state-level treatment before assuming an excess distribution is taxed the same way federally and locally.