Selling an investment at a profit feels good until you remember the tax bill.
For most Americans, that bill depends on how long you held the asset and how much money you make.
Get the holding period wrong and you could hand over nearly double what you owed.
Hold a stock, fund, or other asset for 12 months or less and any profit counts as a short-term gain, taxed at your ordinary income rate.
That can run from 10% to 37% depending on your bracket.
Hold it longer than a year and the profit becomes a long-term gain, which gets friendlier rates: 0%, 15%, or 20%.
For 2024 returns, the 0% long-term rate applies to taxable income up to $47,025 for single filers and $94,050 for married couples filing jointly.
The 15% rate covers most middle and upper-middle earners.
The 20% top rate kicks in above $518,900 for singles and $583,750 for joint filers.
Those thresholds shift a little each year with inflation.
Here is where it gets interesting for budget-conscious households.
A married couple with modest income could sell long-held investments and pay zero federal tax on the gain, as long as their total taxable income stays under that $94,050 line.
Retirees living mostly on Social Security and savings often land in this group without realizing it.
If you sell at exactly 12 months, you may still owe the higher short-term rate.
The IRS generally wants the asset held for more than a year, meaning at least a day past the one-year mark.
Waiting a few extra weeks can mean the difference between a 22% rate and a 15% rate on the same profit.
There is also a 3.8% net investment income tax that applies to higher earners, generally those with modified adjusted gross income above $200,000 for singles and $250,000 for couples.
That surtax stacks on top of the capital gains rate, so a top-bracket seller could face a combined 23.8% federal rate.
Under current rules, single filers can exclude up to $250,000 of profit on a primary residence they have owned and lived in for two of the last five years.
Married couples filing jointly can exclude up to $500,000.
That exclusion has stayed flat for years while home prices climbed, which means more sellers now owe tax on a house sale than a decade ago.
Losses can offset gains, and that is worth using.
If you sold a losing stock this year, those losses can cancel out gains dollar for dollar.
If losses exceed gains, you can deduct up to $3,000 against ordinary income and carry the rest forward.
Some investors deliberately harvest losses in December to trim their tax bill.
Check your purchase dates before selling, since one extra day of patience can save real money.
Consider selling in a year when your income dips, like after a job loss or in early retirement, to land in a lower bracket.
And if you are donating appreciated stock to charity, you generally avoid the capital gains tax entirely while still claiming a deduction.
None of this is tax advice for your specific situation, and rules can change with each new Congress.
A CPA or tax software can run your actual numbers before you sell.
The bottom line: the tax code rewards patience, and the difference between selling today and selling next year can be thousands of dollars.
Before you hit the sell button, check the calendar and your income.
Final Thoughts
A little planning beats a surprise in April.