Straight answer
Do I pay tax when I sell stocks or other investments?
If you sell for more than your basis, generally what you paid, you have a capital gain, and it's taxable. If you held the investment for more than a year, it's a long-term gain, and your net capital gain may be taxed at a lower rate than your regular income: 0%, 15% or 20%, depending on your taxable income. Gains on investments held a year or less are short-term and taxed like ordinary income.
Which rate will I pay?
It depends on your taxable income and filing status. For 2026, the 0% rate applies to taxable income up to $49,450 for single filers and married people filing separately, $98,900 for married couples filing jointly, and $66,200 for heads of household. The 15% rate applies up to $545,500 for single filers, $613,700 jointly, $579,600 for heads of household and $306,850 married filing separately. Above that, the rate is 20%. A few gains, like collectibles, can be taxed at up to 28%.
How do I count how long I held it?
Generally, count from the day after you got the asset up to and including the day you sold it. More than one year is long-term; one year or less is short-term. Property you received as a gift or inheritance has its own rules, explained in Publication 544.
What if I sold at a loss?
Capital losses offset capital gains. If your losses are more than your gains, you can deduct up to $3,000 of the excess against other income ($1,500 if married filing separately), and carry the rest forward to later years. Losses on personal-use property, like your home or car, aren't deductible.
Where do I report it?
Report most sales on Form 8949 and summarize them on Schedule D of your Form 1040. A big gain may also mean you need to make estimated tax payments. People with significant investment income may also owe the net investment income tax.
- IRS — Topic no. 409, Capital gains and losses
- IRS — Revenue Procedure 2025-32 (2026 inflation adjustments)
Money Mechanics explains how things work in plain language. It is not personalized financial advice.
Get the next guide by email
New plain-language guides and tools as they land. Free, always — unsubscribe anytime.
Free to read.No jargon, no judgment, no spam.
Didn’t find what you need? Ask a question
We read every question and turn the common ones into free, plain-language answers. We can’t give personal advice, so please leave out account numbers and other personal details.
