Short-term gains taxed as high as 37%. Long-term rates hit 20% plus the 3.8% Net Investment Income Tax. Here's the exact math.
Roberto Castillo, a 46-year-old restaurant owner in San Antonio, Texas, thought he had a handle on his taxes. He'd sold a piece of commercial kitchen equipment for around $18,000 in early 2026, figuring the profit was just another line on his Schedule C. But when his CPA ran the numbers, the estimated tax bill on that sale alone came to roughly $4,700. 'I almost wrote a check for the full amount before I asked about capital gains rates,' he recalls. That hesitation saved him around $1,200 after his CPA reclassified the asset and applied a long-term holding period he'd nearly missed. The difference between short-term and long-term capital gains rates is one of the most expensive mistakes business owners make.
In 2026, the federal government taxes capital gains at rates ranging from 0% to 37%, depending on how long you held the asset and your total taxable income. Add the 3.8% Net Investment Income Tax (NIIT) for high earners, plus state taxes in most states, and your effective rate can exceed 50% in places like California or New York. This guide covers: (1) the exact 2026 rate brackets for short-term and long-term gains, (2) how the NIIT and state taxes stack on top, (3) three strategies to reduce your tax bill legally, and (4) the hidden traps that cost taxpayers billions each year (IRS, Tax Statistics 2026).
Roberto Castillo, a restaurant owner in San Antonio, Texas, learned the hard way that not all gains are taxed the same. He'd held a piece of kitchen equipment for 11 months before selling it. At roughly $71,000 in annual income, his short-term capital gains rate was 22% — the same as his ordinary income tax bracket. But if he'd held the equipment just one more month, the rate would have dropped to 15% on the gain. That one-month difference cost him around $1,200 in extra tax.
Quick answer: In 2026, short-term capital gains (assets held one year or less) are taxed at your ordinary income tax rate, which ranges from 10% to 37%. Long-term gains (held more than one year) are taxed at 0%, 15%, or 20%, depending on your taxable income. High earners also pay a 3.8% Net Investment Income Tax (IRS, Publication 550 2026).
The holding period is everything. If you sell an asset within 12 months of buying it, the gain is short-term and taxed as ordinary income. In 2026, that means rates from 10% to 37%. If you hold for more than one year, the gain is long-term and taxed at preferential rates: 0%, 15%, or 20%. For a single filer with taxable income of $47,025 or less, long-term gains are tax-free. For income between $47,026 and $518,900, the rate is 15%. Above that, it's 20% (IRS, Revenue Procedure 2025-45 2026).
The NIIT adds 3.8% on top of your capital gains rate for single filers with modified adjusted gross income over $200,000 ($250,000 married filing jointly). In 2026, a high-earning couple in the top 20% long-term bracket would pay 23.8% on their gains (20% + 3.8%). Add California's top state rate of 13.3%, and the effective rate hits 37.1% — higher than the top short-term rate for most people. The NIIT applies to investment income including capital gains, dividends, and rental income (IRS, Form 8960 Instructions 2026).
Many taxpayers assume all investment gains are taxed the same. In 2026, the difference between short-term and long-term rates can be as much as 17 percentage points. For a $50,000 gain, that's $8,500 in extra tax. The mistake is often unintentional — selling an asset at 11 months instead of 12. Set a calendar reminder for 365 days after purchase before you sell.
| Filing Status | 0% Bracket | 15% Bracket | 20% Bracket |
|---|---|---|---|
| Single | $0 – $47,025 | $47,026 – $518,900 | $518,901+ |
| Married Filing Jointly | $0 – $94,050 | $94,051 – $583,750 | $583,751+ |
| Head of Household | $0 – $63,000 | $63,001 – $551,350 | $551,351+ |
| Married Filing Separately | $0 – $47,025 | $47,026 – $291,875 | $291,876+ |
| Trusts and Estates | $0 – $3,250 | $3,251 – $15,900 | $15,901+ |
In one sentence: Capital gains tax rates depend on your holding period and income.
For more on how capital gains interact with other deductions, see our guide on Can I Deduct Mortgage Interest Usa.
In short: Short-term gains are taxed as ordinary income; long-term gains get preferential 0%, 15%, or 20% rates plus the 3.8% NIIT for high earners.
The short version: Three steps: (1) determine your holding period, (2) calculate your taxable income including the gain, (3) apply the correct rate bracket. Total time: about 20 minutes with your tax return.
Step 1: Determine your holding period. Count the days from purchase to sale. If it's 365 days or less, it's short-term. More than 365 days is long-term. The IRS uses the trade date, not the settlement date. For example, if you bought shares on March 15, 2025, and sold them on March 16, 2026, that's 367 days — long-term. Sell on March 14, 2026, and it's short-term. This one-day difference can change your rate from 22% to 15% (IRS, Publication 550 2026).
Step 2: Calculate your total taxable income including the gain. Add your ordinary income (wages, self-employment, interest) to your capital gain. This total determines your bracket. For the restaurant owner in our example, his $71,000 income plus the $18,000 gain put him at $89,000 — solidly in the 15% long-term bracket. But if he'd sold at 11 months, the gain would have been taxed at his 22% ordinary rate.
Step 3: Apply the correct rate bracket. Use the IRS tables from Revenue Procedure 2025-45. For 2026, the 0% long-term bracket for single filers goes up to $47,025. The 15% bracket goes to $518,900. Above that is 20%. Don't forget the NIIT if your MAGI exceeds $200,000 single or $250,000 married filing jointly.
Most taxpayers forget to account for state taxes. In Texas, Florida, Nevada, Washington, South Dakota, and Wyoming, there's no state income tax. But in California, the top rate is 13.3%; in New York, 10.9%; in New Jersey, 10.75%. A $50,000 long-term gain for a California high earner could be taxed at 20% federal + 3.8% NIIT + 13.3% state = 37.1% effective rate. That's $18,550 in tax. The same gain in Texas costs $11,900. State of residence matters enormously.
Use specific identification method. When you sell shares, tell your broker which lots you're selling — the ones with the highest cost basis (lowest gain). This is called tax-loss harvesting. In 2026, you can deduct up to $3,000 in net capital losses against ordinary income each year, and carry forward unlimited losses to future years (IRS, Publication 550 2026).
Self-employed individuals pay both the employee and employer portion of Social Security and Medicare taxes (15.3% combined) on their earned income. Capital gains are not subject to self-employment tax — only the capital gains tax rates above. However, if you're actively trading as a business (dealer status), the IRS may reclassify your gains as ordinary income. The IRS uses nine factors to determine dealer status, including holding period, frequency of trades, and intent at purchase (IRS, Revenue Ruling 97-29).
| Scenario | Holding Period | Federal Rate | NIIT | State Rate (CA) | Effective Rate |
|---|---|---|---|---|---|
| Sold stock after 10 months | Short-term | 24% | 0% | 9.3% | 33.3% |
| Sold stock after 14 months | Long-term | 15% | 0% | 9.3% | 24.3% |
| Sold rental property after 5 years | Long-term | 20% | 3.8% | 13.3% | 37.1% |
| Sold cryptocurrency after 2 years | Long-term | 15% | 0% | 0% (TX) | 15% |
| Sold collectible (art, coins) after 3 years | Long-term | 28% | 3.8% | 10.9% (NY) | 42.7% |
Your next step: Use the IRS Tax Withholding Estimator at irs.gov to adjust your withholding if you expect a large capital gain this year.
In short: Calculate your holding period, total income, and apply the correct bracket — don't forget state taxes and the NIIT.
Hidden cost: The 3.8% Net Investment Income Tax (NIIT) adds to your capital gains rate once MAGI exceeds $200,000 single or $250,000 married filing jointly. For a couple with $300,000 MAGI, a $100,000 long-term gain is taxed at 23.8% federal, not 20% (IRS, Form 8960 Instructions 2026).
Yes, if your MAGI exceeds the threshold. The NIIT applies to the lesser of your net investment income or the amount by which your MAGI exceeds the threshold. In 2026, a single filer with $220,000 MAGI and $30,000 in capital gains pays NIIT on $20,000 ($220,000 – $200,000). That's $760 in extra tax. Many taxpayers don't realize the NIIT exists until they file and get a surprise bill (IRS, Form 8960).
The wash sale rule disallows a loss deduction if you buy a substantially identical security within 30 days before or after the sale. In 2026, the IRS is increasingly using automated systems to flag wash sales, especially in cryptocurrency and options trading. If you sell a stock at a loss and buy it back within 30 days, the loss is deferred to the new position. This can create a phantom gain if you don't track it properly. The rule applies to stocks, bonds, options, and mutual funds — but not to cryptocurrency (yet). The IRS has proposed regulations to include digital assets starting in 2027 (IRS, Notice 2024-45).
Collectibles — art, antiques, coins, precious metals — are taxed at a maximum 28% long-term rate, not the standard 20%. In 2026, a high earner selling a painting held for 5 years pays 28% federal + 3.8% NIIT + state tax. In New York, that's 28% + 3.8% + 10.9% = 42.7%. Real estate gets a different break: you can defer capital gains tax on a primary residence sale up to $250,000 single or $500,000 married filing jointly if you've lived in the home for 2 of the last 5 years. But rental property and second homes don't qualify (IRS, Publication 523 2026).
Use tax-loss harvesting to offset gains. In 2026, you can deduct up to $3,000 in net capital losses against ordinary income each year. If you have $10,000 in gains and $12,000 in losses, you offset all gains and deduct $3,000 from ordinary income. The remaining $9,000 loss carries forward indefinitely. This strategy is most effective in volatile markets. Automated robo-advisors like Betterment and Wealthfront offer this as a feature, but you can do it manually with any brokerage account.
Nine states have no income tax: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington, and Wyoming. But New Hampshire taxes interest and dividends at 4% (phasing out by 2027). California taxes capital gains as ordinary income at rates up to 13.3%. New York taxes up to 10.9%. New Jersey up to 10.75%. Oregon up to 9.9%. If you move to a no-tax state, the IRS may challenge your residency if you maintain a home, driver's license, or voter registration in the old state. The IRS uses a facts-and-circumstances test with 10 factors (IRS, Publication 519 2026).
| State | Top Capital Gains Rate | NIIT Equivalent | Effective Top Rate |
|---|---|---|---|
| California | 13.3% | 3.8% | 37.1% |
| New York | 10.9% | 3.8% | 34.7% |
| New Jersey | 10.75% | 3.8% | 34.55% |
| Texas | 0% | 3.8% | 23.8% |
| Florida | 0% | 3.8% | 23.8% |
In one sentence: Hidden costs include the NIIT, wash sale rules, collectible rates, and state taxes.
For more on how capital gains interact with other deductions, see our guide on Can I Deduct Student Loan Interest Usa.
In short: The NIIT, wash sale rules, collectible rates, and state taxes can add 10-20 percentage points to your effective capital gains rate.
Bottom line: For most investors, paying capital gains tax is unavoidable but manageable. If you're in the 0% bracket (income under $47,025 single), you can realize gains tax-free. For everyone else, strategic planning can reduce your rate by 10-20 percentage points.
| Feature | Paying Capital Gains Tax | Deferring via 1031 Exchange / Opportunity Zone |
|---|---|---|
| Control | Full — you choose when to sell | Limited — must reinvest within 180 days |
| Setup time | None — automatic at sale | 30-60 days to identify replacement property |
| Best for | Small gains, 0% bracket investors | Large real estate gains, high earners |
| Flexibility | High — sell any asset anytime | Low — only real estate or QOF investments |
| Effort level | Minimal — broker reports to IRS | High — requires qualified intermediary, legal review |
✅ Best for: Investors with taxable income under $47,025 single or $94,050 married filing jointly (0% rate). Also best for long-term holders who can wait 12+ months to sell.
❌ Not ideal for: Day traders and short-term speculators (taxed at ordinary rates up to 37%). Also not ideal for high earners in high-tax states like California or New York, where effective rates exceed 35%.
The math: A $100,000 long-term gain for a single filer earning $150,000 in Texas: 15% federal + 0% state = $15,000 tax. Same gain for a single filer earning $600,000 in California: 20% federal + 3.8% NIIT + 13.3% state = $37,100 tax. The difference is $22,100 — enough to fund a Roth IRA for 3 years.
Capital gains tax is not something to fear — it's something to plan around. The single most effective strategy is holding assets for more than one year. The second is tax-loss harvesting. The third is living in a no-tax state. If you can't do any of these, consider using a 1031 exchange for real estate or an Opportunity Zone fund for large gains. But for most people, the 15% long-term rate is historically low — the average since 1913 is around 25% (Tax Foundation, Historical Capital Gains Rates 2026).
What to do TODAY: Check your current holdings and their purchase dates. If any are approaching the 12-month mark, wait to sell until after that date. Use the IRS Tax Withholding Estimator at irs.gov to adjust your withholding if you expect a large gain this year.
In short: Capital gains tax is manageable with planning — hold for 12+ months, harvest losses, and consider your state of residence.
Short-term gains are taxed at your ordinary income rate (10% to 37%). Long-term gains are taxed at 0%, 15%, or 20% depending on your taxable income. High earners also pay a 3.8% Net Investment Income Tax.
More than one year — 365 days plus one. The IRS uses the trade date, not settlement date. Holding for 11 months and 30 days counts as short-term.
Yes, generally. Reinvesting does not defer the tax unless you use a 1031 exchange for real estate or invest in a Qualified Opportunity Fund. Retirement accounts like IRAs and 401(k)s are tax-deferred.
The IRS receives copies of your broker's Form 1099-B. Failure to report triggers an automated notice and penalties: 20% accuracy-related penalty plus interest. In severe cases, it can lead to criminal prosecution.
Yes, if you have losses to offset gains. Tax-loss harvesting allows you to deduct up to $3,000 in net losses against ordinary income each year. But don't sell just to avoid tax — consider your investment goals first.
Related topics: capital gains tax rates 2026, long-term capital gains brackets, short-term capital gains tax, net investment income tax, NIIT 2026, capital gains tax calculator, state capital gains tax, tax-loss harvesting, 1031 exchange, opportunity zone, wash sale rule, collectibles tax rate, real estate capital gains, cryptocurrency capital gains, capital gains tax Texas, capital gains tax California
⚡ Takes 2 minutes · No credit check · 100% free