Capital Gains: Definition, Tax Rates, and Planning Implications

Capital gains are the profits realized when a taxpayer sells or exchanges a capital asset for more than its adjusted tax basis. Under IRC §1221, a capital asset includes most investment and personal-use property — stocks, bonds, mutual fund shares, real estate (other than inventory held for sale), collectibles, and business interests — but excludes inventory, business accounts receivable, and certain other items held primarily for sale. Capital gains are one of the most planning-sensitive areas of the tax code: the applicable rate ranges from 0% to 37% depending on the holding period, the taxpayer's income level, and the type of asset sold.

Short-Term vs Long-Term Capital Gains

The most important distinction in capital gains taxation is the holding period:

  • Short-term capital gains arise when a capital asset has been held for 12 months or less before sale. Short-term gains are taxed as ordinary income — at the taxpayer's marginal rate, up to 37% for individuals. There is no preferential rate.

  • Long-term capital gains arise when a capital asset has been held for more than 12 months before sale. Long-term gains are taxed at preferential rates: 0%, 15%, or 20% depending on the taxpayer's taxable income.

Long-Term Capital Gains Rate 2026 Taxable Income (Single) 2026 Taxable Income (MFJ)
0% Up to $48,350 Up to $96,700
15% $48,351–$533,400 $96,701–$600,050
20% Above $533,400 Above $600,050

(2026 thresholds are inflation-adjusted estimates; confirm with IRS Rev. Proc. for the applicable year.)

The gap between ordinary and long-term capital gains rates — potentially 20+ percentage points for high-income clients — makes holding period management one of the highest-value tax planning opportunities a CPA can identify.

Net Investment Income Tax (NIIT)

High-income taxpayers owe an additional 3.8% Net Investment Income Tax (NIIT) on the lesser of (a) net investment income or (b) the excess of modified AGI over $200,000 (single) or $250,000 (MFJ) (IRC §1411). Long-term capital gains are net investment income, so the effective top rate on long-term capital gains for high earners is 23.8% (20% + 3.8%) — or 40.8% for short-term gains (37% ordinary rate + 3.8% NIIT). State income tax adds further to the effective rate.

NIIT does not apply to gain from the sale of a trade or business interest in which the taxpayer materially participates, provided the gain is not from a passive activity. This distinction can create meaningful planning opportunities for business owners.

Section 1250 and Depreciation Recapture

Not all gain from real estate sales qualifies for the long-term preferential rate. Unrecaptured Section 1250 gain — the portion of gain attributable to prior depreciation deductions on real property — is taxed at a maximum rate of 25%, not the standard 0%/15%/20% rates. Section 1245 recapture (on personal property and machinery) is taxed as ordinary income. Understanding the composition of gain from a real estate sale — capital gain vs. depreciation recapture — is essential for advising clients on disposition timing and structure. See Depreciation Recapture for the definitional mechanics, and the Depreciation Recapture Guide for the full client advisory walkthrough.

Common Capital Gains Planning Strategies

Tax-loss harvesting: Realizing capital losses to offset capital gains. Long-term losses first offset long-term gains; short-term losses first offset short-term gains. Excess losses of either type then offset the other. Net capital losses up to $3,000 may offset ordinary income annually; remaining losses carry forward.

Holding period management: Waiting until a gain becomes long-term (more than 12 months) before selling can reduce the tax rate by 20 or more percentage points for high-income clients. The breakeven calculation compares the tax cost of holding vs. selling.

1031 like-kind exchanges: Deferring capital gain from investment real estate sales by reinvesting in qualifying replacement property within strict time limits. The deferred gain carries into the new property's basis; tax is deferred (not eliminated) until the replacement property is sold without a subsequent exchange. See How to Execute a 1031 Like-Kind Exchange.

Installment sales: Spreading a gain across multiple years by receiving proceeds over time reduces the present-value tax burden and may keep annual income below NIIT thresholds.

Opportunity Zone investments: Deferring capital gains by investing in Qualified Opportunity Funds within 180 days of the triggering sale. Post-OBBBA, the OZ program has been extended through 2033 with an 18-month reinvestment window.

Charitable giving of appreciated assets: Donating appreciated stock or real estate to a qualified charity avoids the capital gain entirely while generating a charitable deduction equal to the fair market value.

Primary residence exclusion: Homeowners who have owned and used their home as a principal residence for at least 2 of the past 5 years may exclude up to $250,000 ($500,000 MFJ) of gain from the sale (IRC §121).

For a complete analysis of capital gains tax rates, planning strategies, and client-specific scenarios, see Short-Term vs Long-Term Capital Gains Tax Rates 2025.

Related Terms

  • Tax Basis — how adjusted basis is established and why it's the starting point for every gain or loss calculation
  • Step-Up in Basis — the IRC §1014 rule that resets the basis of inherited property to fair market value at the decedent's death, eliminating capital gains tax on appreciation during the decedent's lifetime
  • Adjusted Gross Income — capital gains are included in AGI and may push a taxpayer into higher NIIT or capital gains rate brackets; managing the AGI impact of a large gain is a core planning challenge
  • Pass-Through Entity — capital gains realized by pass-through entities retain their character and flow to owners as long-term or short-term capital gain on Schedule K-1
  • Realized vs. Recognized Gain — the foundational distinction between a gain being economically realized and being required to be included in taxable income; non-recognition provisions (§1031, §121, §351) can defer or permanently exclude recognition

How CPAs Use Capital Gains Planning in Practice

Capital gains planning is triggered by anticipated transactions: business sales, real estate dispositions, large stock portfolio rebalancing, and client retirement events. CPAs project the tax impact of a proposed sale, model alternative exit structures (installment sale, 1031 exchange, charitable giving), and evaluate the interplay between the gain and other income-sensitive provisions (NIIT, IRMAA, QBI deduction limitations). For high-net-worth clients, capital gains planning integrates with estate planning — the step-up in basis at death may be the most valuable benefit available, particularly after the estate tax exemption was permanently raised to $15 million per person under OBBBA.