Fact-checked by the MyFinancial101 editorial team
Quick Answer
Capital gains tax is the federal tax on profit from selling an asset you own. Short-term gains (assets held one year or less) are taxed at ordinary income rates up to 37%. Long-term gains (held more than one year) are taxed at 0%, 15%, or 20% depending on income. Holding an asset just one day past the one-year mark can cut your tax bill by nearly a third.
Capital gains tax explained simply: it is the tax the IRS collects on the profit you realize when you sell an asset for more than you paid for it. The tax applies only when a gain is realized, meaning you actually sell, not while the asset appreciates on paper. According to the IRS Topic 409, the tax rate on most net capital gain is no higher than 15% for most individual taxpayers, but where you actually land depends on how long you held the asset and how much you earned that year.
Getting this wrong is expensive. Short-term and long-term rates can differ by more than 20 percentage points on the same dollar of profit, and that gap is entirely legal to close with one tool: time.
Key Takeaways
- Short-term gains are taxed at ordinary income rates up to 37%; long-term gains face rates of 0%, 15%, or 20% depending on your income, per IRS Topic 409.
- For the 2025 tax year, married couples filing jointly with taxable income below $96,700 owe zero federal tax on long-term capital gains, per Kiplinger.
- The Net Investment Income Tax adds 3.8% on top of federal rates for single filers with MAGI above $200,000 and married filers above $250,000, thresholds frozen since 2013, per Kiplinger.
- Capital losses offset gains dollar-for-dollar, and up to $3,000 of excess losses can be deducted against ordinary income per year, with unused losses carrying forward indefinitely, per IRS Topic 409.
- Gains on collectibles are capped at 28% and unrecaptured Section 1250 depreciation on rental property is taxed at up to 25%, outside the standard long-term rate structure.
- Capital gains taxes averaged 9% of individual income tax revenues per year over the past two decades, totaling $152 billion annually, per the Peter G. Peterson Foundation.
What Is Capital Gains Tax and When Do You Actually Owe It?
You owe capital gains tax when you sell a capital asset for more than its adjusted cost basis, the original purchase price plus any qualifying improvements or adjustments. The gain does not exist for tax purposes until the sale happens. A stock that doubled in value costs you nothing in taxes as long as you hold it.
Capital assets extend well beyond stocks. Bonds, mutual funds, ETFs, real estate, cryptocurrency, collectibles, and even personal-use property all qualify. One important caveat: losses on personal-use property (selling a car for less than you paid, for instance) are not tax-deductible, while losses on investment property can offset gains.
Tax-Advantaged Accounts Are a Different Story
A common misconception is that every investment profit triggers this tax. Inside a 401(k), Traditional IRA, Roth IRA, HSA, or 529 plan, capital gains tax does not apply while money stays in the account. Roth IRA qualified withdrawals are tax-free entirely, making it the most powerful shelter for long-term gains. If you are still figuring out how to build those accounts from scratch, this guide on starting to invest with zero experience covers the basics.
The exposure lives in taxable brokerage accounts. That is where every sale creates a reportable event, and where the short-term versus long-term distinction carries real dollar consequences.
Key Takeaway: Capital gains tax only triggers on a realized sale, not on paper appreciation. Tax-advantaged accounts like Roth IRAs eliminate the liability entirely, but gains in taxable brokerage accounts are always exposed. The IRS caps most long-term rates at 15% for the majority of individual filers.
Short-Term vs. Long-Term Capital Gains: The One-Year Line That Changes Everything
The single most important variable in capital gains taxation is how long you owned the asset. Hold it for one year or less and the gain is short-term, taxed at your ordinary income rate, anywhere from 10% to 37% depending on your bracket. Hold it for more than one year and the gain is long-term, taxed at the preferential rates of 0%, 15%, or 20%.
The real-dollar difference is not subtle. A middle-income single filer in the 22% ordinary income bracket who realizes a $20,000 short-term gain pays $4,400 in federal tax. Wait one day past the one-year mark and that same gain, now long-term, is taxed at 15%, a $3,000 bill. That $1,400 difference required no financial sophistication, just patience.
How Short-Term Gains Stack on Top of Your Income
Short-term gains are added directly to your ordinary income, which can push you into a higher bracket on your other earnings. Long-term gains are calculated separately using their own bracket thresholds, which are lower than the ordinary income thresholds. This stacking mechanic means realizing a large short-term gain in a high-income year is the costliest possible combination.
If you are also managing high-interest debt alongside investments, the bracket interaction is worth modeling before you sell.
Key Takeaway: Holding an asset just one day beyond one year converts a short-term gain taxed up to 37% into a long-term gain taxed at no more than 20%. On a $20,000 gain for a median-income filer, that switch saves roughly $1,400 in federal tax. See the Bankrate long-term capital gains breakdown for current brackets.
The 2026 Capital Gains Tax Brackets: Exact Numbers You Need
The IRS adjusts long-term capital gains thresholds annually for inflation. For the 2025 tax year (filed in early 2026), the 0% rate applies to single filers with taxable income up to $48,350 according to Bankrate’s 2025 bracket data, and up to $96,700 for married couples filing jointly per Kiplinger. The 2025 thresholds rose approximately 2.8% from 2024 levels, a meaningful inflation adjustment that expands who qualifies for the 0% rate.
For 2026 filings (tax year 2026), thresholds are projected to climb further. Married filers saw their 0% ceiling move from $96,700 in 2025 to approximately $98,900 in 2026, an extra $2,200 of gains that face zero federal tax. Retirees drawing down a brokerage account and workers in lower-income years should check these thresholds before selling, because falling just inside the 0% ceiling is entirely achievable for many households.
Special Rate Exceptions Most Articles Miss
Three categories face rates outside the standard 0%/15%/20% structure. Gains on collectibles (coins, art, antiques) are capped at 28%. Unrecaptured Section 1250 depreciation on rental property is taxed at up to 25%, not the standard long-term rate. Gains from qualified small business stock under Section 1202 also face a 28% ceiling, though a partial or full exclusion may apply depending on how long the stock was held and when it was acquired.
| Filing Status | 0% Rate Up To | 15% Rate Up To | 20% Rate Above |
|---|---|---|---|
| Single | $48,350 | $533,400 | $533,401+ |
| Married Filing Jointly | $96,700 | $600,050 | $600,051+ |
| Head of Household | $64,750 | $566,700 | $566,701+ |
| Collectibles / Section 1250 | N/A | N/A | 28% / 25% cap |
Key Takeaway: In 2025, married couples filing jointly with taxable income below $96,700 owe zero federal tax on long-term gains, per Kiplinger’s 2025 threshold data. Collectibles and depreciation recapture follow separate rate schedules, up to 28% and 25% respectively, which standard articles rarely flag.
The Hidden Layer: State Taxes and the Net Investment Income Tax
The federal rate is only part of what you owe. Most states tax capital gains as ordinary income, with rates ranging from 0% in Florida, Texas, and Nevada to 13.3% in California. A California resident in the 15% federal long-term bracket does not pay 15%. They pay closer to 28.3% combined before accounting for anything else.
Then there is the Net Investment Income Tax (NIIT). According to Kiplinger’s capital gains tax rate guide, the NIIT adds 3.8% on top of federal rates for single filers with modified adjusted gross income (MAGI) above $200,000 and married couples above $250,000. Those thresholds have not changed since 2013 and are not indexed for inflation, meaning more households cross them every year without any rate increase passing Congress.
Run the math for a high earner in California: federal 20% + NIIT 3.8% + state 13.3% = an effective 37.1% rate on long-term gains. That reframes the “low long-term rate” narrative considerably. New York City residents add a 3.876% local tax, pushing combined top rates near 38.5% for high earners, a detail almost no personal finance coverage surfaces for ordinary readers.
State of residence is a legal tax variable, not a fixed cost. On a $1 million gain, the difference between California and Florida is approximately $133,000 in state tax alone, though genuine residency change requires actually severing domicile ties well before the gain-triggering event.
Key Takeaway: The NIIT adds 3.8% on investment income above $200,000 (single) or $250,000 (married), thresholds frozen since 2013 per Kiplinger. Combined with California’s 13.3% state rate, a high-income investor’s effective rate on long-term gains can reach 37.1%, nearly erasing the federal rate advantage.
How to Legally Pay Less Capital Gains Tax
The most powerful strategy requires no complexity: hold assets for more than one year. The rate difference is concrete and large, and patience alone captures it. Beyond that, several proven tactics can reduce what you owe further.
Tax-Loss Harvesting and Its Limits
Tax-loss harvesting means selling losing positions to generate a capital loss that offsets your gains dollar-for-dollar. Capital losses first offset capital gains with no ceiling. If losses exceed gains, up to $3,000 can be deducted against ordinary income per year, and unused losses carry forward indefinitely. The strategy is most effective when coordinated against a specific near-term gain rather than used reactively after the fact.
One caveat: the wash-sale rule bars you from repurchasing the same or substantially identical security within 30 days before or after the sale, or the loss is disallowed.
Tax-Gain Harvesting: The Strategy Most Articles Skip
The counterintuitive flip side, tax-gain harvesting, is almost entirely absent from competing articles. If your taxable income dips below the 0% long-term threshold in a given year (retirement, a career gap, a low-income transition), you can intentionally sell appreciated assets, pay zero federal tax on those gains, and immediately repurchase the same shares at the new, higher cost basis. You have permanently reset the basis on that appreciation at no tax cost.
This is legal. The wash-sale rule does not apply to gains, and it can eliminate future tax on years of growth in a single filing-year transaction.
Other Effective Approaches
- Maximize contributions to Roth IRAs, where qualified withdrawals including gains are fully tax-free. If you are also planning for the long term, read about why prioritizing retirement over college savings can pay off.
- Use asset location: place tax-inefficient assets (actively managed funds, REITs, bonds) in tax-advantaged accounts and hold tax-efficient index funds in taxable accounts.
- Donate appreciated securities directly to charity or a donor-advised fund. Neither the donor nor the charity pays capital gains tax on the appreciation, and you receive a deduction for the full fair market value.
- Use a Section 1031 exchange to defer tax on the sale of investment real estate by rolling the proceeds into a like-kind property.
- For crypto holders specifically: Form 1099-DA means brokers report your transactions directly to the IRS. Accurate record-keeping is no longer optional, the IRS now receives that data whether or not you file it correctly.
One honest trade-off worth naming: tax-loss harvesting defers rather than eliminates tax in most cases. You lower your cost basis when you harvest, so future gains on replacement securities will be larger. The strategy wins when your tax rate at harvest is higher than your rate at eventual sale, which is not guaranteed.
Over the past two decades, capital gains taxes averaged 9% of individual income tax revenues per year according to the Peter G. Peterson Foundation, totaling $152 billion annually. This is not a niche concern; it is a mainstream source of federal revenue that policymakers watch closely.
For anyone exploring additional income streams that might affect their tax bracket, micro-freelancing income and part-time work opportunities can interact with capital gains planning in ways worth modeling before selling appreciated assets in the same year.
Key Takeaway: Tax-gain harvesting, intentionally selling winners when income falls inside the 0% long-term bracket, permanently resets cost basis at no federal tax cost and is absent from most competitor guides. Capital losses offset gains dollar-for-dollar, but the $3,000 annual deduction against ordinary income is a hard ceiling per IRS Topic 409.
Frequently Asked Questions
What is the capital gains tax rate for 2025 and 2026?
For the 2025 tax year, long-term capital gains rates are 0%, 15%, or 20% depending on your taxable income and filing status. The 0% rate applies to single filers with taxable income up to $48,350 and married couples filing jointly up to $96,700. Thresholds rose approximately 2.8% for 2025 versus 2024 due to inflation adjustments, and are expected to rise slightly again for 2026.
How do I know if my gain is short-term or long-term?
Count from the day after you acquired the asset to the day you sold it. If that period is 365 days or less, the gain is short-term and taxed as ordinary income. If it is 366 days or more (one year plus one day), the gain is long-term and qualifies for the preferential 0%, 15%, or 20% rate.
Do I owe capital gains tax when I sell my house?
Possibly not. The Section 121 exclusion shields up to $250,000 of gain (single filer) or $500,000 (married filing jointly) from a primary residence you owned and lived in for at least two of the past five years. Gain above those thresholds is taxable. If you previously rented the home, depreciation recapture on that period is taxed separately at up to 25%.
Is cryptocurrency subject to capital gains tax?
Yes. The IRS treats crypto as property, so every sale, trade, or use of crypto to purchase goods or services is a taxable event subject to short-term or long-term rates. Brokers file Form 1099-DA directly with the IRS, meaning crypto transaction data flows to the agency whether or not you self-report it accurately.
What is the Net Investment Income Tax and who pays it?
The NIIT is an additional 3.8% tax on investment income, including capital gains, dividends, and rental income, for taxpayers with MAGI above $200,000 (single) or $250,000 (married filing jointly). It stacks on top of both federal capital gains rates and state taxes. The thresholds have not been adjusted for inflation since 2013.
Can capital losses reduce my tax bill?
Yes. Capital losses first offset capital gains dollar-for-dollar, with no limit. If your total losses exceed your gains, up to $3,000 of the excess can be deducted against ordinary income per year. Any remaining losses carry forward indefinitely to offset gains or claim the $3,000 deduction in future years.
Sources
- IRS, Topic No. 409: Capital Gains and Losses
- Bankrate, Long-Term Capital Gains Tax Rates and Brackets
- Kiplinger, New IRS Long-Term Capital Gains Tax Thresholds
- Kiplinger, Capital Gains Tax Rates and NIIT Explained
- Peter G. Peterson Foundation, How Does the Capital Gains Tax Work Now?
- IRS, About Form 8949, Sales and Other Dispositions of Capital Assets
- IRS Publication 544, Sales and Other Dispositions of Assets


