How Do Capital Gains Taxes Work? Short-Term vs Long-Term Rules

The IRS collected over $230 billion in capital gains taxes in 2022, yet many investors still confuse short-term and long-term rates. Sell a stock after 11 months and your profit gets taxed at your ordinary income rate—up to 37%. Hold it just one more month and the top federal rate drops to 20%. That single-day difference can cost thousands on a modest portfolio. This guide breaks down how capital gains taxes work, the current brackets for both holding periods, and the special surtax that catches high earners off guard. You’ll learn how to time sales, which assets get special treatment, and one strategy that can legally erase gains from your tax return.

Key Takeaways
– Short-term gains are taxed at ordinary income rates up to 37%, while long-term gains max out at 20% federally. (IRS, 2025)
– The 2025 0% long-term bracket covers taxable income up to $48,350 single or $96,700 married filing jointly. (IRS, 2025)
– High earners face an extra 3.8% Net Investment Income Tax on top of capital gains rates. (IRS, 2025)
– Tax-loss harvesting can offset up to $3,000 of ordinary income per year after netting gains. (IRS, 2025)

What Are Capital Gains and When Do You Owe Tax?

A capital gain happens when you sell an asset—stocks, bonds, real estate, crypto—for more than you paid. The IRS only taxes realized gains, not paper profits sitting in your brokerage account. In 2025, you’ll report these sales on Schedule D and Form 8949, then carry the total to your 1040. The clock starts on your purchase date and stops on the sale date; one day can flip your rate from 37% to 20%.

Most investors know the basics but miss the nuances. Mutual funds can distribute capital gains even if you never sold a share, creating a tax bill you didn’t choose. Cryptocurrency trades count too—every swap from Bitcoin to Ethereum is a taxable event. Even selling a collectible car or rare coin triggers capital gains rules, though at a higher 28% maximum rate. Ever wonder why your 1099-B shows gains you didn’t expect?

The cost basis matters as much as the sale price. Commissions, fees, and reinvested dividends all increase your basis, shrinking the taxable gain. If you inherited assets, the basis “steps up” to fair market value on the date of death, potentially wiping out decades of appreciation. Keeping clean records from day one saves headaches—and money—later.

How Do Short-Term Capital Gains Tax Rates Work?

A calculator and tax forms sit on a desk beside a laptop showing a brokerage account with short-term trades highlighted

Short-term capital gains apply to assets held one year or less. In 2025, these gains stack on top of your ordinary income and face the same seven tax brackets: 10%, 12%, 22%, 24%, 32%, 35%, and 37%. A single filer with $100,000 in wages who realizes a $10,000 short-term gain pays 24% on that gain—$2,400 to the IRS. The rate climbs fast as income rises.

Day traders and active rebalancers feel this bite hardest. High-frequency strategies can turn long-term holdings into short-term gains by accident. Wash-sale rules don’t apply to gains—only losses—so you can’t reset the holding period by selling and immediately repurchasing. The IRS watches for “constructive sales” through options or short positions that lock in profit while technically keeping the position open.

State taxes add another layer. California taxes all capital gains as ordinary income up to 13.3%. New York City residents can face a combined marginal rate above 45% on short-term gains. Seven states—Florida, Texas, Nevada, and others—have no income tax, giving residents a permanent edge. Where you live changes the math as much as what you trade.

What Are the Long-Term Capital Gains Tax Brackets for 2025?

2025 Long-Term Capital Gains Brackets (Single) 0% 5% 10% 15% 20% 0% Up to $48,350 15% $48,351–$533,400 20% Over $533,400
Source: IRS, 2025

Long-term capital gains apply to assets held more than one year. In 2025, single filers pay 0% on gains up to $48,350 of taxable income, 15% up to $533,400, and 20% above that. Married couples filing jointly get 0% up to $96,700, 15% up to $600,050, and 20% beyond. These brackets are indexed for inflation annually, so they widen slightly each year. (IRS, 2025)

The 0% bracket is a planning goldmine. Retirees with low taxable income can realize gains tax-free up to the threshold. A married couple with $60,000 in taxable income could harvest $36,700 in long-term gains and owe $0 federal tax. This works because long-term gains stack on top of ordinary income for bracket purposes—they don’t push your wages into a higher bracket.

Consider a single investor with $40,000 in taxable wages. They have $15,000 of “room” in the 0% bracket before hitting the 15% threshold. If they sell $15,000 of appreciated stock held over a year, the federal tax bill is zero. Sell the same amount as a short-term gain and it’s taxed at 12%—$1,800 owed. That’s the holding-period premium in action.

How Does the Holding Period Affect Your Tax Bill?

A calendar page flips from day 364 to day 365 beside a growing investment chart showing the tax advantage of long-term holding

The holding period is measured in calendar days, not trading days. Buy on March 15, 2024; sell on March 16, 2025—that’s 366 days (leap year) and qualifies as long-term. Sell on March 14, 2025—364 days—and it’s short-term. The trade date controls, not the settlement date. Mutual fund reinvestments start new holding periods for each share lot.

Specific identification lets you choose which shares to sell. If you bought 100 shares in January and 100 in November, selling 100 shares in December lets you pick the January lot for long-term treatment. Default FIFO (first-in, first-out) often forces short-term sales. Most brokers let you select “specific lots” at trade time—use it.

Imagine you invested $10,000 in an S&P 500 fund five years ago. It’s now worth $16,100—a 10% annualized return. Selling today triggers a $6,100 long-term gain. At a 15% federal rate plus 5% state, that’s $1,220 in taxes. If you’d traded in and out annually, each round-trip would have generated short-term gains taxed at 24% federal plus state. Over five years, the tax drag could have reduced your ending balance by 15-20% compared to buy-and-hold.

What Is the Net Investment Income Tax and Who Pays It?

Maximum Federal Tax on Long-Term Gains Base Capital Gains Rate 84% Net Investment Income Tax 16%
Source: IRS, 2025

The Net Investment Income Tax (NIIT) adds 3.8% on top of capital gains rates for high earners. In 2025, it hits single filers with modified adjusted gross income (MAGI) over $200,000 and married couples over $250,000. The tax applies to the lesser of net investment income or the amount MAGI exceeds the threshold. A single investor with $250,000 MAGI and $30,000 in long-term gains pays 3.8% on $30,000—$1,140 extra. (IRS, 2025)

NIIT covers interest, dividends, capital gains, rental income, and passive business income. It does not apply to wages, self-employment income, or retirement distributions. The thresholds are not indexed for inflation, so more taxpayers get caught each year. Since 2013, the number of returns subject to NIIT has grown roughly 40%. (Tax Foundation, 2025)

Planning around NIIT means managing MAGI. Maxing out 401(k) contributions, harvesting losses, and timing Roth conversions can keep you under the threshold. Municipal bond interest is exempt from NIIT (and federal tax), making munis relatively more attractive for high earners. The 3.8% surtax effectively raises the top long-term rate to 23.8% and the top short-term rate to 40.8%.

Can You Reduce Capital Gains Taxes With Tax-Loss Harvesting?

A portfolio pie chart shows losing positions highlighted in red being swapped for similar but not identical funds to capture tax losses

Tax-loss harvesting sells losing positions to offset gains dollar-for-dollar. In 2025, after netting all gains and losses, you can deduct up to $3,000 of net losses against ordinary income ($1,500 married filing separately). Unused losses carry forward indefinitely. This strategy works best in taxable accounts—IRAs and 401(k)s don’t recognize capital gains or losses. (IRS, 2025)

The wash-sale rule blocks the loss if you buy a “substantially identical” security within 30 days before or after the sale. Swapping Vanguard’s S&P 500 ETF (VOO) for iShares’ S&P 500 ETF (IVV) likely triggers the rule. But swapping VOO for a total-market ETF (VTI) usually passes muster. Robo-advisors automate this daily; DIY investors can do it quarterly. Why leave free tax alpha on the table?

Say you have $20,000 in short-term gains and $25,000 in long-term losses. Net them: $5,000 long-term loss remains. You deduct $3,000 against ordinary income this year (saving $720 at 24% bracket) and carry $2,000 forward. Next year, that $2,000 offsets the first $2,000 of gains. Over a decade, systematic harvesting can add 0.5-1% annual after-tax return without changing your asset allocation.

How Do Capital Gains Taxes Work on Real Estate and Collectibles?

Top Long-Term Capital Gains Rate Since 1980 0% 7.5% 15% 22.5% 30% 28% 28% 20% 15% 20% 20% 1980 1990 2000 2010 2020 2025
Source: Tax Foundation, 2025

Real estate and collectibles follow special rules. Your primary residence gets a $250,000 gain exclusion ($500,000 married) if you lived there two of the last five years. Rental property depreciation recapture taxes the depreciation you claimed at 25%, regardless of holding period. Collectibles—art, coins, stamps, gold—max out at 28% long-term, not 20%. (IRS, 2025)

Section 1031 exchanges let real estate investors defer gains by swapping “like-kind” investment properties. The Tax Cuts and Jobs Act limited this to real property only—no more 1031 for equipment, aircraft, or franchise rights. You have 45 days to identify replacement property and 180 days to close. Missing either deadline kills the deferral.

Cryptocurrency is treated as property, not currency. Every trade, purchase, or conversion is a taxable event. The IRS added a digital asset question to Form 1040 in 2020; answering falsely is perjury. Starting in 2025, brokers must report crypto proceeds on 1099-DA, ending the “honor system” era. If you’ve traded crypto without tracking basis, now is the time to reconstruct records.

Frequently Asked Questions

Do I pay capital gains tax if I reinvest the proceeds?

Yes. Reinvesting doesn’t defer the tax. The gain is realized at sale. Only retirement accounts (401(k), IRA) and 1031 real estate exchanges allow tax deferral on reinvestment.

What happens if I gift appreciated stock instead of selling?

The recipient inherits your cost basis and holding period. They’ll owe tax on the full gain when they sell. Gifting to a lower-bracket family member can shift the tax burden, but the kiddie tax may apply to children under 24.

Are qualified dividends taxed like long-term capital gains?

Yes. Qualified dividends from U.S. corporations and certain foreign stocks use the same 0%/15%/20% brackets. They must meet holding-period requirements—typically 61 days around the ex-dividend date.

Can I avoid capital gains tax by donating appreciated stock?

Donating long-term appreciated stock to a qualified charity lets you deduct the full fair market value (up to 30% of AGI) and avoid the capital gains tax entirely. It’s often more tax-efficient than donating cash.

How do I know if my mutual fund will distribute capital gains?

Funds typically announce estimated distributions in November. Check the fund company’s website. Buying right before a distribution creates a “tax trap”—you get taxed on gains you didn’t economically participate in.

Bottom Line

  • Hold investments over one year to slash your top federal rate from 37% to 20% (or 0% if your income is low enough).
  • Watch the 3.8% NIIT surtax if your MAGI exceeds $200,000 single / $250,000 married—it stacks on top of capital gains rates.
  • Harvest losses systematically, use specific lot identification, and donate appreciated shares to charity for maximum tax efficiency.

Sources

This article is for educational purposes only and does not constitute financial advice. Investing involves risk, including loss of principal.

2 thoughts on “How Do Capital Gains Taxes Work? Short-Term vs Long-Term Rules”

  1. Pingback: How to Invest in Real Estate Without Buying Property: REITs Explained - WealthForge

  2. Pingback: How Is Social Security Calculated and When Should You Claim It? - WealthForge

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top