Tax loss harvesting can offset ordinary income, but only up to $3,000 per year
When you sell an investment at a loss, you can use that loss to reduce your taxable income. However, the IRS limits how much of a loss you can deduct against ordinary income — the wages, salary, and other non-investment earnings you report on your tax return. In any single tax year, you can deduct a maximum of $3,000 in net capital losses against your ordinary income. If your losses exceed $3,000, the excess carries forward to future years, where you can use another $3,000 per year until the losses are exhausted.
This $3,000 annual cap applies regardless of how much you earned or how large your losses are. A person with $50,000 in investment losses can only use $3,000 of them in the current year. The remaining $47,000 sits on the books and becomes available in subsequent years, again at $3,000 per year. This is why tax loss harvesting is most useful for people who have both investment gains and investment losses in the same year — the losses can offset gains dollar-for-dollar without hitting the $3,000 cap.
Key Takeaways
- You can deduct up to $3,000 in net capital losses against ordinary income in a single tax year, regardless of how much you earned or how large your losses are.
- Capital losses that exceed $3,000 roll forward to future tax years and can be used at $3,000 per year until exhausted.
- Capital losses offset capital gains first (dollar-for-dollar with no limit), and only unused losses can be deducted against ordinary income.
- The wash-sale rule prevents you from immediately repurchasing the same or substantially identical security after selling at a loss, or the loss is disallowed.
- Married couples filing jointly still face the same $3,000 annual cap; filing separately does not increase the total deduction available to the household.
How losses offset gains before they touch ordinary income
The IRS treats capital gains and capital losses in a specific order. If you have both in the same year, losses offset gains first. This offset has no dollar limit — a $50,000 loss can completely wipe out a $50,000 gain. Only after all gains are offset do you look at what remains.
If you end the year with a net loss (more losses than gains), that net loss is what becomes subject to the $3,000 ordinary income cap. For example: you sold stocks for a $20,000 gain and other stocks for a $25,000 loss. The $20,000 gain is offset by $20,000 of the loss, leaving you with a $5,000 net loss. You can deduct $3,000 of that $5,000 against ordinary income in the current year. The remaining $2,000 carries forward.
This structure means tax loss harvesting is most powerful when you have realized gains in the same year. Many investors deliberately harvest losses in December to offset gains they locked in earlier in the year, reducing their total tax bill to zero or near zero.
What happens to losses that exceed the $3,000 limit
Unused capital losses do not disappear. They carry forward indefinitely to future tax years, where you can use another $3,000 per year against ordinary income. If you die before exhausting the losses, they are lost — they cannot be passed to heirs or used by your estate.
This carryforward can be valuable if you expect to have capital gains in future years. A person who harvested $15,000 in losses this year can use $3,000 against ordinary income now, then carry forward $12,000. If they realize a $10,000 gain next year, that $10,000 gain is offset by $10,000 of the carryforward loss, and they use another $2,000 against ordinary income. The remaining $2,000 carries to year three.
You do not need to do anything special to carry losses forward. The IRS tracks them automatically when you file your tax return. Your tax software or tax preparer will carry the amount to the next year's return.
The wash-sale rule and why it matters for harvesting
The wash-sale rule is the main trap in tax loss harvesting. If you sell a security at a loss, you cannot buy the same security or a substantially identical one within 30 days before or after the sale — or the loss is disallowed. The 30-day window runs from 30 days before the sale through 30 days after, for a total of 61 days.
Substantially identical means the same stock, the same bond, or a fund that tracks the same index. Buying a similar but different fund — for example, switching from a total US stock fund to a large-cap fund — usually avoids the rule, though the IRS has challenged this in some cases. Buying the same fund through a different provider does not help; it is still the same security.
The penalty for violating the wash-sale rule is that the loss is disallowed in the year you sold, and the loss amount is added to the cost basis of the replacement security instead. This defers the loss rather than eliminating it, but it also defers the tax benefit, which can reduce its value.
Married couples and the $3,000 cap
Married couples filing jointly still face a single $3,000 annual cap on deductions of net capital losses against ordinary income. The cap does not double to $6,000. Both spouses' losses are combined, and the household can deduct up to $3,000 total.
Married couples filing separately each get a $1,500 cap, not $3,000. Filing separately is almost never advantageous for tax purposes and triggers other penalties, so this option is rarely used. The standard approach is to file jointly and manage the household's losses as a single pool.
When ordinary income is low or zero
If you have little or no ordinary income in a given year — for example, you are retired and living on investment returns — you can still deduct up to $3,000 in net capital losses. The loss reduces your taxable income, which may lower your tax bill even if your ordinary income is already low. However, if your ordinary income is zero or negative, the $3,000 deduction may not reduce your tax bill at all, because there is no income to reduce.
In this situation, the carryforward becomes especially valuable. You can harvest losses now and use them in future years when you have ordinary income again, or when you realize capital gains. Some retirees deliberately harvest losses in years when they have little income, knowing they will use the carryforward in years when they withdraw more from their accounts or realize gains.
Frequently Asked Questions
Can I deduct more than $3,000 if I have very high ordinary income?
No. The $3,000 annual cap applies to everyone, regardless of income level. High earners cannot deduct more than $3,000 in net capital losses against ordinary income in a single year. Excess losses carry forward to future years at $3,000 per year.
What if I have $5,000 in losses and $2,000 in gains in the same year?
Your net loss is $3,000. The $2,000 gain is offset by $2,000 of the loss first, leaving a $3,000 net loss. You can deduct the full $3,000 against ordinary income in that year, with nothing to carry forward.
Do capital losses from real estate count toward the $3,000 cap?
No. The $3,000 cap applies only to capital losses from securities and other investment property. Real estate losses are treated separately under different rules. Losses on a personal residence cannot be deducted at all.
If I die with unused capital losses, can my heirs use them?
No. Unused capital losses expire when you die and cannot be transferred to your estate or heirs. This is one reason some people accelerate harvesting in years when they have large gains or expect to have lower income.
Does the wash-sale rule apply if I buy a different fund in the same asset class?
Usually not, but it depends on how different the fund is. Switching from one total US stock fund to another total US stock fund is likely to trigger the rule. Switching to a large-cap or mid-cap fund is usually safe, but the IRS has challenged this in specific cases. Your tax preparer can advise on your specific situation.