Sell a stock, a rental property, or even a piece of land you inherited, and the IRS wants a cut of the profit.
That cut is the capital gains tax, and it works nothing like the tax on your paycheck.
With more Americans dabbling in brokerage apps and side investments, getting this wrong can mean a surprise bill in April.
The first thing to know is that only your profit gets taxed, not the whole sale.
If you bought shares for $5,000 and sold them for $8,000, the taxable gain is $3,000.
How long you held the investment changes the rate you pay, and that difference can be huge.
Hold an asset for more than a year and it qualifies as long-term.
For the 2024 tax year, most married couples earning under about $94,050 pay 0% on long-term gains, and single filers under roughly $47,025 also pay nothing.
Above those thresholds, rates step up to 15%, then 20% for the highest earners.
A 3.8% surtax on investment income kicks in for very high earners.
Sell in a year or less and it's short-term, taxed as ordinary income.
That means your gain could be taxed at 22%, 24%, or higher, depending on your bracket.
This single detail trips up a lot of new investors who flip positions quickly without realizing the tax hit.
If you sell your primary residence, you can exclude up to $250,000 of profit if you're single and $500,000 if married filing jointly, provided you lived there two of the last five years.
That's one of the most generous breaks in the tax code, and many sellers walk away owing nothing.
Gains inside a 401(k) or traditional IRA aren't taxed year to year.
You pay ordinary income tax when you withdraw, which is why financial planners often call these accounts tax-deferred rather than tax-free.
A few practical moves can soften the blow.
Holding just past the one-year mark can drop your rate from ordinary income to long-term rates.
Tax-loss harvesting, where you sell a losing investment to offset gains, is another common strategy.
And charitable giving or gifting appreciated shares can reduce what's owed.
Proposals to raise capital gains rates for high earners surface regularly in Washington, and state taxes vary widely.
Nine states have no income tax at all, while others tax gains as ordinary income.
Before selling anything big, it's worth running the numbers or talking to a tax pro.
Our take: the capital gains system rewards patience, plain and simple.
If you can hold an investment past the one-year mark and keep your income in the lower brackets, you may owe little or nothing on your profit.
Final Thoughts
Treat the tax code as a reason to think long-term, not a reason to avoid investing.