Yes, corporations pay capital gains tax, but the rules depend on entity type. A C-corporation pays the flat 21% federal corporate income tax rate on capital gains, with no preferential rate for long-term holdings.1Office of the Law Revision Counsel. 26 US Code 11 – Tax Imposed An S-corporation generally pays no entity-level tax; its gains pass through to shareholders, who report them on personal returns and may qualify for the individual long-term rates of 0%, 15%, or 20%.2Office of the Law Revision Counsel. 26 USC 1366 – Pass-Thru of Items to Shareholders
C-Corporation Capital Gains at 21%
Inside a C-corporation, a capital gain is not a separate category with its own rate. It gets added to ordinary income, and the combined total is taxed at the flat 21% corporate rate.1Office of the Law Revision Counsel. 26 US Code 11 – Tax Imposed A gain on stock the company held for ten years is taxed the same as revenue from selling inventory last week.
The corporation first nets short-term gains against short-term losses, then does the same for long-term items, and combines the two results into a single net figure for the year.3Internal Revenue Service. Topic No. 409, Capital Gains and Losses That figure goes on Schedule D of Form 1120 and flows onto the main return as taxable income.4Internal Revenue Service. Instructions for Schedule D (Form 1120)
The math is straightforward. A corporation with $500,000 in operating income and a $100,000 net capital gain reports $600,000 of taxable income and owes $126,000 in federal tax. The capital gain portion gets no discount. Calendar-year filers submit Form 1120 by April 15, with an extension available to October 15.
The short-term versus long-term distinction still gets calculated, but for a C-corp it only affects the netting process. It never changes the rate.
S-Corporation Gains Pass Through to Shareholders
S-corporations don’t generally pay a corporate-level tax on capital gains. Each shareholder’s pro rata share flows through to their individual return, and the character of the income is preserved.2Office of the Law Revision Counsel. 26 USC 1366 – Pass-Thru of Items to Shareholders A long-term gain at the entity level stays long-term for the shareholder, who can then apply the individual preferential rates of 0%, 15%, or 20% depending on taxable income.5Congressional Budget Office. Raise the Tax Rates on Long-Term Capital Gains and Qualified Dividends by 2 Percentage Points
The gap is real. A $100,000 long-term gain in an S-corp costs a shareholder in the 15% bracket about $15,000. The same gain inside a C-corp costs $21,000 at the entity level alone, before any tax on distributing what’s left.
One trap applies to corporations that converted from C to S status. A built-in gains tax under Section 1374 hits appreciated assets the corporation held at conversion if those assets are sold during a recognition period. It stops companies from switching entity types right before selling appreciated property to dodge the corporate-level tax.
Capital Loss Rules Are Tighter for Corporations
Corporate capital losses come with stricter limits than individual ones. A corporation can use capital losses only against capital gains. They cannot offset ordinary operating income at all, and there’s no $3,000 annual allowance like individuals get.6Office of the Law Revision Counsel. 26 US Code 1211 – Limitation on Capital Losses
Unused net capital losses follow a fixed timeline. The loss is first carried back to the three preceding tax years, starting with the earliest, and can offset capital gains in those years through an amended return on Form 1120-X.7Office of the Law Revision Counsel. 26 USC 1212 – Capital Loss Carrybacks and Carryovers8Internal Revenue Service. About Form 1120-X, Amended US Corporation Income Tax Return Whatever remains carries forward for five years. Regardless of direction, the carried loss is treated as short-term. Anything not absorbed inside the eight-year window (three back, five forward) expires.
The Shareholder Side: Double Taxation
The 21% rate is only the first layer for a C-corporation. When the after-tax profit is distributed as a dividend, shareholders pay again. Qualified dividends are taxed at 0%, 15%, or 20% depending on the shareholder’s income; ordinary dividends are taxed at regular income rates up to 37%.9Internal Revenue Service. Topic No. 404, Dividends and Other Corporate Distributions
Run the numbers on $100 of C-corp capital gain. The corporation pays $21, leaving $79 to distribute. Passed to a shareholder in the 20% qualified-dividend bracket, that $79 costs another $15.80. Combined federal tax: $36.80 on the original $100, an effective rate of 36.8%. At the 15% bracket, the combined rate falls to about 32.9%.
A third layer hits higher earners. The 3.8% Net Investment Income Tax applies to dividends and capital gains once modified adjusted gross income exceeds $200,000 for single filers or $250,000 for joint filers.10Internal Revenue Service. Topic No. 559, Net Investment Income Tax Stack it on top and the effective combined federal rate on a C-corp gain distributed as a qualified dividend can reach roughly 40.6% before any state tax.
The Section 1202 Escape Hatch for Small Business Stock
Shareholders selling stock in a qualifying C-corporation can exclude some or all of the gain under Section 1202. This does nothing for the corporation’s own tax, but it can wipe out the shareholder’s tax when they sell their shares.
Under changes enacted in 2025, the exclusion is tiered by holding period:
- Three or more years: 50% of the gain excluded.
- Four or more years: 75% excluded.
- Five or more years: 100% excluded, so the gain is entirely federal-tax-free.
To qualify, the company must be a domestic C-corporation whose gross assets have never exceeded $75 million (up from the prior $50 million ceiling). The per-issuer exclusion caps at $15 million, adjusted for inflation, or ten times the shareholder’s basis, whichever is greater. At least 80% of assets must be used in an active qualifying trade or business, which rules out most finance, professional services, and hospitality operations. For founders and early investors in qualifying startups, Section 1202 can eliminate the double-tax problem entirely at the shareholder level.
What Isn’t a Capital Asset
The tax code defines a capital asset broadly as any property a corporation holds, then carves out categories that aren’t.11Office of the Law Revision Counsel. 26 US Code 1221 – Capital Asset Defined The main exclusions for a business:
- Inventory and goods held for sale to customers.
- Depreciable property and real property used in the trade or business, which fall under Section 1231.
- Self-created copyrights, literary compositions, and similar creative works in the hands of the creator.
For most corporations, the capital-asset bucket ends up holding stocks and bonds in other companies and investment real estate. Gain or loss is the sale price minus adjusted basis (original cost plus improvements, minus accumulated depreciation).
Business property gets its own regime under Section 1231.12Office of the Law Revision Counsel. 26 USC 1231 – Property Used in the Trade or Business and Involuntary Conversions If Section 1231 gains exceed losses for the year, the net is treated as long-term capital gain; if losses exceed gains, the net is ordinary loss. For a C-corp the rate is 21% either way, but the character matters for losses: an ordinary loss can offset operating income, while a capital loss cannot. Depreciation recapture under Section 1245 then converts gain on sales of depreciable personal property back into ordinary income up to the amount of prior depreciation.13Office of the Law Revision Counsel. 26 USC 1245 – Gain From Dispositions of Certain Depreciable Property
Two Layers Beyond the 21% Rate
Very large corporations face the corporate alternative minimum tax, a 15% minimum on adjusted financial statement income for corporations averaging more than $1 billion in book income over the prior three years.14Internal Revenue Service. Corporate Alternative Minimum Tax Capital gains count toward that book-income figure. Most corporations sit well below the threshold, but for applicable corporations the CAMT can push the effective rate on gains above 21% when the regular tax bill runs below 15% of book income.
State corporate income tax adds another layer. Top rates run from roughly 2% to more than 11%, and a handful of states impose no corporate income tax at all, though some substitute a gross receipts tax. States vary on how gains are calculated and whether they follow the federal loss carryback rules, so the combined federal-and-state bill on a corporate capital gain depends heavily on where the corporation operates.