Tax Planning
Capital Gains Tax: Rates, Examples and Ways to Pay Less
Capital gains tax explained: 2026 and 2027 rates, how gains stack on your income, the 3.8% NIIT, home sales, losses and legal ways to pay less.
Capital gains tax is the federal tax you pay on profit when you sell an investment, a home or another asset for more than you paid. If you held it for more than one year, the gain is long-term and is generally taxed at 0%, 15% or 20%, depending on your taxable income. If you held it for one year or less, it’s short-term and is taxed like your paycheck. A 3.8% surtax and state tax can sit on top.
Capital gains tax in 60 seconds
- You only owe when you sell. A stock that rose 40% isn’t taxed until you sell it. Then you’re taxed on the gain, not the whole sale price.
- One year and one day changes the rate. Long-term gains get the 0%, 15% and 20% rates. Short-term gains get your regular rate of 10% to 37%.
- The 0% rate is real. For 2026, a single filer pays 0% on long-term gains that fit under $49,450 of taxable income. For a married couple filing jointly, the line is $98,900.
- Losses help. Losses cancel out gains, and up to $3,000 of extra loss ($1,500 if married filing separately) can reduce your other income each year.
- Some gains get special treatment. If you owned and lived in your main home for 2 of the last 5 years, you can generally exclude up to $250,000 of gain ($500,000 on a joint return). Inherited assets generally get a new cost basis equal to their value at death, which is usually higher than what the owner paid.
- Retirement accounts are a shelter. Selling inside a 401(k), IRA or Roth IRA doesn’t create a capital gains tax bill.
Your situation, your first move
| Your situation | Your first move |
|---|---|
| You want to sell a stock or fund you’ve held less than a year | Check the purchase date. Waiting until it’s held more than one year may drop your rate. |
| Your taxable income is low this year (job gap, early retirement) | See whether some gains fit in the 0% band before December 31. |
| You have investments worth less than you paid | Consider selling for a loss to offset gains, and avoid the 30-day wash sale trap. |
| You’re selling your home | Add up your purchase costs and improvements. Then test the 2-out-of-5-year rule. |
| You inherited stock or a house | Find the value on the date of death. That’s usually your new basis. |
| You had a big gain this year | Check whether you need an estimated tax payment by January 15, 2027. |
What this guide covers
- What counts as a capital gain
- Short-term vs. long-term: the one-year line
- Capital gains tax rates for 2026 and 2027
- How your gain stacks on top of your income
- The 3.8% net investment income tax
- Capital losses and the wash sale rule
- Selling your home
- Inherited and gifted assets
- Funds, crypto, collectibles and rentals
- State taxes on capital gains
- Legal ways to pay less
- How to report and pay
- FAQ
What counts as a capital gain
Most things you own for personal use or investment are capital assets. The IRS lists examples like a home, household furnishings, and stocks or bonds held as investments. When you sell one, the math is simple:
Amount you receive − your cost basis = capital gain (or loss)
Your cost basis is generally what you paid, plus costs tied to the purchase, like commissions. For a home, it also includes improvements, like a new roof or an addition. Reinvested dividends add to the basis of a fund, too, as FINRA’s cost basis guide explains. Leave them out and you’d pay tax twice on the same money.
A gain on paper isn’t taxed. Investors call it “unrealized.” The tax shows up only when you sell, trade or otherwise dispose of the asset. That gives you a lot of control over when you pay.

Quick glossary
Cost basis: what you paid, plus purchase costs and certain later additions.
Realized gain: a profit you locked in by selling.
Holding period: how long you owned the asset. It decides short-term vs. long-term.
Taxable income: your income after deductions. The capital gains rate bands are measured against it.
Net investment income tax (NIIT): a 3.8% extra tax for higher earners.
Wash sale: selling at a loss and buying the same or a “substantially identical” investment within 30 days before or after. The loss gets disallowed for now.
One limit surprises people. You can’t deduct a loss on personal-use property, like your home or car, according to IRS Topic No. 409. Gains on those items can be taxable, but losses don’t count.
Short-term vs. long-term: the one-year line
The holding period is the single biggest lever you control. The IRS rule in Publication 550 is to start counting on the day after you bought the asset. To be long-term, you must hold it for more than one year.
Here’s what that looks like. Say you bought shares on March 10, 2025. Your holding period started March 11, 2025. A sale on March 10, 2026 is short-term. A sale on March 11, 2026 or later is long-term.
| Short-term gain | Long-term gain | |
|---|---|---|
| Held | One year or less | More than one year |
| Federal rate | Your ordinary rate, 10% to 37% | 0%, 15% or 20% for most assets |
| Same rates also apply to | Wages, interest, nonqualified (ordinary) dividends | Qualified dividends |
| Can add 3.8% NIIT? | Yes, above the income limits | Yes, above the income limits |
Qualified dividends get the same 0%, 15% and 20% rates as long-term gains. To qualify, Publication 550 says you generally must have held the stock for more than 60 days during the 121-day period that starts 60 days before the ex-dividend date. Some preferred stock dividends have a longer 90-day test.

Some assets come with their own holding rules. Inherited property is always treated as long-term, no matter how briefly you owned it. Gifted property usually picks up the giver’s holding period. Both rules appear in Publication 550.
Capital gains tax rates for 2026 and 2027
The rate bands below come straight from the IRS revenue procedures that set each year’s inflation adjustments: Rev. Proc. 2025-32 for tax year 2026 and Rev. Proc. 2026-35 for tax year 2027. Tax year 2026 covers sales from January 1 through December 31, 2026. You report them on the return you file in 2027.
One heads-up. As of December 4, 2026, the IRS’s own Topic No. 409 page still showed the 2025 thresholds. The revenue procedures are the official source for 2026 and 2027.
Long-term rates for tax year 2026 (sales in 2026)
| Filing status | 0% rate | 15% rate | 20% rate |
|---|---|---|---|
| Single | Up to $49,450 | $49,451 to $545,500 | Over $545,500 |
| Married filing jointly | Up to $98,900 | $98,901 to $613,700 | Over $613,700 |
| Head of household | Up to $66,200 | $66,201 to $579,600 | Over $579,600 |
| Married filing separately | Up to $49,450 | $49,451 to $306,850 | Over $306,850 |
Taxable income ranges. Source: IRS Rev. Proc. 2025-32, section 4.03.
Long-term rates for tax year 2027 (sales in 2027)
| Filing status | 0% rate | 15% rate | 20% rate |
|---|---|---|---|
| Single | Up to $51,050 | $51,051 to $563,200 | Over $563,200 |
| Married filing jointly | Up to $102,100 | $102,101 to $633,600 | Over $633,600 |
| Head of household | Up to $68,350 | $68,351 to $598,400 | Over $598,400 |
| Married filing separately | Up to $51,050 | $51,051 to $316,800 | Over $316,800 |
Taxable income ranges. Source: IRS Rev. Proc. 2026-35, section 3.03. NerdWallet and Fidelity list the same 2026 and 2027 figures.
Short-term gains use the regular brackets
Short-term gains are added to your wages and other ordinary income. For 2026, the 22% bracket starts at $50,400 of taxable income for single filers and $100,800 for married couples filing jointly, per Rev. Proc. 2025-32. Our guide to how federal income taxes work walks through every bracket, including the 2027 figures.
Two special long-term rates
- 28%: net gains on collectibles, such as art, antiques, gems, stamps, coins, precious metals and alcoholic beverages, plus the taxable part of gain on qualified small business stock (Publication 550).
- 25%: “unrecaptured section 1250 gain.” That’s the part of a gain on real estate that comes from depreciation you claimed, such as on a rental (Topic 409).
Founders and early investors in some small C corporations may be able to exclude part or all of their gain on qualified small business stock under section 1202, per Publication 550. The rules are strict, so get professional help.
These are maximum rates. If your income is low, the gain can be taxed at a lower rate.
Today’s top rate is mid-range by recent standards. Tax Foundation’s historical series shows the top federal rate on long-term gains ranging from 15% to about 29% since 1980, counting surtaxes and other add-ons. It has been 23.8% since 2018: the 20% rate plus the 3.8% NIIT.

How your gain stacks on top of your income
Rate tables often leave this part out, and it’s where people guess wrong. The 0%, 15% and 20% bands aren’t based on your gain alone. They’re based on your total taxable income, with your long-term gains and qualified dividends stacked on top of everything else.
Think of a glass. Your ordinary taxable income (wages minus deductions) fills it first. Your long-term gain pours in on top. Whatever part of the gain sits below the 0% line is tax-free. The part above it is taxed at 15%, and anything above the 15% line is taxed at 20%.
A gain doesn’t push your wages into a higher bracket. The stack works the other way. Your wages decide where the gain starts.
Example 1: a single filer with a $20,000 gain
This hypothetical uses tax year 2026 rules. A single filer earns $60,000 in wages, takes the $16,100 standard deduction and has no other income. Ordinary taxable income is $43,900. They sell a fund with a $20,000 gain.
| Piece of the gain | Amount | Rate | Tax |
|---|---|---|---|
| Fits under the $49,450 line | $5,550 | 0% | $0 |
| Above the line | $14,450 | 15% | $2,167.50 |
| Total if long-term | $20,000 | about 10.8% overall | $2,167.50 |
| Total if short-term | $20,000 | 12% and 22% | $3,750 |
Holding for more than a year would save this filer $1,582.50. The short-term version is taxed at 12% on the first $6,500 (up to $50,400) and 22% on the remaining $13,500.

Example 2: a retired couple in the 0% band
This hypothetical couple files jointly for 2026. After their deductions, they have $60,000 of taxable ordinary income from pensions, IRA withdrawals and the taxable part of Social Security. To keep it simple, assume 85% of their Social Security, the most that can be taxed, is already taxable, so the sale doesn’t change that. They sell stock with a $30,000 long-term gain.
Their total taxable income is $90,000, which is under the $98,900 line. The whole $30,000 gain is taxed at 0%. They could have realized up to $38,900 of long-term gain before any of it hit 15%.
There’s a catch. A capital gain still raises your adjusted gross income, even when it’s taxed at 0%. That can make more of your Social Security benefit taxable, as IRS Publication 915 explains, and it can raise Medicare premiums two years later through the income-related surcharge described by the Social Security Administration. For 2025 through 2028, a higher income can also shrink the new senior deduction of up to $6,000 per person age 65 or older, which the IRS says phases out above $75,000 of modified AGI ($150,000 joint). Run your full return both ways before you sell.
Do-it-yourself estimate
| Step | What to write down | Your number |
|---|---|---|
| 1 | Taxable income without the gain (income minus deductions) | $______ |
| 2 | Your 0% line from the table above | $______ |
| 3 | Room in the 0% band (line 2 − line 1, not below $0) | $______ |
| 4 | Long-term gain above that room × 15% | $______ |
| 5 | If your modified AGI is over the NIIT limit: 3.8% × the smaller of your investment income or the amount over the limit | $______ |
This rough estimate assumes all of your gain is long-term, that you stay under the 20% line and that your income doesn’t trigger other changes. Tax software or a tax pro can check the full picture.
The 3.8% net investment income tax
Higher earners can owe an extra 3.8% on investment income, including capital gains, dividends and interest. IRS Topic No. 559 lists the income lines, based on modified adjusted gross income (MAGI):
| Filing status | NIIT applies above this MAGI |
|---|---|
| Single or head of household | $200,000 |
| Married filing jointly or qualifying surviving spouse | $250,000 |
| Married filing separately | $125,000 |
The tax applies to the smaller of two numbers: your net investment income, or the amount your MAGI is over the line. The IRS’s NIIT questions and answers point out that these lines are not indexed for inflation. Kiplinger makes the same point. So, unlike the rate bands, they don’t rise each year.
Example 3: crossing the NIIT line
This hypothetical single filer earns $180,000 in wages (also their MAGI before the sale) and sells stock with a $60,000 long-term gain in 2026.
- Ordinary taxable income after the $16,100 standard deduction: $163,900. The whole gain fits in the 15% band: $9,000.
- MAGI rises to $240,000, which is $40,000 over the line. The NIIT applies to the smaller of $60,000 or $40,000: 3.8% × $40,000 = $1,520.
- Total federal tax on the gain: $10,520, or about 17.5% of it.
Most capital gain dollars go to high earners. In the IRS’s preliminary data for tax year 2022, returns with AGI of $250,000 or more made up about 20% of the returns reporting a net capital gain. They reported about 89% of the dollars. Keep in mind that AGI includes the gains themselves, so a one-time big sale can land someone in the top group for that year.

Capital losses and the wash sale rule
Losses are the other half of the story. Short-term losses first offset short-term gains, and long-term losses offset long-term gains. Then the two totals net against each other. Schedule D is built in that order, with short-term sales in Part I and long-term sales in Part II.
Per Topic 409, if you still have a net loss, you can deduct up to $3,000 of it from other income each year ($1,500 if married filing separately). Anything above that carries over to later years. You track it on the Capital Loss Carryover Worksheet in the Schedule D instructions.
Example 4: harvesting a loss
This hypothetical investor is in the 22% ordinary bracket and the 15% long-term band. During the year they have a $2,000 short-term gain and a $5,000 long-term gain. Before December 31, they sell a fund that’s down $10,000 after holding it more than a year.
- Long-term: $5,000 gain − $10,000 loss = $5,000 net long-term loss.
- That loss wipes out the $2,000 short-term gain, leaving a $3,000 net loss.
- The $3,000 reduces ordinary income. Nothing is left to carry forward.
Rough tax saved this year: $440 on the short-term gain, $750 on the long-term gain and $660 from the $3,000 deduction. That’s about $1,850. Schwab’s guide to tax-loss harvesting adds that losses inside an IRA or 401(k) can’t be deducted. Harvesting isn’t free money, though. Your replacement investment starts with a lower cost basis (today’s lower price), so some of that tax can come back later when you sell it.
The wash sale trap
Publication 550 says a wash sale happens when you sell at a loss and, within 30 days before or after, you buy substantially identical stock or securities. The window covers 61 days in all. Buying an option to acquire the shares counts too. So does a purchase by your spouse or by a corporation you control. The loss is disallowed for now and added to the cost basis of the new shares.
The rule also reaches your retirement accounts. If you sell at a loss in a taxable account and buy the same fund in your IRA or Roth IRA within the window, it’s a wash sale. Under Revenue Ruling 2008-5, the loss isn’t added to the IRA’s basis. In practice, the loss is gone for good.
A common approach is to swap into a similar fund that isn’t “substantially identical,” such as an index fund that tracks a different index. IRS guidance doesn’t spell out when two funds are substantially identical, so be careful with near-twins. Our guide to how index funds work explains how funds that track different indexes can differ.

Selling your home
A main home gets a large tax break. Under IRS Topic No. 701, you can exclude up to $250,000 of gain, or $500,000 on a joint return, if you pass two tests:
- Ownership: you owned the home for at least 24 months in the 5 years before the sale.
- Use: you lived in it as your main home for at least 24 months in those 5 years. The months don’t have to be in a row.
On a joint return, either spouse can meet the ownership test, but both must meet the use test for the full $500,000. You generally can’t use the exclusion if you excluded gain on another home in the 2 years before.
Fall short of 2 years? IRS Publication 523 allows a partial exclusion if the main reason for the sale was a work-related move, a health reason or an unforeseeable event. A work-related move automatically qualifies if, for example, your new job is at least 50 miles farther from the home than your old job was. Other situations may also qualify, so check Publication 523.
Example 5: when improvements matter
This hypothetical married couple bought their home for $310,000 and later spent $60,000 on a new roof, a kitchen remodel and a deck. They sell for $960,000 and pay $55,000 in selling costs. Assume they file jointly and both meet the ownership and use tests.
| Line | Tracking improvements | Forgetting improvements |
|---|---|---|
| Sale price minus selling costs | $905,000 | $905,000 |
| Cost basis | $370,000 | $310,000 |
| Gain | $535,000 | $595,000 |
| Taxable after $500,000 exclusion | $35,000 | $95,000 |
At a 15% rate, the receipts are worth $9,000 in tax. The taxable $35,000 also counts toward the 3.8% NIIT if their MAGI is over $250,000, since only the excluded part is exempt. Repairs and routine maintenance generally don’t count, per Publication 523. Improvements that add value or extend the home’s life do.
“That adds up over time and can bring them fully within the [$250,000 or $500,000 capital gains] exclusion.”
Mark Baran, managing director at CBIZ’s national tax office, on capital improvements, to CNBC (via NBC 7 San Diego), Feb. 18, 2025
Two more rules to know. If you claimed depreciation on the home for business or rental use after May 6, 1997, that part of the gain can’t be excluded, per Publication 523. And if you get a Form 1099-S, you must report the sale even when the whole gain is excluded. Special rules apply to surviving spouses, members of the military and Foreign Service, and homes that weren’t your main home for periods after 2008, so check Publication 523 if any of those fit you.

Inherited and gifted assets
How you got an asset changes your basis, and your basis drives your tax.
Inherited: According to IRS Publication 551, your basis is generally the fair market value on the date the owner died (or an alternate date if the estate elects it). That’s called a “step-up” when the asset has grown. Any gain is long-term no matter how soon you sell.
Gifted while the giver is alive: You generally take the giver’s basis for figuring a gain. If the value at the time of the gift was below the giver’s basis, a special rule uses that lower value for figuring a loss. If you sell for a price between those two numbers, Publication 551 says you have neither a gain nor a loss.
Example 6: same fund, two paths
In this hypothetical, a parent bought fund shares for $40,000. They’re worth $150,000 when the parent dies. The child sells them later for $155,000.
- Inherited: basis $150,000, gain $5,000.
- Gifted before death: basis $40,000, gain $115,000. At 15%, that’s $17,250 in federal tax.
This is one reason older investors sometimes hold their most appreciated assets rather than give them away early. It’s a trade-off, though, and it ignores estate tax, care costs and family needs. Retirement accounts are different: they don’t get a step-up. Our guide to beneficiary designations covers how inherited IRAs are taxed.
Funds, crypto, collectibles and rentals
Mutual fund distributions
Mutual funds pass their own trading gains to shareholders, usually near year-end. Publication 550 says to report capital gain distributions as long-term, no matter how long you’ve owned the fund. The SEC’s Investor.gov bulletin on fund distributions notes that in a taxable account, you may owe tax on them even if you reinvest.
A distribution doesn’t make you richer. Vanguard explains that the fund’s share price typically drops by the amount paid out. So buying a fund in a taxable account right before a big distribution can hand you a tax bill on gains you never enjoyed. Vanguard also explains that the in-kind trades ETFs use to handle redemptions aren’t considered taxable events, which adds to ETFs’ tax efficiency.
Crypto and other digital assets
The IRS treats digital assets as property, not currency. Selling, trading one coin for another or spending crypto can create a gain or loss. Brokers must report gross proceeds for transactions on or after January 1, 2025, and basis on certain transactions on or after January 1, 2026, on the new Form 1099-DA. The IRS’s 1099-DA guide says you must report all digital asset gains and losses, whether or not you get the form.
Collectibles and rental property
Long-term gains on collectibles can be taxed at up to 28%. For rentals, the part of the gain that came from depreciation can be taxed at up to 25%, and the rest at the normal 0%, 15% or 20%. Rental sales get complicated fast, so this is a good time for a tax pro.
State taxes on capital gains
Your state may want a share, too. Many states simply tax capital gains as regular income. California, for example, gives them no lower rate, according to its Franchise Tax Board. A few states have special rules. Tax Foundation’s 2026 table shows that Minnesota (up to 10.85%), Washington (9.9%) and Maryland (8.50%) can tax some gains at higher rates than ordinary income, counting surtaxes. It also notes that Missouri repealed its tax on capital gains as of January 1, 2025.
Washington has no broad income tax for now, though a 9.9% tax on income above $1 million is scheduled to start in 2028, according to the state’s 2026 legislative summary. The state already taxes some capital gains. The Washington Department of Revenue lists a $290,000 standard deduction for 2026. The rate is 7% on the first $1 million of taxable Washington capital gains and 9.9% on the amount above that, per its 2025 notice. Real estate is exempt from that tax.
Rules differ a lot from state to state, so check your state revenue department before a big sale.
Legal ways to pay less
None of these moves erase taxes by magic. Most either shift when you pay, lower the rate or use a break Congress wrote on purpose.
- Hold for more than one year when it makes sense. Example 1 showed a $1,582.50 difference on a $20,000 gain.
- Fill the 0% band. In a low-income year, selling winners and buying them back resets your basis higher. The part of the gain that fits in the 0% band costs no federal tax. The wash sale rule applies only to losses, not gains.
- Harvest losses to offset gains and up to $3,000 of other income.
- Use tax-sheltered accounts. Trades inside a 401(k), IRA or Roth IRA don’t create capital gains tax. See our Roth vs. traditional IRA guide for how withdrawals are taxed instead.
- Pick your shares. If you bought at different prices, you can tell your broker which shares to sell. Without instructions, Publication 550 says the first shares you bought are treated as sold first. If prices rose over time, that’s the cheapest lot with the biggest gain. Fidelity, for example, uses first in, first out by default for all securities except mutual funds, which get average cost.
- Give appreciated shares instead of cash. For stock held more than a year, IRS Publication 526 generally lets itemizers deduct the full market value, usually up to 30% of AGI for gifts to public charities. Starting in 2026, itemizers can deduct only charitable gifts above 0.5% of AGI, per Publication 505.
- Spread a big sale over two tax years so less of the gain lands in a higher band. A sale on December 31 and one in early January fall in different tax years.
“If you donate the stock directly to charity, you don’t owe taxes on a sale, and neither does the charity when they sell it. Everyone wins except the IRS.”
Michael Lofley, CFP, then with HBKS Wealth Advisors, to CNBC (via NBC Boston), Dec. 3, 2024
Example 7: giving stock vs. giving cash
In this hypothetical, you plan to give $10,000 to a public charity. You own shares worth $10,000 that you bought for $4,000 more than a year ago, and you’re in the 15% long-term band. Selling first would cost $900 in federal tax on the $6,000 gain. Giving the shares directly skips that $900. If you itemize, the deduction is the same either way, subject to the new 0.5%-of-AGI floor. If you don’t itemize, the new deduction of up to $1,000 ($2,000 joint) that starts in 2026 covers cash gifts only, not stock, according to the IRS. Giving shares still avoids the $900 tax, which is worth more than that deduction here.

What the experts say about harvesting
Tax-loss harvesting has fans and skeptics, and both have a point.
“Tax-loss harvesting is a tried and true strategy to lower investors’ tax bills.”
David Flores Wilson, CFP, then managing partner at Sincerus Advisory, to CNBC (via NBC Bay Area), Nov. 15, 2024
“The goal isn’t necessarily to eliminate taxes. It’s to keep taxes from dictating the entire investment strategy.”
Jamie Botsko, senior family office wealth adviser at Greenleaf Trust, to Kiplinger, Oct. 22, 2026
Vanguard’s research puts numbers on the debate. Its 2024 paper, “Tax-loss harvesting: Why a personalized approach is important,” projected median after-tax benefits of 0.47% to 1.27% a year, averaged over 15 years, on taxable stock holdings for investors who behave well, such as reinvesting the tax savings. When investors didn’t, the estimate fell to 0.04% to 0.13%. The value also shrinks when spread across a whole portfolio. Vanguard also warns that harvesting can backfire for investors in the 0% bracket and suggests they generally skip it.
Our take: harvest losses when they show up and you were going to rebalance anyway. Don’t hold an investment you no longer want just to dodge a tax bill.
Mistakes that cost people money
- Selling a day too early. Count from the day after you bought. One day can move a gain from 15% to 22% or more.
- Buying the same fund in your IRA right after a loss sale. That turns a deductible loss into no loss at all.
- Forgetting reinvested dividends in your basis. You’d pay tax twice on the same money.
- Losing home improvement receipts. They can lower your gain on a sale above the exclusion.
- Assuming a 0% gain has no other effects. It still raises AGI.
- Skipping estimated taxes after a big sale. That can lead to an underpayment penalty.
- Trusting a stale rate table. Check the year at the top. Some popular pages still show older thresholds.

How to report and pay
Your broker sends Form 1099-B, which FINRA’s cost basis guide says is due to investors by February 15. It lists proceeds, and often your cost basis and whether each gain is short- or long-term. Crypto platforms now send Form 1099-DA.
Most sales go on Form 8949, with totals on Schedule D of Form 1040, per Topic 409. Check the basis your broker shows. For older shares, gifts, inherited assets and shares moved between brokers, the basis can be missing or wrong.
Don’t get surprised by an underpayment penalty
Withholding from your paycheck doesn’t know you sold stock. IRS Topic No. 306 says you generally avoid a penalty if you owe less than $1,000 after withholding and credits, or if you paid at least 90% of this year’s tax or 100% of last year’s. The 2026 Form 1040-ES raises that 100% to 110% if your 2025 AGI was over $150,000 ($75,000 if married filing separately). The last 2026 estimated payment is due January 15, 2027. Form 1040-ES says you can skip that payment if you file your 2026 return by February 1, 2027, and pay the full balance. Topic 306 also points to the annualized installment method, which can help when a big gain comes late in the year.
Want the big ideas in video form? Here’s a short NerdWallet video from January 2025 on cutting capital gains tax. The ideas still apply, but use the 2026 numbers above.
The short version
- You owe capital gains tax only when you sell, and only on the gain above your cost basis.
- Holding more than one year moves a gain from ordinary rates (10% to 37%) to 0%, 15% or 20%.
- The rate bands use your total taxable income, with long-term gains stacked on top.
- For 2026, long-term gains under $49,450 of taxable income (single) or $98,900 (joint) are taxed at 0%.
- The 3.8% NIIT starts at $200,000 of MAGI (single) or $250,000 (joint), and those lines don’t rise with inflation.
- Losses offset gains plus $3,000 of other income a year ($1,500 if married filing separately). Buying the same investment within 30 days before or after the sale, even in an IRA, can wipe out the deduction.
- Home sellers who meet the ownership and use tests can exclude up to $250,000 or $500,000 of gain, and inherited assets usually get a stepped-up basis.
- After a big gain, check whether you need an estimated payment by January 15, 2027.
FAQ
What is the capital gains tax rate for 2026?
Long-term gains are taxed at 0%, 15% or 20%. For 2026, single filers pay 0% up to $49,450 of taxable income and 20% above $545,500. Married couples filing jointly pay 0% up to $98,900 and 20% above $613,700. Short-term gains are taxed at ordinary rates.
How long do I have to hold a stock to pay the lower rate?
More than one year. Start counting the day after you bought it. Shares bought on March 10, 2025 became long-term on March 11, 2026.
Do I pay capital gains tax if I reinvest the money?
Yes, in a regular taxable account. Selling triggers the tax even if you buy something else right away. Selling and buying inside an IRA, 401(k) or Roth IRA doesn’t create capital gains tax.
Can capital gains push me into a higher tax bracket?
They don’t raise the rate on your wages. But a big gain can push part of itself into a higher capital gains band, add the 3.8% NIIT and raise your AGI. A higher AGI can affect other income-based items.
Do I owe tax when I sell my house?
Not if you owned and lived in it for 2 of the last 5 years and your gain is under the limit. You also can’t have excluded gain on another home in the past 2 years. You can exclude up to $250,000 of gain, or $500,000 if you file jointly and both spouses meet the use test. Gain above that is taxed as a capital gain.
How are inherited stocks taxed?
Your basis is usually the value on the date the owner died. You pay tax only on growth after that date, and the gain counts as long-term. Inherited IRAs and 401(k)s follow different rules.
Is crypto taxed like stock?
For capital gains purposes, mostly yes. The IRS treats digital assets as property, so the same short- and long-term rules apply. Trading one coin for another is a taxable sale.
How much of a capital loss can I deduct?
Losses first offset gains. After that, you can deduct up to $3,000 a year from other income ($1,500 if married filing separately). The rest carries forward.
Your move this week
Log in to your brokerage account and open the “unrealized gains and losses” or cost basis view. Write down three numbers: your total short-term gains so far this year, your total long-term gains and any positions sitting at a loss. Then compare your expected 2026 taxable income with the 0% line in the table above. If you have losses to harvest or room in the 0% band, you have until December 31, 2026 to act. If you’re new to investing in a taxable account, our guide on how to start investing shows how account choice affects taxes.
About this guide
Published by Daniel Brienza, founder and editor of Sensible Money Guide (B.S. in Business Administration, University of South Florida). This guide was researched and drafted with the help of AI tools, fact-checked against the primary sources listed below, and reviewed and edited by Daniel before publishing. Daniel is not a licensed financial advisor; this guide is for general education.
Written December 4, 2026. Facts and figures are based on data available on that date.
Sources
IRS sources
- IRS, Topic No. 409, Capital gains and losses, accessed December 2026.
- IRS, Revenue Procedure 2025-32 (tax year 2026 inflation adjustments), October 2025.
- IRS, Revenue Procedure 2026-35 (tax year 2027 inflation adjustments), November 2026.
- IRS, Publication 550, Investment Income and Expenses (2025), accessed December 2026.
- IRS, Topic No. 559, Net investment income tax, accessed December 2026.
- IRS, Questions and Answers on the Net Investment Income Tax, accessed December 2026.
- IRS, Topic No. 701, Sale of your home, accessed December 2026.
- IRS, Publication 523, Selling Your Home (2025), accessed December 2026.
- IRS, Publication 551, Basis of Assets (December 2025).
- IRS, Revenue Ruling 2008-5, 2008.
- IRS, Digital assets, accessed December 2026.
- IRS, Understanding your Form 1099-DA, accessed December 2026.
- IRS, Publication 505, Tax Withholding and Estimated Tax (2026), accessed December 2026.
- IRS, IRS reminder: Permanent charitable contribution deduction begins for returns filed next year for taxpayers who do not itemize (IR-2026-135), November 10, 2026.
- IRS, Working Families Tax Cuts: individuals and workers, accessed December 2026.
- IRS, Publication 526, Charitable Contributions (2025), accessed December 2026.
- IRS, Topic No. 306, Penalty for underpayment of estimated tax, accessed December 2026.
- IRS, Form 1040-ES, Estimated Tax for Individuals (2026).
- IRS, Publication 915, Social Security and Equivalent Railroad Retirement Benefits, accessed December 2026.
- IRS Statistics of Income, Individual Income Tax Returns, Preliminary Data, Tax Year 2022, Spring 2024.
Other government and official sources
- Social Security Administration, Premiums: Rules for Higher-Income Beneficiaries, accessed December 2026.
- U.S. Securities and Exchange Commission, Investor.gov, Fund Distributions: Investor Bulletin, August 19, 2026.
- FINRA, Cost Basis Basics, April 16, 2024.
- Washington State Department of Revenue, Do you owe capital gains tax?, accessed December 2026.
- Washington State Department of Revenue, Summary of 2026 Legislation, April 2026.
- California Franchise Tax Board, Capital gains and losses, accessed December 2026.
- Washington State Department of Revenue, New tiered rates for Washington’s capital gains tax, June 30, 2025.
Banks, investment firms and research
- Vanguard, Mutual funds and ETFs: Understanding capital gains, October 1, 2026.
- Vanguard Research, Tax-loss harvesting: Why a personalized approach is important, July 2024.
- Charles Schwab, How to Cut Your Tax Bill with Tax-Loss Harvesting, December 11, 2024.
- Fidelity, 2026 and 2027 capital gains tax rates, November 9, 2026.
- Fidelity, Capital Gains and Cost Basis, accessed December 2026.
- Tax Foundation, State Tax Rates on Long-Term Capital Gains, 2026, November 9, 2026.
- Tax Foundation, Federal Taxes on Capital Gains for Returns with Positive Net Capital Gains, 1913-2025, August 15, 2025.
News and personal finance media
- NerdWallet, Capital Gains Tax: Long and Short-Term Rates for 2026-2027, November 6, 2026.
- Kiplinger, Capital Gains Tax Rates 2025 and 2026: Updated Brackets, Rules and Comparison, April 10, 2026.
- Kiplinger, Why Avoiding Capital Gains Can Sometimes Cost You More, October 22, 2026.
- CNBC (via NBC Bay Area), Here’s why tax-loss harvesting can be easier with exchange-traded funds, November 15, 2024.
- CNBC (via NBC Boston), ‘Everyone wins except the IRS’ with this legal charitable donation strategy, advisor says, December 3, 2024.
- CNBC (via NBC 7 San Diego), This lesser-known tax strategy could help to reduce capital gains on your home sale, February 18, 2025.
- NerdWallet (YouTube), How To Reduce Capital Gains Tax, January 2, 2025.
This article is for educational purposes only and isn’t financial advice. Consider talking with a qualified professional about your situation.

You must be logged in to post a comment Login