Short-term vs long-term rates, the Net Investment Income Tax, and how the holding period rule can save you thousands.
If you sell an investment for more than you paid β stocks, ETFs, crypto, real estate, or a business interest β you've realized a capital gain, and the IRS treats it very differently depending on how long you held the asset. Understanding this one distinction is one of the highest-leverage pieces of tax knowledge any investor can have.
Hold an asset for one year or less before selling, and any profit is a short-term capital gain, taxed at your ordinary income tax rate β the same rates that apply to your salary, up to 37% for the highest earners. Hold it for more than one year, and the profit becomes a long-term capital gain, taxed at dramatically lower preferential rates instead.
| Rate | Single filer taxable income |
|---|---|
| 0% | Up to $48,350 |
| 15% | $48,351 β $533,400 |
| 20% | Over $533,400 |
Compare that to short-term gains, which stack on top of your ordinary income and can be taxed as high as 37% federally β more than double the top long-term rate. The difference on a large gain can easily run into tens of thousands of dollars, purely based on whether you waited past the one-year mark before selling.
Say you have a $50,000 gain and you're in the 32% ordinary tax bracket. Sell at 11 months: you owe $16,000 in short-term capital gains tax (32% Γ $50,000). Wait one more month to cross the one-year mark: you owe $7,500 instead (15% Γ $50,000) β an $8,500 difference from patience alone, assuming the asset's value doesn't change in the meantime.
High earners face an additional 3.8% Net Investment Income Tax on top of regular capital gains tax, applying to the lesser of your net investment income or the amount your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). This isn't indexed for inflation, so more investors get caught by it every year as incomes rise.
If you have losing positions, selling them ("tax-loss harvesting") lets you offset gains dollar-for-dollar, reducing your taxable gain for the year. If your losses exceed your gains, you can deduct up to $3,000 of the excess against ordinary income per year, with any remaining loss carried forward indefinitely to future tax years. Be aware of the wash-sale rule β you can't claim a loss if you buy the same or a "substantially identical" security within 30 days before or after the sale.
If you sell your primary residence, you can generally exclude up to $250,000 of gain ($500,000 if married filing jointly) from capital gains tax entirely, provided you owned and lived in the home for at least two of the five years before the sale. This is one of the most valuable tax breaks available to ordinary Americans and is often underused simply because people don't realize how large the exclusion is.
Most states also tax capital gains, typically at the same rate as ordinary income (no special long-term discount at the state level in most states), though nine states have no income tax at all and therefore no state-level capital gains tax either. This means your total capital gains tax burden depends significantly on which state you live in at the time of sale β some investors deliberately time major asset sales around a planned move to a no-tax state.
Sources: IRS.gov capital gains tax rates and Net Investment Income Tax guidance. This article is for informational purposes only and does not constitute financial or tax advice. Always consult a qualified tax professional for advice specific to your situation.