IRS-registered tax pros on every filing

    Capital Gains Tax Explained: Short-Term vs Long-Term

    Short-term vs long-term capital gains, the 2026 rate brackets, the 3.8% NIIT, and legal strategies that shrink the bill before you sell.

    WAYG Tax Team·Tax Planning·July 2026·7 min read

    You sold some stock, a rental property, or a few thousand dollars of crypto, and now you're staring at one question: how much of this is actually mine? Capital gains tax is one of the few areas where a little timing knowledge translates directly into money kept. Here's how the system works for 2026, and where the planning opportunities hide.

    What counts as a capital gain?

    A capital gain is the profit from selling a capital asset — stocks, ETFs, crypto, real estate, a business, even collectibles — for more than your basis in it. Basis is usually what you paid, plus costs of buying (commissions, certain closing costs) and, for real estate, improvements along the way.

    The formula is simple: sale price minus selling costs minus basis = gain (or loss). Two details do a lot of work:

    Get our starter pack of tax guides, free.

    One welcome email with our most-used guides, then a few genuinely useful ones a month. Unsubscribe anytime.

    • Gains are only taxed when realized — when you actually sell. Your portfolio can double and you owe nothing until the day you click "sell."
    • Basis tracking is where money gets lost. Reinvested dividends, home improvements, inherited assets — each adjusts basis, and forgetting them means paying tax on profit you never made.

    What's the difference between short-term and long-term gains?

    The single most valuable line in the capital gains rules is the one-year holding period:

    • Short-term (held one year or less): taxed as ordinary income at your regular bracket — anywhere from 10% to 37% for 2026.
    • Long-term (held more than one year): taxed at preferential rates of 0%, 15%, or 20% for 2026.

    For someone in the 24% bracket, the difference between selling at month 11 and month 13 is nine percentage points on the entire gain — on a $50,000 gain, roughly $4,500 for waiting a few weeks. The clock starts the day after you acquire the asset, and each tax lot has its own clock, so partial sales can be chosen strategically.

    What are the 2026 long-term capital gains rates?

    Long-term rates are set by your taxable income (income after deductions), per IRS Rev. Proc. 2025-32:

    Rate Single — taxable income Married filing jointly — taxable income
    0% Up to $49,450 Up to $98,900
    15% $49,451 – $545,500 $98,901 – $613,700
    20% Over $545,500 Over $613,700

    Two mechanics worth understanding:

    • Gains stack on top of ordinary income. Your wages and business income fill the brackets first; long-term gains sit on top and are taxed at whatever capital-gains rate applies at that height.
    • The 0% bracket is real and underused. A married couple with $70,000 of taxable ordinary income in 2026 has almost $29,000 of room to realize long-term gains at a federal rate of zero. Lower-income years — a sabbatical, early retirement, a business dip — are gain-harvesting years.

    A couple of special rates exist outside this table: collectibles gains can be taxed up to 28%, and a portion of real estate gain attributable to prior depreciation is taxed at up to 25%.

    How does the 3.8% net investment income tax work?

    High earners pay an extra 3.8% Net Investment Income Tax (NIIT) on investment income — including capital gains — when modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). These thresholds are not inflation-indexed, so they quietly capture more people every year.

    The 3.8% applies to the smaller of your net investment income or the amount your MAGI exceeds the threshold. In practice, a big one-time gain — selling a rental or a business — can push an otherwise moderate-income household over the line in that single year, turning a 15% rate into 18.8%. This is exactly the kind of thing worth modeling before the sale, when installment structures or timing can still change the answer.

    What does a real 2026 calculation look like?

    Take a single filer in tax year 2026 with $45,000 of taxable ordinary income who realizes a $10,000 long-term gain (all figures after the standard deduction, ignoring state tax and credits for simplicity):

    • Ordinary income fills the brackets up to $45,000 and is taxed under the normal rate schedule.
    • The gain stacks on top, occupying $45,000 to $55,000.
    • The 0% capital-gains bracket runs to $49,450 — so the first $4,450 of gain is taxed at 0%.
    • The remaining $5,550 falls in the 15% bracket: about $833 of tax.

    Total federal tax on the $10,000 gain: roughly $833 — an 8.3% effective rate. Had that same gain been short-term, it would have been taxed at 12% and 22% as ordinary income, roughly doubling the bill. Real returns are messier than this illustration, but the stacking logic is exactly how the software does it.

    How can you legally reduce capital gains tax?

    None of these are loopholes — they're how the rules are designed to be used. All of them depend on your specifics, so treat this as a menu, not advice:

    • Hold past one year. The simplest 5-20 percentage point discount in the tax code.
    • Harvest losses. Selling losers offsets gains dollar-for-dollar; up to $3,000 of excess loss deducts against ordinary income each year, and the rest carries forward indefinitely. Mind the wash-sale rule — repurchasing a substantially identical security within 30 days suspends the loss.
    • Aim gains at low-income years. Realizing gains in a year when you're in the 0% bracket is a permanent tax save, and you can immediately rebuy to reset your basis higher (there's no wash-sale rule on gains).
    • Use the home-sale exclusion. Up to $250,000 of gain on your primary residence ($500,000 married filing jointly) is tax-free if you owned and lived in it for two of the last five years.
    • 1031 exchanges defer gain on investment real estate rolled into like-kind property, with strict 45- and 180-day deadlines.
    • Give appreciated assets, not cash. Donating long-held appreciated stock to charity deducts full market value and erases the gain; heirs who inherit assets receive a stepped-up basis.
    • Watch estimated taxes. A large gain usually isn't covered by paycheck withholding — a quarterly payment may be due before next April. Our quarterly due-dates guide has the 2026 schedule.

    The mistakes we see aren't exotic — they're a rental sold in the same year as a big bonus, a loss harvested into a wash sale, an exclusion missed by two months. Problems come here to get solved. Ideally, they arrive before the closing date rather than after. For what's changed this year across the board, see the 2026 tax changes hub.

    FAQ

    Do I owe capital gains tax if I sell one stock and buy another?

    Yes. Selling is the taxable event; what you do with the proceeds doesn't matter for stocks and funds in a regular brokerage account. Tax-deferred rollovers only exist in special regimes like 1031 real estate exchanges or within retirement accounts, where trades aren't taxed at all.

    How is crypto taxed?

    The IRS treats cryptocurrency as property, so the same short-term/long-term rules apply to every sale, swap, or purchase made with crypto. Trading one coin for another is a taxable event. As of mid-2026 the wash-sale rule still doesn't apply to crypto by statute, which makes loss harvesting unusually flexible there — but track every transaction, because exchanges now issue Form 1099-DA to the IRS.

    What happens to capital losses I can't use this year?

    They carry forward indefinitely. Each year they first offset new gains, then up to $3,000 of ordinary income ($1,500 if married filing separately), with the remainder rolling to the next year. Don't lose the carryforward when switching preparers — it's on Schedule D of last year's return.

    Are capital gains taxed by states too?

    Most states with an income tax treat capital gains as ordinary income at rates up to around 13%, with no long-term discount. A handful — including Florida and Texas — tax none. State residency at the time of sale can matter enormously on a large gain, though moving purely for a sale has its own traps and timing rules.

    Do inherited assets trigger capital gains tax?

    Not at death, for income-tax purposes. Heirs generally receive a stepped-up basis equal to the asset's value on the date of death, erasing the unrealized gain that accumulated during the decedent's life. Inherited assets also automatically qualify for long-term treatment when sold.

    Reviewed by the WAYG tax team · Updated July 2026

    Have a question about your own situation? Book a free 15-min call at wayg.co/book-call — or email hello@wayg.co. A real person replies within one business day.

    Related service

    Accounting, Tax & Advisory

    Accounting, tax, and advisory under one subscription, with one team that knows your name.

    • 14 days
    • No card
    • Keep the deliverables

    Where are you going?

    We are your guide.

    Accounting, Tax, Advisory. One monthly fee. A live portal. A human who knows your business.

    Start free trial

    We are your guide.

    Accounting · Tax · Advisory.

    1701 Ponce De Leon Blvd, Suite 305

    Coral Gables, FL 33134

    (305) 396-2000·hello@wayg.co

    Open 7 days a week

    • Mon to Fri · 8am to 8pm
    • Sat · 10am to 5pm
    • Sun · 12pm to 5pm

    Eastern Time

    NEXT DEADLINES

    Federal dates. Your plan may carry others.

    We use Microsoft Clarity to see how visitors use this site, through behavioral metrics, heatmaps and session replay, so we can improve it. By using the site you agree that we and Microsoft can collect and use this data. You can turn it off any time under Cookie preferences, and our privacy policy has the details.

    © 2026 WAYG INC. Coral Gables, FL.

    We use cookies to enhance your experience, analyze traffic, and personalize content.

    Your privacy matters. You can customize your preferences anytime. Privacy Policy