Capital Gains Tax: Long-term vs Short-term Guide
Two investors sell the same stock on the same day. Both cleared $10,000 in profit. One writes a check to the IRS for $1,500. The other pays $3,200. Same stock, same gain, same country, same tax code.
Photo by RDNE Stock project on Pexels
The difference? One of them held the shares for 366 days. The other sold on day 364.
That's the whole ballgame with capital gains. Honestly, it's one of the few places in the tax code where a single calendar date swings your bill by thousands of dollars — and where the rule is simple enough that anyone can use it. I've watched small business owners obsess over a $400 home office deduction for three hours while casually torching $3,000 by selling appreciated stock two weeks early. Look, it happens constantly. And here's the part that bugs me: nobody's hiding this rule. It's right there in Publication 550. People just don't read it.
This guide is written for anyone who sells investments — stocks, ETFs, mutual funds, crypto, rental property, or a stake in a business. You don't need an accounting background. You need to understand three things.
What you'll learn:
- How the holding period works — exactly when the clock starts, when it stops, and what "more than one year" really means on a calendar
- What each rate actually costs you — the 2026 long-term brackets, how short-term gains get taxed as ordinary income, and the extra 3.8% surtax most people forget
- How to plan around it legally — cost basis tracking, tax-loss harvesting, wash sale traps, and which IRS forms report what
No tricks. No sketchy loopholes that get you a letter from the IRS in eighteen months. Just the mechanics, straight from the source.
Why This Tax Matters More Than People Think
Here's the deal with investment taxes: they're voluntary in a way income taxes just aren't.
Your paycheck gets taxed whether you like it or not. Withholding happens automatically, and by the time you see the number it's already gone. But capital gains? You control the timing almost completely. You decide when to sell. That single lever — when — is the most powerful tax planning tool most households will ever touch.
And most people never pull it deliberately. They sell because the market scared them, or because they wanted a new car, or because a friend at dinner said something ominous about the Fed.
The revenue picture
Capital gains are a meaningful slice of federal revenue, and they're wildly concentrated. IRS Statistics of Income data consistently shows that the large majority of net capital gains are reported by a small fraction of filers — roughly the top 1-2% of returns by income. But that doesn't mean this is a "rich people problem," and I'll push back hard on anyone who says it is. Anyone who sold a mutual fund, cashed out crypto, or sold a rental property gets pulled into these exact same rules.
Even people who never sold anything can owe. Mutual funds distribute realized gains to shareholders every December, whether you sold or not. Surprised? A lot of first-time fund investors are — usually in mid-January when the 1099-DIV shows up.
Three misconceptions worth killing right now
Misconception 1: "If I move into a higher bracket, all my gains get taxed higher."
Nope. Capital gains brackets work like income brackets — they're marginal. If you cross from the 0% long-term bracket into the 15% bracket, only the dollars above the threshold get taxed at 15%. The dollars below stay at 0%. Nobody has ever lost money by earning one extra dollar. That myth needs to die.
Misconception 2: "I held it about a year, so I'm fine."
"About a year" isn't a thing. The IRS requires more than one year. One year exactly? That's short-term. This one trips people up constantly, and it's the single most expensive vague phrase in personal finance.
Misconception 3: "Unrealized gains get taxed."
They don't. Your portfolio can triple and you owe nothing until you sell (or the fund makes a distribution). Paper gains aren't taxable events under current federal law. Yes, there's perpetual political chatter about changing this — ignore it until it's actually law.
Photo by Rafael Minguet Delgado on Pexels
The Vocabulary You Actually Need
Let's define the terms precisely, because precision is where the money is.
Capital asset, realization, and basis
A capital asset is basically anything you own for personal or investment purposes — stocks, bonds, your home, a car, collectibles, cryptocurrency, land. The IRS defines it broadly in IRS Publication 550, which is the primary reference document for investment income and expenses.
A realization event is a sale or exchange. You realize a gain or loss when you dispose of the asset. Not before.
Your cost basis is what you paid, adjusted for things like commissions, reinvested dividends, stock splits, and improvements (for property). Get this wrong and you'll overpay — or underpay and get a notice fourteen months later.
Capital gain = Sale proceeds − Adjusted cost basis
Simple formula. All the complexity lives inside that one word, "adjusted."
Short-term vs long-term: the core split
| Concept | Short-term | Long-term |
|---|---|---|
| Holding period | 1 year or less | More than 1 year |
| Tax treatment | Ordinary income rates | Preferential capital gains rates |
| 2026 federal rate range | 10% – 37% | 0%, 15%, or 20% |
| Reported on | Form 8949 Part I | Form 8949 Part II |
| Netting order | Offset against short-term losses first | Offset against long-term losses first |
| Applies to crypto? | Yes — same rules | Yes — same rules |
The holding period clock starts the day after you acquire the asset and ends on the day you dispose of it. That "day after" detail matters more than it sounds like it should. Buy on March 10, 2025 → your clock starts March 11, 2025 → you reach long-term status on March 11, 2026. Sell on March 10, 2026 and you're short-term. One day. Twenty-four hours costing you potentially 22 percentage points.
2026 long-term capital gains brackets
These are based on taxable income, and the thresholds are inflation-adjusted annually. Approximate 2026 figures:
| Rate | Single filer (taxable income) | Married filing jointly | Head of household |
|---|---|---|---|
| 0% | Up to ~$49,000 | Up to ~$98,000 | Up to ~$65,600 |
| 15% | ~$49,001 – ~$541,000 | ~$98,001 – ~$609,000 | ~$65,601 – ~$575,000 |
| 20% | Above ~$541,000 | Above ~$609,000 | Above ~$575,000 |
Verify current-year thresholds against the official IRS inflation adjustment revenue procedure — they shift every single year.
That 0% bracket is real, and it is wildly underused. A retired couple with modest taxable income can realize $40,000+ in long-term gains and owe zero federal tax on them. Zero. More on that in the case studies, because it's my favorite move in this entire article.
The rates nobody mentions in the headline
Three add-ons that catch people off guard:
| Extra tax | Rate | When it applies |
|---|---|---|
| Net Investment Income Tax (NIIT) | 3.8% | Modified AGI over $200,000 single / $250,000 MFJ |
| Collectibles rate | Up to 28% | Art, coins, precious metals, some metal-backed ETFs |
| Unrecaptured Section 1250 gain | Up to 25% | Depreciation recapture on real property |
| State income tax | 0% – 13%+ | Varies by state; most tax gains as ordinary income |
Fun fact about that collectibles line: if you hold a physical-gold-backed ETF, you may be sitting in the 28% collectibles bucket rather than the 15% you assumed. A lot of people find that out the hard way. Check your fund's structure before you sell, not after.
The NIIT thresholds are not inflation-adjusted. They've been frozen since 2013, which means more households drift into it every year purely because wages went up. That's a stealth tax increase and honestly nobody talks about it enough. See the IRS page on the Net Investment Income Tax for the details.
And state tax? California taxes capital gains as ordinary income, top rate above 13%. Washington, Texas, and Florida have no state income tax on them. On a $500,000 gain that spread is roughly $65,000 — which explains a lot about certain moving-truck patterns.
How to Actually Calculate What You Owe
Follow this in order. Skipping the netting steps is the single most common calculation error I see, and it's usually the one that makes people think they owe more than they do.
Step 1 — Sort every sale into short-term or long-term
Pull your Form 1099-B from your broker. It reports proceeds and, for "covered" securities, cost basis. Each transaction is flagged short-term or long-term.
Don't blindly trust it. Brokers aren't required to report basis for older ("noncovered") holdings, and transferred accounts often arrive with missing or flat-out wrong basis. Check anything acquired before 2011 (stocks), 2012 (funds), or 2014 (bonds/options).
Step 2 — Net within each category
Combine all your short-term gains and short-term losses → one net short-term number. Do the same for long-term → one net long-term number.
Example:
- Short-term gains: $8,000 | Short-term losses: $3,000 → net short-term gain: $5,000
- Long-term gains: $12,000 | Long-term losses: $2,000 → net long-term gain: $10,000
Step 3 — Net across categories (only if signs differ)
If one is a gain and the other is a loss, they offset each other. If both are gains (like above), they stay separate and get taxed at their own rates.
In our example: $5,000 short-term taxed as ordinary income, $10,000 long-term taxed at the preferential rate.
Step 4 — Apply the correct rates
Say the filer is single with $95,000 taxable income, in the 22% ordinary bracket and 15% long-term bracket.
| Component | Amount | Rate | Tax |
|---|---|---|---|
| Short-term gain | $5,000 | 22% | $1,100 |
| Long-term gain | $10,000 | 15% | $1,500 |
| Total federal | $15,000 | — | $2,600 |
Now imagine that $5,000 short-term gain had been held 14 months instead. At 15%, it'd cost $750 instead of $1,100. A $350 difference on a modest position — and it scales linearly. Same trade at $50,000 of gain, and you just left $3,500 on the table.
Step 5 — Handle net losses
If your total is a net loss, you can deduct up to $3,000 per year against ordinary income ($1,500 if married filing separately). Anything beyond that carries forward indefinitely to future tax years.
Quick aside, because it drives me nuts: that $3,000 cap was set in 1978. Adjusted for inflation it'd be somewhere north of $14,000 today. It has never been indexed. Congress has had 48 years to fix it and hasn't. Anyway — moving on.
Carryforwards don't expire. They're one of the most valuable and most forgotten assets on a personal balance sheet — I've seen people lose track of six-figure carryforwards after switching tax preparers, which is like leaving a winning lottery ticket in a coat pocket at Goodwill.
Step 6 — Report it correctly
- Form 8949 — itemize each transaction (Part I short-term, Part II long-term)
- Schedule D (Form 1040) — summarize and net everything
- Form 8960 — if the NIIT applies
- Schedule 1 / Form 1040 — where the final number lands
Full instructions live at IRS Schedule D.
Mistakes That Cost Real Money
These are the ones with actual dollar signs attached. I've made a couple myself, which is how I know how much they sting.
1. Selling one day short of long-term
Already covered, but it's mistake number one for a reason. Before any sale of an appreciated position, check the purchase date. Takes ten seconds. If you're within a few weeks of the one-year mark, the math almost always favors waiting — unless the position is genuinely collapsing, in which case tax efficiency is the least of your problems.
2. Triggering the wash sale rule
If you sell at a loss and buy the same or substantially identical security within 30 days before or after the sale, the loss is disallowed. It gets added to the basis of the replacement shares instead.
The 61-day window (30 before, day of, 30 after) catches people who sell in a panic and buy back the following Tuesday when they feel better about things. It also catches automatic dividend reinvestment — that DRIP purchase counts as a buy, and it fires without you touching anything. And it applies across your accounts, including your IRA, where the loss is permanently gone rather than merely deferred. That IRA version is the brutal one.
See IRS Publication 550 for the wash sale mechanics.
3. Ignoring mutual fund capital gains distributions
Funds distribute realized gains, usually in December, and you owe tax whether or not you sold anything. Buying a fund in late November right before a big distribution means paying tax on gains you never participated in — you literally bought someone else's tax bill. Check the fund's estimated distribution date before buying late in the year. Most fund companies post estimates in October or November.
ETFs are generally more tax-efficient here thanks to their creation/redemption structure. That's not marketing spin, it's a genuine structural difference, and it's one of the few places where the "ETFs beat mutual funds" crowd is straightforwardly correct.
4. Guessing at cost basis
Reinvested dividends increase your basis. Every single one of them. People who forget this literally pay tax twice on the same dollars — once when the dividend was paid, again when they report an inflated gain years later.
Keep records. Brokerage statements, purchase confirmations, DRIP history. And if you inherited assets, the basis generally "steps up" to fair market value at the date of death, which can wipe out four decades of embedded gain in one line item. That's not a loophole, that's the law working as written — but you have to know to claim it.
5. Forgetting the NIIT cliff
If your MAGI is hovering near $200,000 (single) or $250,000 (joint), an extra realized gain can push you over and add 3.8% on the investment income above the threshold. Sometimes splitting a sale across two tax years — sell half on December 28, half on January 4 — is the entire fix. That's it. That's the strategy.
6. Assuming crypto plays by different rules
It doesn't. The IRS treats digital assets as property. Same holding periods, same rates, same Form 8949. Crypto-to-crypto swaps are taxable disposals. So is using crypto to buy a sandwich. The IRS digital asset guidance is the authoritative source, and reporting requirements have tightened considerably over the past couple of years.
Hot take: the "crypto is untaxed because it's decentralized" era ended a long time ago, and anyone still telling you otherwise on social media is selling something.
7. Overlooking state tax entirely
The federal rate is only part of the bill. If you're planning a large sale and a state move is on the table, sequencing matters enormously — and states have residency rules designed precisely to catch people who relocate for one transaction and then drift back. California in particular is aggressive about this. Talk to a professional before attempting it.
Photo by Nataliya Vaitkevich on Pexels
Real-World Scenarios
Three cases that show how the rules actually play out.
Case 1: The 26-day wait
Setup: A freelance designer bought $20,000 of an index ETF. Eleven months later it's worth $32,000 — a $12,000 gain. She wants to fund a business expansion and considers selling now. Taxable income: $88,000, single filer.
Sell at 11 months (short-term): $12,000 × 24% ordinary rate = $2,880
Wait 26 more days (long-term): $12,000 × 15% = $1,800
Difference: $1,080 for waiting under a month.
Unless she needs the cash immediately or the position is falling faster than $1,080 in value, waiting wins. That's not sophisticated planning. That's a calendar reminder. Roughly $41 a day for doing absolutely nothing.
Case 2: Harvesting the 0% bracket
Setup: A retired couple, married filing jointly. Their taxable income after the standard deduction is about $52,000 — Social Security plus modest withdrawals. They hold an appreciated fund with $130,000 in embedded long-term gains.
The 0% long-term bracket for MFJ runs up to roughly $98,000 of taxable income in 2026. That leaves about $46,000 of headroom.
The move: Realize roughly $46,000 of long-term gain this year. Federal capital gains tax: $0. Then immediately repurchase the fund, resetting cost basis higher.
This is tax-gain harvesting, and the wash sale rule doesn't block it — that rule only disallows losses, not gains. Repeat annually for three years and they've reset well over $130,000 of embedded gain at zero federal cost. I genuinely think this is the most underrated move in retirement tax planning, and it's not close.
Two cautions though. Realized gains can increase the taxable portion of Social Security benefits, and they may raise Medicare IRMAA premiums two years down the road. Model the whole picture, not just the capital gains line. "Zero tax" on one line can quietly cost you $1,200 on another.
Case 3: A loss carryforward that keeps paying
Setup: A small business owner took a $48,000 net capital loss in a bad year — a concentrated position that never came back.
Year 1: Deduct $3,000 against ordinary income. Carry forward $45,000. Years 2–5: She sells appreciated holdings each year, using the carryforward to offset gains dollar-for-dollar. Roughly $35,000 of gains absorbed with zero tax. Remaining: ~$10,000 still carrying forward.
The loss was painful — no spin on that. But the carryforward is a genuine asset, worth maybe $8,000 in avoided tax over those four years. Catch is, it only works if she tracks it. Switch tax software or preparers without transferring the carryforward schedule and it silently vanishes; no software will ever remind you it existed. Keep a PDF of Schedule D every single year.
Free Tools and Sources Worth Bookmarking
Everything here is free and authoritative. No products, no signups, no affiliate nonsense.
Primary IRS sources
- Publication 550 — Investment Income and Expenses — the definitive reference for holding periods, wash sales, basis rules
- Topic No. 409 — Capital Gains and Losses — concise official summary with current rate thresholds
- About Schedule D (Form 1040) — forms and line-by-line instructions
- Digital Asset Guidance — crypto reporting requirements and FAQs
- Publication 523 — Selling Your Home — the $250,000/$500,000 primary residence exclusion
Free help
- IRS Free File — free federal filing below the income threshold; most supported products handle Schedule D
- VITA / TCE programs — free in-person tax prep for eligible filers, run through IRS-certified volunteers. Underused and genuinely good.
- Investor.gov — SEC's investor education site, useful for cost basis and account statement basics
Related reading on this site
- How 401(k), IRA, and Roth accounts differ
- Tax-loss harvesting step by step
- Cost basis methods explained: FIFO, specific ID, and average cost
- Understanding your brokerage 1099 forms
One more: your own brokerage's cost basis tool is worth ten minutes of your time. Most let you choose a lot-selection method, and specific identification usually beats the FIFO default by a wide margin — because you get to pick which shares to sell instead of letting the oldest ones go automatically.
You Might Also Like
- Standard Deduction 2026: Complete Guide to Amounts, Rules, and Itemizing
- Stock Options vs RSUs: Equity Compensation Guide (2026)
- First-Time Home Buyer Complete Guide 2026: The Numbers Nobody Puts in the Brochure
- Mint vs Personal Capital for Wealth Tracking 2026: Which Wins Your Money?
Frequently Asked Questions
What exactly counts as "more than one year"?
The clock starts the day after your trade date and ends on the day you sell. Buy June 15, 2025 → long-term status begins June 16, 2026. Selling on June 15, 2026 is short-term. Use trade dates, not settlement dates — that two-day gap has burned people.
Do I owe capital gains tax if I don't sell?
No. Federal tax only applies to realized gains. The exception that surprises people: mutual funds distribute realized gains to shareholders annually, and those are taxable even if you held the fund the entire time and never touched a button.
How is cryptocurrency taxed?
As property, using the exact same short-term and long-term rules as stocks. Selling for cash, swapping one coin for another, and spending crypto on goods are all taxable disposals. Track your basis and holding period per lot — exchanges don't always do it accurately for you, especially if you've moved coins between wallets.
Can capital losses offset my regular salary?
Partially — up to $3,000 a year after your losses offset all capital gains ($1,500 if married filing separately). The rest carries forward indefinitely.
What if I sell my primary home?
Section 121 lets you exclude up to $250,000 of gain ($500,000 married filing jointly) if you owned and lived in the home as your main residence for at least 2 of the last 5 years. The 2 years don't have to be consecutive, which surprises people. Gain above the exclusion gets taxed at long-term rates. Details are in Publication 523.
Does the 0% long-term rate really exist?
Yes, and it's genuinely usable — not a technicality. If your taxable income (including the gain) stays under roughly $49,000 single or $98,000 joint in 2026, qualifying long-term gains face 0% federal tax. It's most common in gap years: early retirement, a sabbatical, a career change, a business loss year. If you have one of those coming, plan for it now.
What is the wash sale rule in plain English?
Sell at a loss, buy the same or substantially identical security within 30 days either side, and the IRS disallows that loss for now. It moves into the new shares' basis instead. Watch out for automatic dividend reinvestment and purchases inside your IRA — the IRA version kills the loss permanently.
Do I need a CPA for this?
Depends entirely on your mess level. For a handful of straightforward stock sales with clean 1099-B basis reporting, decent tax software handles it fine and a CPA is honestly overkill. Get professional help if you have large concentrated positions, business or real estate sales, incentive stock options, multi-state residency questions, three years of messy crypto history across five exchanges, or a sale big enough to trigger NIIT or AMT considerations. A $600 fee is nothing next to a five-figure mistake, and I've seen the five-figure mistake more than once.
The Bottom Line
Capital gains tax rewards patience more directly than almost anything else in personal finance. Hold longer than a year, pay a lower rate. That's the deal. No fine print, no gimmicks.
Three things to take away:
- The one-year line is a hard line. More than 365 days, not "about a year." Check your purchase date before every sale of an appreciated position — the rate difference is often 7 to 20 percentage points.
- Losses are assets. Net them properly, deduct $3,000 a year against ordinary income, and track carryforwards across preparer changes. They never expire, but they do get forgotten.
- Timing is your lever. You choose the tax year. Splitting a large sale across two years, filling the 0% bracket in a low-income year, or just waiting three weeks for long-term treatment — all legitimate, all boring, all effective. Boring is the point.
Your next step: Open your brokerage account today and pull up the unrealized gains view with purchase dates. Find every position sitting between 9 and 12 months old. Put a calendar reminder on each one-year anniversary. That 15-minute exercise pays for itself the first time you're tempted to sell early — and if your portfolio is any size at all, it'll pay for itself many times over.
Tax rules change, thresholds shift with inflation, and individual situations vary enormously. Verify current-year numbers at IRS.gov and talk to a qualified tax professional before executing a large transaction. Nothing here is personalized advice — it's the mechanics, and the mechanics are the part most people skip.