Sell a stock, a rental property, or even a piece of land you've held for years, and the IRS wants a cut of the profit.
That cut is the capital gains tax, and the rate you pay depends heavily on one thing: how long you held the asset before selling.
For assets held longer than a year, the long-term capital gains rates for 2024 sit at 0%, 15%, or 20%, depending on your taxable income.
The 0% bracket isn't just for the poor — for single filers in 2024, it stretches up to $47,025 in taxable income, and for married couples filing jointly, up to $94,050.
Plenty of middle-income retirees and modest investors fall into that zero zone without realizing it.
Hold an asset for a year or less, though, and the rules change fast.
Short-term gains get taxed as ordinary income, which means your marginal rate applies — 22%, 24%, 32%, or higher.
Sell a stock at a $10,000 profit after 11 months in the 24% bracket and you owe roughly $2,400.
Wait one more month and, depending on your total income, you might owe $1,500 or even nothing.
If your modified adjusted gross income crosses $200,000 as a single filer or $250,000 jointly, the 3.8% net investment income tax kicks in on top of the standard rate.
That pushes the top effective rate to 23.8%, and it catches plenty of dual-income households who never think of themselves as wealthy.
A few practical moves can keep more money in your pocket.
If you're near the top of the 0% or 15% bracket, consider selling appreciated assets in smaller chunks across tax years instead of all at once.
If you're charitably inclined, donating long-held shares avoids the tax entirely and gives you a deduction.
And if you're sitting on a loss, harvesting it before year-end can offset gains elsewhere in your portfolio.
Retirement accounts deserve a mention too.
Gains inside a 401(k) or traditional IRA aren't taxed annually at all — they're taxed as ordinary income when you withdraw.
That's not automatically better, especially if you'll be in a higher bracket later, but it's a different bucket worth comparing before you decide where to hold your investments.
One more thing that trips people up: your home.
Most homeowners can exclude up to $250,000 of profit from selling a primary residence, or $500,000 for married couples filing jointly, as long as they've lived there two of the last five years.
That exclusion has shielded a lot of families from a surprise tax bill in hot housing markets.
The difference between a 15% and a 24% rate often comes down to a calendar date, not clever investing.
Before you sell anything with a big gain, check your holding period, estimate your total income for the year, and run the numbers — or pay someone a couple hundred dollars to run them for you.
Final Thoughts
That small upfront cost can save thousands.