Educational information, not individual financial advice.
Key Takeaways
Capital gains are profits from selling an asset for more than you paid. The tax code treats them very differently from wages, and the differences create substantial planning opportunities for long-term investors.
Short-term capital gains — gains on assets held for one year or less. Taxed at your ordinary income tax rate, same as wages.
Long-term capital gains — gains on assets held for more than one year. Taxed at preferential rates: 0%, 15%, or 20%, depending on your taxable income.
The difference is significant. A high-income investor might pay 37% on a short-term gain vs 20% on the same dollar of gain held one more day past the one-year mark. This is the core reason most investment strategies emphasize long holding periods.
| Taxable income (MFJ) | LT capital gains rate |
|---|---|
| Up to ~$98,900 | 0% |
| $98,900 to ~$613,700 | 15% |
| Above ~$613,700 | 20% |
For single filers, the thresholds are roughly half. The 0% bracket is an often-overlooked planning opportunity — married couples in the 12% ordinary bracket owe nothing on long-term gains up to the bracket top.
On top of the base capital gains rate, taxpayers with high incomes pay an additional 3.8% NIIT on investment income (including capital gains, dividends, interest) above:
So the effective top rate on long-term gains for high earners is 23.8% (20% + 3.8%). For short-term gains, it's 40.8% (37% + 3.8%).
Most dividends from U.S. and many foreign companies are "qualified" and taxed at the same preferential rates as long-term capital gains. REIT dividends are typically not qualified and are taxed as ordinary income (though a portion may qualify for the 20% QBI deduction).
This is one reason REITs are often held in tax-advantaged accounts.
Your "basis" in an asset is what you paid for it. When you sell, the gain or loss is the difference between sale price and basis:
Basis adjustments can shift this:
Good records matter. Brokerages track basis for most securities purchased after 2011, but older positions may have missing basis information.
When you sell some of a position but not all, which shares are you selling? Default is usually First In, First Out (FIFO) — the oldest shares are considered sold first.
You can specify which shares to sell ("specific identification"), which can dramatically lower the tax bill. If you bought shares at $50, $60, and $70 and sell at $65, identifying the $70 shares produces a loss; the $50 shares produce a gain. This is a critical tool for tax-loss harvesting.
Long-term gains stack on top of ordinary income. An investor with $70,000 ordinary income and $50,000 of long-term gains (MFJ) has total taxable income of $120,000. The long-term gains fill the remaining 0% bracket (up to ~$98,900) and then move into the 15% bracket.
This stacking means the effective rate on capital gains can be much lower than the "headline" 15% or 20% — if you can manage your ordinary income in low years.
Retired couples living off a combination of taxable investments, Roth balances, and a limited amount of pre-tax retirement distributions often can stay in the 0% LT gains bracket entirely. Selling appreciated positions in early retirement to realize gains at 0% is a powerful — and counterintuitive — tool.
Horizons models taxable investment accounts with an assumed blend of short-term and long-term gain realization. Asset-linked income-linked expenses apply the correct preferential rates for long-term gains. When testing strategies like "sell all positions in 2027," the engine applies the full tax bill for that year, which helps you see the cost of concentrated realizations.
| Category | Value | Share |
|---|---|---|
| 0% bracket | 6% | |
| 15% bracket | 35% | |
| 20% bracket | 45% | |
| NIIT add-on | 14% |
Long-term gains stack on top of ordinary income. Low-income years — especially early retirement — can realize large gains at 0%.
A retiree living mostly on Roth withdrawals has $40,000 of other taxable income (a small pension + SS) and $200,000 of unrealized long-term gains in a taxable account. If they realize $50,000 of those gains this year, how are they taxed?
Known limitations
Sources
Educational information distilled from the Horizons engine methodology — not individual financial advice.
Try this next
Short-Term vs Long-Term Gains
More related reading