An S corporation generally pays no federal income tax on capital gains itself. The gains pass through to shareholders, and the S corp capital gains tax rate you actually pay is your personal rate: 0%, 15%, or 20% for long-term gains, or 10% to 37% for short-term gains, depending on your total taxable income and filing status. A 3.8% surtax may apply on top. The one significant exception is a 21% entity-level tax on built-in gains, which hits only when a former C corporation sells appreciated assets within five years of converting to S status.
Why the Rate Is Your Personal Rate
An S corporation is a pass-through entity. It files Form 1120-S as an informational return but does not pay income tax on most of its earnings.1Internal Revenue Service. About Form 1120-S Income, losses, deductions, and credits flow through to shareholders in proportion to stock ownership. Own 40% of the shares, get 40% of every item.
Capital gains are “separately stated items,” meaning they keep their character as capital gains when they land on your personal return.2Office of the Law Revision Counsel. 26 USC 1366 – Pass-Thru of Items to Shareholders Without that rule, gains would collapse into ordinary business income and lose their preferential treatment. The corporation reports your share on Schedule K-1, which you carry to your Form 1040.3Internal Revenue Service. 2025 Shareholder’s Instructions for Schedule K-1 (Form 1120-S)
One point that surprises people: you owe tax on your allocated share whether or not the corporation distributes any cash. If the business books a $200,000 gain and reinvests every dollar, you still report your share and pay the tax from your own pocket.
Long-Term Capital Gains Rates for 2026
The holding period determines which rate applies, and the corporation’s holding period is what matters, not yours. If the S corp held the asset more than one year before selling, the gain is long-term and qualifies for preferential rates of 0%, 15%, or 20%.4Internal Revenue Service. Topic No. 409, Capital Gains and Losses Which of the three you pay depends on your total taxable income and filing status.
For 2026, the thresholds are:5Internal Revenue Service. Revenue Procedure 2025-32
- Single filers: 0% on taxable income up to $49,450; 15% from $49,451 to $545,500; 20% above $545,500
- Married filing jointly: 0% up to $98,900; 15% from $98,901 to $613,700; 20% above $613,700
- Married filing separately: 0% up to $49,450; 15% from $49,451 to $306,850; 20% above $306,850
- Head of household: 0% up to $66,200; 15% from $66,201 to $579,600; 20% above $579,600
Most S corporation shareholders end up in the 15% bracket. The 0% rate is real but requires relatively modest total taxable income, and the 20% rate applies only well into six figures.
Short-Term Gains Get Ordinary Rates
If the S corporation held the asset one year or less, the gain is short-term and taxed at your ordinary income rate. For 2026, those rates run from 10% to 37%.6Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 Short-term gains stack on top of your other income and get taxed like wages.
Higher Rates for Collectibles and Real Property
Two asset categories carry higher maximum long-term rates, and the special character passes through with the gain.
Gains on collectibles the S corp held more than a year (art, coins, antiques) are taxed at a maximum of 28%.4Internal Revenue Service. Topic No. 409, Capital Gains and Losses Most operating businesses never touch this rate.
Gains from selling depreciable real property include a layer called unrecaptured Section 1250 gain, taxed at a maximum of 25%.4Internal Revenue Service. Topic No. 409, Capital Gains and Losses This recaptures the tax benefit the corporation received from depreciation deductions. If your S corp owns commercial real estate, expect this rate when the building is sold.
The 3.8% Net Investment Income Tax
A separate 3.8% surtax applies when your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly).7Internal Revenue Service. Questions and Answers on the Net Investment Income Tax Whether your S corp capital gains get hit depends on how involved you are in the business.
Gain from property held in a trade or business where you materially participate is generally excluded from net investment income.8eCFR. 26 CFR 1.1411-4 – Definition of Net Investment Income Active owner-operators typically avoid the NIIT on operating gains, so their ceiling stays at 20%.
The surtax is more likely to bite in these situations:
- You own S corp stock but don’t materially participate; your share of gains is passive and counts as net investment income.
- The S corp holds investment assets (stocks, bonds, or rentals where you don’t materially participate); gains on those are generally net investment income regardless of your role in the operating business.
- You sell your S corp stock; gain on that sale is generally net investment income, though a partial exclusion may apply if you materially participate in the business.
For a passive shareholder above the income threshold, the worst-case combined federal rate on long-term gains is 23.8%.
The Built-In Gains Tax: The One Entity-Level Hit
Here is the exception to the pass-through rule. The S corporation itself pays a 21% tax when a former C corporation converts to S status and then sells assets that had appreciated before the conversion.9Office of the Law Revision Counsel. 26 USC 1374 – Tax Imposed on Certain Built-In Gains This exists to stop companies from escaping corporate tax on gains that accrued during their C corp years.
On the day the S election takes effect, the fair market value of every asset is compared with its adjusted tax basis. The difference is the built-in gain. Sell any of those assets within the next five years, and the pre-conversion portion of the gain is subject to the built-in gains tax at 21%. Net operating loss carryforwards and business credit carryforwards from the C corp years can offset the tax, so the actual bill may be less.9Office of the Law Revision Counsel. 26 USC 1374 – Tax Imposed on Certain Built-In Gains
After the corporation pays this tax, the remaining gain still passes through to shareholders on their K-1s, and they pay individual capital gains tax on the reduced amount. A $100,000 built-in gain that generates $21,000 in entity tax leaves $79,000 flowing to shareholders. Once the five-year clock runs out, the gain can be realized without any entity-level tax.
The same rule applies when an S corporation receives assets from a C corporation in certain tax-free carryover-basis transactions, with the five-year clock starting on that transfer date.9Office of the Law Revision Counsel. 26 USC 1374 – Tax Imposed on Certain Built-In Gains If your corporation has always been an S corporation, the built-in gains tax cannot apply to you.
How Basis Changes What You Actually Pay Tax On
Your stock basis matters because distributions in excess of basis are themselves taxed as capital gains. Basis starts with what you paid for the shares, goes up for income allocated to you, and goes down for losses and distributions.10Internal Revenue Service. S Corporation Stock and Debt Basis
A distribution above your stock basis is not a tax-free return of capital. The excess is a capital gain, long-term if you have held your shares more than one year.10Internal Revenue Service. S Corporation Stock and Debt Basis Capital gains allocated through the K-1 increase your basis, and distributions decrease it. In a year with a big asset sale followed by a cash distribution, the order and amount of these adjustments determine whether that distribution is tax-free or a taxable event on top of the pass-through gain.
Selling the Business: Stock Sale vs. Asset Sale
When an owner exits, the deal structure changes what portion of the proceeds gets capital gains rates.
In a stock sale, you sell your shares. Your gain is sale price minus adjusted stock basis, and it’s typically all capital gain, qualifying for long-term rates if you held the shares more than a year. A stock sale also sidesteps the built-in gains tax at the corporate level, which matters for converted C corps still inside the five-year window.
In an asset sale, the S corporation sells its property and the gains flow through on your K-1. Not all of the gain is capital gain. Depreciation recapture on equipment and buildings is ordinary income, and inventory sales are ordinary income. After the sale, the corporation distributes the proceeds, which triggers a second layer of analysis against your basis and the accumulated adjustments account.
Sellers generally prefer stock sales for cleaner capital gains treatment. Buyers usually prefer asset sales because they get a stepped-up basis they can depreciate. The structure is negotiated, and it is one of the most consequential tax decisions in any S corporation sale.
Reporting the Gains on Your Return
Your K-1 splits short-term and long-term capital gains into separate lines. You carry them to Schedule D of your Form 1040: short-term on line 5, long-term on line 12.11Internal Revenue Service. Schedule D (Form 1040) – Capital Gains and Losses
On Schedule D, the S corp gains combine with any other capital gains and losses from your personal investments. Net capital losses offset capital gains dollar for dollar, and up to $3,000 of net loss can be deducted against ordinary income per year, with the rest carried forward. The net gain flows to Form 1040, where the Qualified Dividends and Capital Gain Tax Worksheet (or the Schedule D Tax Worksheet in more complex cases) applies the correct preferential rate. If you have gains at multiple rates, such as 15% on standard long-term gains, 25% on unrecaptured Section 1250 gain, and 28% on collectibles, the worksheet handles each layer.4Internal Revenue Service. Topic No. 409, Capital Gains and Losses
If the S corporation paid the built-in gains tax during the year, the K-1 already reflects the reduced gain amount. Nothing separate is required on your personal return; the entity-level tax has been subtracted before the number reaches you.