Capital Gains Tax on Stocks: 2025-2026 Guide to Rates, Rules and Strategies
Commitment to Our Readers
GOBankingRates' editorial team is committed to bringing you unbiased reviews and information. We use data-driven methodologies to evaluate financial products and services - our reviews and ratings are not influenced by advertisers. You can read more about our editorial guidelines and our products and services review methodology.
20 Years
Helping You Live Richer
Reviewed
by Experts
Trusted by
Millions of Readers
If you sell stocks for a profit in 2025 or 2026, you’ll owe capital gains tax on the difference between what you paid and what you sold them for. The rate you pay depends on how long you held the stock and your taxable income. Short-term gains are taxed at your ordinary income rate, while long-term gains are taxed at lower rates of 0%, 15%, or 20% for most investors.
This guide breaks down the current capital gains tax rates, key IRS rules, and smart strategies to help you reduce what you owe. Whether you’re selling a few shares or managing a larger portfolio, understanding how the rules work can help you plan ahead and keep more of your returns.
Smart Moves That Can Shrink Your Capital Gains Tax Bill
If you want to keep more of your investment returns, a little planning goes a long way. These practical strategies can help reduce — or even avoid — capital gains taxes over time.
- Hold investments longer than one year. Selling after the one-year mark qualifies you for lower long-term capital gains rates, which are typically far more favorable than short-term income tax rates.
- Use tax-loss harvesting strategically. Before year-end, review losing positions you could sell to offset realized gains. This can directly lower your taxable profit — and potentially reduce other taxable income.
- Favor tax-efficient investments. Index funds and ETFs often generate fewer taxable capital gains distributions than actively managed funds, making them more tax-friendly for brokerage accounts.
- Invest through retirement accounts when possible. Accounts like 401(k)s and IRAs generally shield investments from capital gains taxes while the money remains in the account, allowing gains to grow tax-deferred or even tax-free, depending on the account type.
What Is Capital Gains Tax?
When you sell a stock for more than you paid, the IRS taxes the profit as a capital gain. That tax applies only to realized gains — meaning you’ve actually sold the shares and locked in the profit. If your investments have gone up but you’re still holding them, those are unrealized gains, and you don’t owe tax on them yet.
Capital gains fall into two buckets: short-term and long-term. The difference comes down to how long you held the stock before selling — and it matters. Short-term gains are taxed at your regular income tax rate, while long-term gains qualify for lower tax rates. How long you hold an investment can directly affect how much of your profit you get to keep.
Short-Term vs. Long-Term Capital Gains
How long you hold a stock before selling it can dramatically change your tax bill. Capital gains are split into two categories — short-term and long-term — and each is taxed very differently.
Short-Term Capital Gains Tax
Short-term capital gains apply to stocks held one year or less before being sold. These gains are taxed at your ordinary income tax rate, the same rates that apply to wages or salary.
That means you’ll pay anywhere from 10% to 37%, depending on your income bracket. For higher earners, this can significantly reduce your after-tax return — especially if you’re actively trading.
Long-Term Capital Gains Tax
Long-term capital gains apply to stocks held more than one year before selling. These gains benefit from preferential tax treatment.
Depending on your taxable income, you’ll generally pay 0%, 15%, or 20% — rates that are typically lower than ordinary income tax brackets. This built-in tax advantage is one reason buy-and-hold investing can be more tax-efficient over time.
Capital Gains Tax Rates
Capital gains tax rates are calculated on your taxable income and how long you’ve held the asset. Knowing these rates can help investors estimate and mitigate their tax liability.
Here are the tax rates applied to short-term and long-term capital gains for different filing statuses in 2025 and 2026.
How Short-Term Capital Gains Are Taxed
If you sell a stock you’ve held for one year or less, your profit is taxed as ordinary income. That means it’s added to your wages and taxed at your regular federal income tax rate — anywhere from 10% to 37%, depending on your bracket.
Because short-term gains don’t qualify for lower investment tax rates, active traders and higher-income earners often face a noticeably larger tax bill.
How Long-Term Capital Gains Are Taxed
If you hold a stock for more than one year, your gain qualifies for preferential long-term capital gains rates. For most investors, that means paying 0%, 15%, or 20%, depending on taxable income.
Those lower rates are designed to reward longer-term investing — and they can make a meaningful difference in how much of your profit you keep.
2025 Long-Term Capital Gains Tax Brackets
| Filing Status | 0% Rate | 15% Rate | 20% Rate |
|---|---|---|---|
| Single | Up to $48,350 | $48,351 – $533,400 | Over $533,400 |
| Married Filing Jointly | Up to $96,700 | $96,701 – $600,050 | Over $600,050 |
| Married Filing Separately | Up to $48,350 | $48,351 – $300,000 | Over $300,000 |
| Head of Household | Up to $64,750 | $64,751 – $566,700 | Over $566,700 |
2026 Long-Term Capital Gains Tax Brackets
| Filing Status | 0% Rate | 15% Rate | 20% Rate |
|---|---|---|---|
| Single | Up to $49,450 | $49,451 – $545,500 | Over $545,500 |
| Married Filing Jointly | Up to $98,900 | $98,901 – $613,700 | Over $613,700 |
| Married Filing Separately | Up to $49,450 | $49,451 – $306,850 | Over $306,850 |
| Head of Household | Up to $66,200 | $66,201 – $579,600 | Over $579,600 |
What These Thresholds Mean
- Single filers earning under $49,450 in 2026 pay 0% on long-term capital gains
- Most middle-income investors fall into the 15% bracket
- Higher earners — single filers above $545,500 in 2026 — pay 20%
The takeaway is that timing matters. Holding investments for more than a year can lower your tax rate significantly — and potentially keep thousands more dollars in your portfolio.
How to Calculate Capital Gains Tax
Figuring out your capital gains tax isn’t complicated once you break it down. At its core, you’re calculating your profit — then applying the correct tax rate. Here’s a simple four-step way to do it.
Step 1: Get Clear on Your Cost Basis
Your cost basis is what you originally paid for the investment, plus any commissions or fees. If you own mutual funds or dividend-paying stocks, it can also include reinvested dividends.
For example, if you bought a stock for $5,000 and later sold it, your starting point — your cost basis — is $5,000.
Step 2: Figure Out What You Actually Received
Next, look at your net sales proceeds — the amount you received when you sold the investment, after subtracting any transaction fees or commissions.
In this example, you sold the stock for $7,500, and that’s the amount you walked away with.
Step 3: Calculate Your Gain
Now subtract your cost basis from your net proceeds.
$7,500 sale price– $5,000 cost basis= $2,500 capital gain
That $2,500 is your taxable profit.
Step 4: Apply the Right Tax Rate
The rate you’ll pay depends on two things
- How long you held the investment
- Your taxable income
If you held the stock for more than one year and fall into the 15% long-term capital gains bracket, your tax would be:
$2,500 ?– 15% = $375 owed in capital gains tax
Calculate the gain, confirm your holding period, apply your bracket — and you’ll know what to expect before tax season rolls around.
How Tax-Loss Harvesting Can Lower Your Capital Gains Bill
If you’ve realized gains this year, tax-loss harvesting can help soften the blow. The strategy involves selling investments at a loss to offset taxable gains — reducing what you owe while giving you a chance to rebalance your portfolio.
Here’s how it works, step by step.
- Identify losing investments. Review your portfolio for stocks or funds currently worth less than what you paid. Realizing those losses can offset gains from profitable sales.
- Sell the losing position. Once you sell, the loss becomes realized for tax purposes. For example, if you have $5,000 in gains and realize a $15,000 loss, the loss first eliminates the $5,000 gain — meaning you owe no capital gains tax on those profits.
- Apply excess losses to ordinary income. If your total losses exceed your gains, you can use up to $3,000 per year to reduce your taxable income.
- Carry forward any remaining losses. If your losses exceed $3,000, the remaining amount can roll over into future tax years until it’s fully used.
Final Take
Paying capital gains tax usually means your investments performed well — and that’s a good problem to have. The goal now is to manage the tax impact thoughtfully. With strategies like tax-loss harvesting, you can potentially lower your bill while keeping your long-term investment plan intact.
If you’re unsure how to minimize your capital gain taxes, consult a tax professional or use tax software to explore your best options.
Our in-house research team and on-site financial experts work together to create content that’s accurate, impartial, and up to date. We fact-check every single statistic, quote and fact using trusted primary resources to make sure the information we provide is correct. You can learn more about GOBankingRates’ processes and standards in our editorial policy.
- IRS. "Topic No. 409 Capital Gains and Losses."
- Legal Information Institute. "capital gains."
- Fidelity. "How to cut investment taxes."
- Charles Schwab. "How to Cut Your Tax Bill with Tax-Loss Harvesting."
- TurboTax. "A Guide to the Capital Gains Tax Rate: Short-term vs. Long-term Capital Gains Taxes."
- IRS. 2025. "HomeHelpTax topics Topic no. 409, Capital gains and losses Topic no. 409, Capital gains and losses."
- Peter G. Peterson Foundation. 2024. "How Does the Capital Gains Tax Work Now, and What Are Some Proposed Reforms?"
- Fidelity. 2024. "2024 and 2025 capital gains tax rates."
Written by
Edited by 


















