Explainer
How capital gains tax works: rates, holding periods and losses
A capital gain is the difference between what an asset sells for and its adjusted basis, usually its cost.[1][2] Gains on assets held for more than a year are long-term and can be taxed at 0%, 15% or 20%; gains on assets held a year or less are short-term and taxed as ordinary income.[3][4][5] For 2026 the 0% rate applies up to $49,450 of taxable income for single filers and $98,900 for joint filers.[6]
Almost anything held for personal use or investment is a capital asset in tax terms, including a home, household furnishings, and stocks or bonds.[1] Selling one produces a capital gain or loss, and the tax depends on how long the asset was held and on the seller’s overall taxable income.[3][4]
This page explains how US federal tax applies to capital gains. It is general information, not tax, investment or legal advice, and it does not recommend buying, selling or holding any asset. Check IRS.gov (Topic 409 and Publication 550) or a qualified tax professional for your own situation.
Gain, loss and basis
The gain or loss is the amount realised from the sale minus the asset’s adjusted basis.[1] Basis is generally the cost. For stocks or bonds it is the purchase price plus costs such as commissions, and assets received as gifts or inheritances follow separate basis rules.[2] Losses on personal-use property, such as a home or a car, are not deductible.[7]
Short-term vs long-term
An asset held for more than one year produces a long-term gain or loss; one held for a year or less produces a short-term gain or loss. The holding period runs from the day after the asset was acquired up to and including the day it was sold.[3]
The distinction matters because net short-term gains are taxed as ordinary income at the regular graduated rates, while net capital gain can qualify for lower rates.[5] Net capital gain means net long-term gain minus any net short-term loss for the year.[8] Qualified dividends, a subset of ordinary dividends identified on Form 1099-DIV, are also taxed at the lower capital gain rates.[9]
The 0%, 15% and 20% rates
Net capital gain is taxed at 0%, 15% or 20% depending on taxable income, and for most individuals the rate is no higher than 15%.[4] The thresholds below are taxable income levels, published for each year in an IRS revenue procedure.[6][10]
| Filing status | 0% up to (2026) | 15% up to (2026) | 0% up to (2027) | 15% up to (2027) |
|---|---|---|---|---|
| Single | $49,450 | $545,500 | $51,050 | $563,200 |
| Married filing jointly | $98,900 | $613,700 | $102,100 | $633,600 |
| Head of household | $66,200 | $579,600 | $68,350 | $598,400 |
| Married filing separately | $49,450 | $306,850 | $51,050 | $316,800 |
Sources: 2026[6]; 2027.[10] Net capital gain above the 15% ceiling is taxed at 20%.[4]
Some gains have higher ceilings. Gains on collectibles such as coins or art, and the taxable part of gains on section 1202 qualified small business stock, are taxed at up to 28%; unrecaptured section 1250 gain on real property is taxed at up to 25%.[11] Higher-income investors may also owe the 3.8% net investment income tax on the lesser of net investment income or modified adjusted gross income above $200,000 (single or head of household), $250,000 (joint) or $125,000 (married filing separately); net gains on stocks, bonds, funds and real estate count as investment income.[12]
Losses and carryforwards
Capital losses first offset capital gains. If losses are larger, up to $3,000 of the excess ($1,500 if married filing separately) can reduce other income each year, and anything left over carries forward to later years.[13]
Example: someone with $5,000 of long-term gains and $9,000 of losses has a $4,000 net loss. They can use $3,000 of it against other income this year and carry the remaining $1,000 forward, under the IRS limit.[13]
Selling a home
Up to $250,000 of gain on the sale of a main home, or $500,000 on a joint return, can be excluded from income. To qualify, the owner generally must have owned and lived in the home for at least two of the five years before the sale.[14]
Reporting
Most sales are reported on Form 8949 and summarised on Schedule D of Form 1040, and a taxable gain may mean estimated tax payments are required.[15] Investment gains inside a 401(k) are not taxed until they are distributed; see traditional vs Roth accounts for how withdrawals are taxed instead.[16]
Related reading: how income tax brackets work for ordinary rates, index funds and ETFs, and crypto taxes and Form 1099-DA for digital assets.
Read next
How US income tax brackets work (2026 and 2027)
How marginal tax brackets work, why a raise never lowers take-home pay, and the IRS federal income tax brackets for 2026 and 2027.
Questions readers ask
What is the difference between short-term and long-term capital gains?
An asset held for more than one year produces a long-term gain or loss; one held for a year or less produces a short-term gain or loss. Net short-term gains are taxed as ordinary income.[3][5]
What are the long-term capital gains rates for 2026?
0% up to $49,450 of taxable income for single filers ($98,900 joint, $66,200 head of household), 15% up to $545,500 ($613,700 joint, $579,600 head of household), and 20% above that.[6][4]
What are the thresholds for 2027?
The 0% rate applies up to $51,050 for single filers, $102,100 for joint filers and $68,350 for heads of household; the 15% rate applies up to $563,200, $633,600 and $598,400.[10]
How much of a capital loss can I deduct?
Net capital losses can offset up to $3,000 of other income a year ($1,500 if married filing separately), and the rest carries forward to later years. Losses on personal-use property such as a home or car are not deductible.[13][7]
Do I pay capital gains tax when I sell my home?
Up to $250,000 of gain on a main home ($500,000 on a joint return) can be excluded if you meet the ownership and use tests, generally two of the last five years.[14]
What is the 3.8% net investment income tax?
A separate tax on the lesser of net investment income or modified adjusted gross income above $200,000 for single filers, $250,000 for joint filers or $125,000 for married filing separately.[12]
Sources
· 16 claims from 1 publisher
Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.
- [1]
Almost everything owned for personal or investment purposes is a capital asset, including a home, household furnishings, and stocks or bonds. A sale produces a capital gain or loss equal to the difference between the amount realised and the adjusted basis. confirmedas of 2026-11-07
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- [2]
Basis is generally what the owner paid. For stocks or bonds it is the purchase price plus costs such as commissions; gifts and inheritances follow different basis rules. confirmedas of 2026-11-07
- Topic no. 703, Basis of assets · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- [3]
A gain or loss is generally long-term if the asset was held for more than one year and short-term if held for one year or less, counting from the day after acquisition up to and including the day of sale. confirmedas of 2026-11-07
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- [4]
Net capital gain is taxed at 0%, 15% or 20% depending on taxable income, and for most individuals the rate is no higher than 15%. The 20% rate applies to the extent taxable income exceeds the top of the 15% range. confirmedas of 2026-11-07
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- [5]
Net long-term capital gains can be taxed at lower rates than ordinary income, while net short-term capital gains are taxed as ordinary income at the graduated rates. confirmedas of 2026-11-07
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- [6]
For 2026, the 0% rate on long-term gains applies up to $49,450 of taxable income for single filers, $98,900 for joint filers and $66,200 for heads of household; the 15% rate applies up to $545,500, $613,700 and $579,600 respectively. confirmedas of 2025-10-09
- Revenue Procedure 2025-32 (2026 inflation-adjusted items) · Internal Revenue Service · Primary source · 2025-10-09 · Section 4.03, Maximum Capital Gains Rate (PDF table; check by hand) (retrieved 2026-11-07)
- [7]
Losses on the sale of personal-use property, such as a home or car, are not tax deductible. confirmedas of 2026-11-07
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- [8]
The lower rates apply to net capital gain, which is net long-term capital gain minus any net short-term capital loss for the year. confirmedas of 2026-11-07
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- [9]
Qualified dividends are ordinary dividends that are taxed at the lower capital gain rates; the payer identifies them on Form 1099-DIV. confirmedas of 2026-11-07
- Topic no. 404, Dividends · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- [10]
For 2027, the 0% rate on long-term gains applies up to $51,050 of taxable income for single filers, $102,100 for joint filers and $68,350 for heads of household; the 15% rate applies up to $563,200, $633,600 and $598,400 respectively. confirmedas of 2026-11-05
- Revenue Procedure 2026-35 (2027 inflation-adjusted items) · Internal Revenue Service · Primary source · 2026-11-05 · Section .03, Maximum Capital Gains Rate (PDF table; check by hand) (retrieved 2026-11-07)
- [11]
Some gains face higher maximum rates. Gains on collectibles such as coins or art and the taxable part of gains on section 1202 small business stock are taxed at up to 28%, and unrecaptured section 1250 gain on real property at up to 25%. confirmedas of 2026-11-07
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- [12]
A separate 3.8% net investment income tax applies to individuals on the lesser of net investment income or modified adjusted gross income above $200,000 (single or head of household), $250,000 (married filing jointly) or $125,000 (married filing separately). Net investment income includes net gains on stocks, bonds, mutual funds and real estate. confirmedas of 2026-11-07
- Topic no. 559, Net investment income tax · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- Topic no. 559, Net investment income tax · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- Topic no. 559, Net investment income tax · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- [13]
If capital losses exceed capital gains, up to $3,000 of the excess ($1,500 if married filing separately) can reduce other income each year, and any remaining loss carries forward to later years. confirmedas of 2026-11-07
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- [14]
Up to $250,000 of gain on the sale of a main home ($500,000 on a joint return) can be excluded from income if the owner meets ownership and use tests of at least two of the five years before the sale. confirmedas of 2026-11-07
- Topic no. 701, Sale of your home · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- Topic no. 701, Sale of your home · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- Topic no. 701, Sale of your home · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- [15]
Most sales are reported on Form 8949 and summarised on Schedule D of Form 1040, and a taxable gain may require estimated tax payments. confirmedas of 2026-11-07
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- Topic no. 409, Capital gains and losses · Internal Revenue Service · Primary source (retrieved 2026-11-07)
- [16]
Elective deferrals and investment gains in a 401(k) are not taxed until they are distributed. confirmedas of 2026-11-07
- 401(k) plan overview · Internal Revenue Service · Primary source (retrieved 2026-11-07)
Revision history (1)
- Page created.
Created Nov 7, 2026. Last reviewed by an editor on Nov 8, 2026. Next scheduled review: Nov 1, 2027.
Cite this page
"How capital gains tax works: rates, holding periods and losses." ContentLora, updated Nov 7, 2026. https://contentlora.com/explain/how-capital-gains-tax-works
Spotted an error? Suggest a correction or emailcorrections@contentlora.com.