Sell a stock you've held for years and the IRS wants its cut.
But how big that cut is depends on a tangle of rules that most Americans never bother to learn until the bill arrives.
The result is a quiet, widespread mess: people overpaying taxes they didn't owe, or getting blindsided by a rate they didn't expect.
Start with the basics, because they trip up almost everyone.
A capital gain is the profit from selling an asset — stocks, a second home, a fund — for more than you paid.
The IRS splits these into short-term and long-term, and the dividing line is one year.
Hold an asset for 365 days or less and your profit gets taxed as ordinary income, which for a high earner can mean a 37% federal rate on top of state taxes.
Hold it longer than a year and you graduate to the long-term rates, which are far gentler.
Most investors fall into the 0%, 15%, or 20% brackets, depending on total taxable income.
The 0% bracket isn't a myth — it exists, and plenty of middle-income filers qualify for it without realizing.
A married couple with modest income who sells some long-held shares might owe nothing at all on the gain.
That's where the confusion gets expensive.
Many people assume any investment profit is automatically taxed at 15%, so they hand over money the IRS never asked for.
Others don't know that a big one-time gain can push them into a higher bracket — and sometimes trigger the Net Investment Income Tax, an extra 3.8% that kicks in above certain income thresholds.
That surtax surprises high earners every April.
Then there's the part almost nobody mentions: your state may want a piece too.
Nine states levy no income tax at all, while others tax capital gains as ordinary income.
Move from a no-tax state to a high-tax one, sell a long-held position, and the state bill alone can run into five figures.
The rules also bend for special cases — a primary home sale, for instance, often shelters a chunk of profit through the exclusion, while collectibles and certain small-business gains follow their own playbooks.
Tax preparers, software companies, and the cottage industry of advisors selling "tax-loss harvesting" strategies.
That's not a conspiracy — it's just an incentive to notice.
The rules are genuinely complicated, and complexity creates billable work.
The practical move for ordinary investors is boring but effective.
Check your holding periods before you sell, not after.
Remember that gains are calculated across your whole tax picture, not in isolation.
And if a sale is large, run the numbers — or pay someone to run them — before you click the button, because a few days of patience can be the difference between a 37% rate and a 20% one.
The honest takeaway is that the capital gains system isn't rigged, but it is unforgiving to people who don't read the fine print.
A little planning beats a painful surprise.
Final Thoughts
The IRS won't remind you of the rules — so somebody has to.