The federal tax on investment income depends on what kind of income it is and how long you held the asset. Long-term capital gains and qualified dividends are taxed at preferential rates of 0, 15, or 20 percent. Interest income and short-term gains are taxed at your ordinary rate, which tops out at 37 percent. High earners owe an additional 3.8 percent surtax on top of those rates once their income crosses a fixed threshold.1Internal Revenue Service. Topic No. 409, Capital Gains and Losses
How Capital Gains Are Taxed
Sell a stock, fund share, piece of real estate, or other capital asset for more than you paid and the profit is a capital gain. The holding period decides everything.
Held one year or less, the profit is a short-term gain taxed at ordinary income rates up to 37 percent. Held more than one year, it becomes a long-term gain eligible for lower rates.1Internal Revenue Service. Topic No. 409, Capital Gains and Losses
For 2026, the long-term brackets are:
- 0 percent on taxable income up to $48,350 (single), $96,700 (married filing jointly), or $64,750 (head of household).
- 15 percent above the 0 percent ceiling but not exceeding $533,400 (single), $600,050 (married filing jointly), $300,000 (married filing separately), or $566,700 (head of household).
- 20 percent above the 15 percent ceiling.
The thresholds adjust for inflation each year.1Internal Revenue Service. Topic No. 409, Capital Gains and Losses
The difference one day can make is real money. An $80,000 profit realized at month eleven stacks on top of your other income at ordinary rates. The same profit at month thirteen could be taxed at 15 percent instead of 24 or 32 percent.
Collectibles and Depreciated Property
Two long-term categories fall outside the 0/15/20 structure. Profits on collectibles such as coins, artwork, stamps, and precious metals are taxed at a maximum 28 percent rate. The gain on depreciated real property attributable to depreciation you previously claimed is taxed at a maximum 25 percent.1Internal Revenue Service. Topic No. 409, Capital Gains and Losses
Selling Your Home
If you owned and lived in your primary residence for at least two of the five years before the sale, you can exclude up to $250,000 of gain from income, or $500,000 for a married couple filing jointly.2Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence Gain that fits inside the exclusion is also outside the 3.8 percent surtax described below.
Ordinary vs. Qualified Dividends
Every cash dividend starts as an ordinary dividend taxed at your regular rate. A dividend qualifies for the lower long-term capital gains rates only if two conditions are met: it is paid by a U.S. corporation or a qualifying foreign entity, and you held the stock at least 61 days during the 121-day window beginning 60 days before the ex-dividend date.3Legal Information Institute. 26 USC 1(h)(11) – Dividends Taxed as Net Capital Gain
Buy a stock a week before the ex-dividend date and sell shortly after, and the dividend stays ordinary. Dividends from real estate investment trusts generally do not meet the qualified threshold and are typically taxed as ordinary income. Your brokerage reports the split between ordinary and qualified amounts on Form 1099-DIV each January.4Internal Revenue Service. Instructions for Form 1099-DIV
Interest Income
Interest from savings accounts, certificates of deposit, corporate bonds, and most other fixed-income holdings is taxed at your ordinary marginal rate. Banks and brokers report amounts over $10 on Form 1099-INT, and the tax applies whether you take the cash or let it reinvest.5Internal Revenue Service. Instructions for Forms 1099-INT and 1099-OID
Two exceptions matter for government debt. Interest from municipal bonds issued by state and local governments is generally exempt from federal income tax, which is why the after-tax yield can beat a higher-coupon corporate bond for investors in upper brackets. Interest on U.S. Treasury securities is subject to federal tax but exempt from state and local income tax.6TreasuryDirect. Tax Information for EE and I Savings Bonds
Zero-coupon bonds and other original issue discount instruments create a wrinkle worth knowing about. Even though you receive no cash interest until maturity, the IRS requires you to include a portion of the discount in income each year as it accrues. Your broker sends a Form 1099-OID when the accrued amount exceeds $10.7Internal Revenue Service. Guide to Original Issue Discount (OID) Instruments You may owe tax on income you haven’t actually collected.
The 3.8 Percent Net Investment Income Tax
Higher earners owe an additional 3.8 percent surtax layered on top of everything above. The Net Investment Income Tax applies to the lesser of your net investment income or the amount by which your modified adjusted gross income exceeds a fixed threshold.8Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax The thresholds are not adjusted for inflation:
- $200,000 for single or head-of-household filers
- $250,000 for married filing jointly
- $125,000 for married filing separately9Internal Revenue Service. Net Investment Income Tax
Net investment income includes interest, dividends, capital gains, rental income, and royalties. It does not include wages, Social Security benefits, self-employment income, distributions from 401(k) or IRA accounts, or tax-exempt interest.10Internal Revenue Service. Questions and Answers on the Net Investment Income Tax Any gain excluded under the home sale exclusion is also outside the surtax. You calculate the tax on Form 8960.11Internal Revenue Service. Instructions for Form 8960, Net Investment Income Tax
Because the thresholds have stayed the same since the tax was enacted in 2013, inflation pushes more households above the line every year. A married couple with combined salary near $200,000 who realizes a $60,000 gain on a property flip can easily trip the threshold without expecting it.
Cryptocurrency
The IRS treats digital assets as property. Every sale, exchange, or trade of cryptocurrency produces a capital gain or loss calculated the same way as a stock sale: proceeds minus cost basis. Swapping one cryptocurrency for another is taxable.12Internal Revenue Service. Frequently Asked Questions on Digital Asset Transactions
Staking rewards, cryptocurrency received as payment, and coins received through a hard fork are all ordinary income at fair market value when you gain control.13Internal Revenue Service. Revenue Ruling 2023-14 Starting with 2025 transactions, brokers report digital asset sales on new Form 1099-DA, but the reporting obligation on your side applies to every taxable transaction whether or not you receive a form.14Internal Revenue Service. About Form 1099-DA, Digital Asset Proceeds From Broker Transactions
Using Losses to Offset Gains
Losses offset gains dollar for dollar. Sell one stock at a $10,000 profit and another at a $7,000 loss in the same year and you pay tax on $3,000 in net gains. When total losses exceed total gains, you can deduct up to $3,000 of the excess against ordinary income, or $1,500 if married filing separately. Anything beyond that carries forward to future years indefinitely on Schedule D.15Internal Revenue Service. 2025 Instructions for Schedule D (Form 1040) Short-term losses first offset short-term gains, long-term losses first offset long-term gains, and any leftover in either category offsets the other.
The Wash Sale Rule
You cannot sell a security at a loss, buy it right back, and take the deduction. If you purchase a substantially identical security within 30 days before or 30 days after the loss sale, the wash sale rule disallows the loss.16Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities The disallowed loss is added to the basis of the replacement shares, so the benefit is deferred rather than lost.
The IRS has never published a detailed definition of “substantially identical,” so gray areas exist. Selling one S&P 500 index fund and immediately buying another S&P 500 index fund that tracks the same benchmark is risky. Selling an index fund and buying an actively managed fund in the same sector is on firmer ground. The cleanest approach when harvesting losses is to wait the full 31 days.
Foreign Taxes on International Holdings
If you own international stock funds or foreign equities, foreign tax is often withheld on your dividends and reported on your 1099-DIV. You can claim that amount as a credit or as an itemized deduction on your U.S. return. The credit is almost always better because it reduces your tax dollar for dollar.17Internal Revenue Service. Foreign Tax Credit – Choosing to Take Credit or Deduction
When total foreign taxes paid are $300 or less ($600 for joint filers) and all the income is passive, you can claim the credit directly on Form 1040 without filing Form 1116.18Internal Revenue Service. Instructions for Form 1116 (2025) Most investors holding diversified international index funds fall under that threshold.
When You Owe Estimated Tax
Wages have taxes withheld automatically. Investment income usually doesn’t. You generally owe quarterly estimated payments if you expect to owe at least $1,000 after withholding and credits, and your withholding will cover less than the smaller of 90 percent of your current-year tax or 100 percent of last year’s tax. When last year’s adjusted gross income exceeded $150,000 ($75,000 if married filing separately), the prior-year safe harbor rises to 110 percent.19Internal Revenue Service. 2026 Form 1040-ES, Estimated Tax for Individuals
For 2026, estimated payments are due April 15, June 15, September 15, and January 15, 2027.20Taxpayer Advocate Service. Making Estimated Payments The underpayment penalty is essentially interest on the shortfall; in early 2026, the IRS charges 7 percent.21Internal Revenue Service. Interest Rates Remain the Same for the First Quarter of 2026 Investors who realize a large mid-year gain on a property sale or concentrated stock position should run the math right away rather than waiting for the April filing.
Sheltering Investment Income
The strongest way to reduce investment taxes is not a timing move or a deduction. It is holding investments inside accounts designed to defer or eliminate tax on the growth.
Contributions to a traditional IRA or 401(k) reduce your taxable income the year you contribute, and interest, dividends, and gains inside the account grow tax-deferred until withdrawal. A Roth IRA flips the trade: contributions are after-tax, but qualified withdrawals in retirement, including all accumulated gains, are tax-free. Roth eligibility phases out at higher incomes.22Internal Revenue Service. 401(k) Limit Increases to $24,500 for 2026, IRA Limit Increases to $7,500
None of the investment income earned inside these accounts triggers the Net Investment Income Tax or requires estimated payments while it remains in the account. Distributions from qualified retirement plans are also excluded from the 3.8 percent surtax.10Internal Revenue Service. Questions and Answers on the Net Investment Income Tax For anyone already subject to the surtax, moving even part of a portfolio into tax-advantaged accounts shrinks the income base the surtax is calculated on.