Sell a rental property, a chunk of stock, or a business you built, and the tax bill can swallow a third of the gain before the money ever hits your checking account.
The culprit is the capital gains tax rate, and which one applies to you depends more on your total income than on the size of the check.
Here's the part most people miss: long-term capital gains get their own rate brackets, separate from your paycheck.
For 2024, single filers pay 0% on long-term gains up to $47,025, then 15% up to $518,900, and 20% above that.
Married couples filing jointly hit the 0% bracket up to $94,050 and the 15% bracket up to $583,750.
Those thresholds get adjusted for inflation most years, so the 0% window quietly widens.
Hold an asset for a year or less and the profit gets taxed as ordinary income, which means it stacks on top of your salary and can push you into the 22%, 24%, or higher brackets.
That single difference between holding 11 months and 13 months can be worth thousands of dollars.
There's a surcharge waiting at the top, too.
High earners owe an extra 3.8% net investment income tax on gains once modified adjusted gross income crosses $200,000 for singles or $250,000 for couples.
Stack the 20% top rate on top and the effective hit can reach 23.8% before state taxes, which in places like California or New York can add double digits more.
If you sold a home, up to $250,000 of profit is excluded from tax for single filers and $500,000 for couples, provided you lived there two of the last five years.
Miss that test and the gain is fully taxable, which is why so many people rent out a former home for three years and accidentally erase the exclusion.
Retirement accounts sidestep the whole system.
Gains inside a 401(k) or IRA aren't taxed as capital gains at all, they're taxed as ordinary income when withdrawn, or not at all in a Roth.
That's why financial planners push maxing these accounts before building a big taxable brokerage position.
Then there's the strategy that costs nothing to use: tax-loss harvesting.
If you have losing positions, selling them can offset realized gains dollar for dollar, and up to $3,000 of leftover losses can reduce ordinary income each year.
The losses carry forward indefinitely, so a bad year can shield gains for a decade.
Because brackets are based on annual taxable income, a year with a layoff, a sabbatical, or heavy business deductions might drop you into the 0% capital gains bracket.
Selling in that window instead of during your peak earning years is one of the few legal ways to pay nothing on a winning investment.
Wash sale rules trip up plenty of do-it-yourself investors.
Sell a stock at a loss and buy it back within 30 days, and the IRS disallows the loss entirely.
The same rule applies to a substantially identical fund, so swapping one S&P 500 index fund for another can void the deduction.
The takeaway is simple: the rate you pay isn't printed on a form, it's a product of how long you hold, what else you earn, and when you choose to sell.
A little planning before the sale beats a lot of regret after it.
Most people treat capital gains like weather, something that happens to them.
Final Thoughts
The holding period, the timing, and the account you use are all choices, and making them on purpose is the difference between handing over a slice of your gain and keeping the whole thing.