Sell a stock for a profit and you owe tax on the gain.
What trips up millions of Americans is which rate applies, because the answer depends on how long you held the asset, what you earned that year, and sometimes which bracket your accountant lands you in after deductions.
Short-term gains — assets held one year or less — are taxed as ordinary income.
That means your marginal rate could reach 37% in 2025 depending on your bracket.
Long-term gains, held more than a year, get preferential treatment: 0%, 15%, or 20%, pegged to taxable income thresholds that shift slightly each year.
For 2025, the 0% long-term rate applies to taxable income up to $48,350 for single filers and $96,700 for married couples filing jointly.
The 15% rate stretches to $533,400 for singles and $600,050 for joint filers.
Above those lines, the top rate of 20% kicks in.
A 3.8% net investment income tax can stack on top for higher earners, pushing the effective top rate near 23.8%.
Many assume selling a stock they've owned for years lands them at 15%, then discover a large one-time gain pushed their taxable income into the 20% bracket.
Others forget that a mutual fund's year-end capital gains distribution counts as a gain even if they never sold a share.
In a taxable brokerage account, those distributions hit whether you asked for them or not.
A big gain can raise provisional income, which can make a portion of Social Security benefits taxable.
That effectively raises the tax bill on the gain beyond the headline rate.
Meanwhile, a $250,000 exclusion on the sale of a primary home — $500,000 for couples — shields many sellers, but anything above that line is taxable, and the paperwork catches people off guard.
Harvesting losses to offset gains is a legitimate, widely used strategy, but the wash-sale rule blocks you from claiming a loss if you buy a substantially identical security within 30 days before or after the sale.
That window includes purchases in an IRA, which surprises people who think retirement accounts are separate.
Dividends and interest follow different rules entirely, and qualified dividends share the long-term capital gains rates, while ordinary dividends do not.
Brokers issue a 1099-B, but plenty of filers enter numbers in the wrong boxes and overpay or underpay without realizing it.
If a gain is large enough to move you into a new bracket, spreading the sale across two tax years is one of the few levers you control.
So is timing a sale for a year when your income dips.
None of this requires a finance degree, but it does require looking at your whole tax picture before you click sell, not after the 1099 arrives in February.
The tax code rewards patience and punishes speed, and most people learn that lesson at the worst possible moment — after the trade settles.
Final Thoughts
A few minutes with a tax professional before a big sale can easily cost less than the bracket mistake it prevents.