Tax Loss Harvesting Rules: Wash Sales, Limits, Year-End

William Cole · · 17 min read
Series 65 · CRD #7004357
What is tax loss harvesting?
Tax loss harvesting means selling an investment at a loss in a taxable account so the realized loss may offset capital gains and, within limits, other income. The wash-sale rule can disallow the loss if you buy a substantially identical investment within 30 days before or after the sale, a window that can cross December 31.
This article is general education, not tax or investment advice. Rules change and individual circumstances matter. Rule descriptions below are as of November 9, 2026, and cite IRS material.
Talk through how tax loss harvesting rules may apply to your situation
How tax loss harvesting works in three steps
- Realize a loss. In a taxable account, sell an investment for less than your adjusted basis. According to the IRS, a capital loss exists only when you sell, and an investment that has dropped but has not been sold has an unrealized loss that does not count on your return (IRS Topic no. 409).
- Use the loss. Realized losses are combined with realized gains. If your losses exceed your gains, the IRS says the excess you can claim to lower your other income is limited each year, and the rest may carry forward (IRS Topic no. 409).
- Watch the wash-sale window. If you buy substantially identical stock or securities within 30 days before or after the loss sale, the loss generally cannot be deducted at that time (IRS Publication 550).
The trade-off sits inside the steps. A loss that is allowed lowers your basis in whatever you hold next, so a later sale may produce a larger gain. Harvesting may defer taxes rather than eliminate them, trading has costs, and it does not remove investment risk. The sections below explain each rule in more detail.
Tax loss harvesting rules at a glance (as of November 9, 2026)
| Rule | What the IRS says | Source |
|---|---|---|
| Wash-sale window | A loss is generally not deductible if, within 30 days before or after the sale, you buy substantially identical stock or securities. Counting the sale day, that is a 61-day window. | IRS Publication 550, Wash Sales |
| Disallowed loss | The disallowed loss is generally added to the cost of the replacement stock or securities, which postpones the deduction. | IRS Publication 550, Wash Sales |
| Annual limit against other income | The excess loss you can claim is the lesser of $3,000 ($1,500 if married filing separately) or your total net loss. | IRS Topic no. 409 |
| Carryforward | A net capital loss above that limit can be carried forward to later years, figured with the Capital Loss Carryover Worksheet. | IRS Topic no. 409 and Publication 550 |
| Long-term or short-term | Held more than one year is generally long-term. One year or less is short-term. | IRS Topic no. 409 |
These are federal rules. State treatment may differ, and how they apply to you depends on your facts.
Why people ask about tax loss harvesting rules
Most people searching for the rules want to know three things. What counts as a loss the IRS recognizes? What can undo it? And what happens if the loss is bigger than the gains it offsets?
The sections below walk through each in order. Nothing here is a recommendation to buy or sell anything. Whether harvesting makes sense depends on your tax situation, your holdings, and your goals, and it involves trade-offs that are worth discussing with a tax professional.
Realized gains and losses
A capital gain or loss only exists for tax purposes when you sell. According to the IRS, the difference between your adjusted basis in an asset and the amount you realize from the sale is a capital gain or a capital loss. Generally, basis is what you paid for the asset, and different rules apply to assets received as a gift or inheritance (IRS Topic no. 409).
- A gain occurs when you sell for more than your adjusted basis.
- A loss occurs when you sell for less than your adjusted basis.
- An investment that has dropped in value but has not been sold has an unrealized loss. It does not count on your tax return until you sell.
Short-term versus long-term
The IRS classifies gains and losses by how long you held the asset. Generally, if you hold it more than one year, the result is long-term. If you hold it one year or less, it is short-term. Net short-term capital gains are taxed as ordinary income at graduated rates, while net capital gains may be taxed at lower rates depending on your taxable income (IRS Topic no. 409).
This matters because the type of gain or loss affects how losses are used. Net short-term and net long-term results are figured separately and then combined on Schedule D. Your tax professional can explain how that netting applies to you.
The wash-sale rule
The wash-sale rule is the rule that most often surprises people. Under IRS Publication 550, a wash sale occurs when you sell or trade stock or securities at a loss and, within 30 days before or after the sale, you do any of the following:
- Buy substantially identical stock or securities
- Acquire substantially identical stock or securities in a fully taxable trade
- Acquire a contract or option to buy substantially identical stock or securities
- Acquire substantially identical stock for your IRA or Roth IRA
The IRS also notes that if you sell stock and your spouse or a corporation you control buys substantially identical stock, you have a wash sale (IRS Publication 550, "Wash Sales").
Taken together, the window covers 61 days: the day of the sale, the 30 days before it, and the 30 days after it. Purchases made in a different account can count, including a retirement account, and purchases made through reinvested dividends or automatic investment plans could also fall inside the window.
What happens when a wash sale applies
You cannot deduct the loss at that time. The IRS says the disallowed loss is generally added to the cost of the new stock or securities, which becomes your basis in the new position. That postpones the loss deduction until you dispose of the new position, and your holding period for the new position includes the holding period of what you sold (IRS Publication 550).
What "substantially identical" means
The answer depends on the facts. Publication 550 discusses the concept, including how stock and related contracts, options, and warrants may be treated. This is one of the places where a tax professional's judgment matters most. Because the rule turns on facts and circumstances, similar-looking investments are not automatically safe, and different-looking ones are not automatically covered.
The tax loss harvesting limit and loss carryforwards
What is the tax loss harvesting limit? The IRS caps how much net capital loss can lower your other income in one year at $3,000 ($1,500 if married filing separately). Losses above that cap are not lost, but they carry forward and may be used later (IRS Topic no. 409, as of November 9, 2026).
If your capital losses are larger than your capital gains for the year, the IRS says the amount of the excess loss you can claim to lower your other income is the lesser of $3,000 ($1,500 if married filing separately) or your total net loss shown on Schedule D (IRS Topic no. 409, as of November 9, 2026).
If your net capital loss is more than that limit, you can carry the loss forward to later years. The IRS points taxpayers to the Capital Loss Carryover Worksheet in Publication 550 or in the Instructions for Schedule D to figure the amount that carries forward (IRS Topic no. 409).
A carryforward is not a refund. It is a loss that may be used in a later year, and whether and when it is useful depends on future gains and income that nobody can predict.
Timing considerations
Timing questions come up often and are worth raising with a tax professional well before year-end.
- Short-term versus long-term status. Selling just before or after the one-year mark can change how a gain or loss is classified.
- Automatic activity. Dividend reinvestment, automatic contributions, and employer stock plans can create purchases you did not plan around.
Year-end timing: what the calendar changes
Questions about harvesting tend to come up in the last weeks of the year, because the tax year closes on December 31. This section is general education as of November 9, 2026, based on IRS Topic no. 409 and Publication 550 (2025 edition, which the IRS page shows as last reviewed April 30, 2026). It is not a recommendation to buy or sell anything. Each point below carries a limitation.
- Trade date, not settlement date. For securities traded on an established securities market, the IRS says your holding period begins the day after the trade date you bought the securities and ends on the trade date you sold them, and it cautions against confusing the trade date with the settlement date. Its example of a December 31 sale that settles in January says to report the gain or loss on the return for the year of the sale (IRS Publication 550). Limitation: these statements address the holding period and the year of reporting. How they apply to a specific year-end trade is a question for your tax professional and your broker's records.
- The wash-sale window can straddle year-end. The window covers the day of the sale, the 30 days before it, and the 30 days after it, so a December sale can be affected by a purchase in January, and a purchase in early December can affect a sale made later in the month (IRS Publication 550). Limitation: the window counts days, not tax years, so a disallowed loss may be pushed into a later year than you expected, and the disallowed amount is generally added to the cost of the replacement shares.
- Purchases in an IRA count. The IRS lists acquiring substantially identical stock or securities for your IRA or Roth IRA within the 30-day window as a wash sale (IRS Publication 550). Limitation: a purchase in a spouse's account or a retirement account may not appear on your Form 1099-B, yet the IRS says you cannot deduct a wash-sale loss even when it is not reported there. The IRS instruction to add a disallowed loss to the cost of the new shares also excludes the IRA and Roth IRA case, so a loss disallowed that way may not be recoverable through basis in the way described above.
- The annual limit resets each year. The $3,000 limit ($1,500 if married filing separately) applies to each tax year, and a net loss above it can carry forward (IRS Topic no. 409). Limitation: a carryforward is not a refund, and its value depends on future gains and income.
A year-end review of realized gains and losses may help you see where you stand before December 31. It does not change the trade-offs below, including a lower basis, trading costs, state tax differences, and investment risk.
Pros and cons of tax loss harvesting
Tax loss harvesting is often described as a way to lower a tax bill. It has limits, and the benefits depend on the individual.
Potential benefits, each with its limit:
- A realized loss may offset capital gains. Limit: the wash-sale rule can postpone the loss, and the offset only helps if you have gains or income to use it against.
- Some excess loss may lower other income. Limit: the IRS caps this at $3,000 per year ($1,500 if married filing separately), and the rest carries forward rather than paying out (IRS Topic no. 409, as of November 9, 2026).
- A carryforward may be usable in later years. Limit: its value depends on future gains and income, which cannot be predicted.
Limitations and trade-offs:
- It may defer taxes rather than eliminate them. Selling at a loss and reinvesting generally lowers the basis of what you hold. A lower basis can mean a larger gain when you eventually sell. The IRS defines gain or loss as the amount realized minus adjusted basis (IRS Publication 550, "How To Figure Gain or Loss").
- It requires gains or income to offset. Without realized gains, the annual deduction limit applies and the rest is carried forward.
- Wash-sale mistakes can disallow the loss. The loss is postponed and may not be usable when you expected.
- Trading has costs. Transaction costs, bid-ask spreads, and the risk that a replacement investment performs differently from the one sold can outweigh a tax benefit.
- Your tax bracket matters. A loss may be worth more or less depending on your income and the type of gain it offsets.
- State rules may differ. State tax treatment of capital gains and losses can vary.
- Investing involves risk. Selling an investment changes your portfolio and its risk. Harvesting should be considered alongside your overall plan, not apart from it.
Recordkeeping
Good records make the rules easier to follow and easier to report accurately.
- Form 1099-B. Your broker reports sales on Form 1099-B. For wash sales, the IRS says box 1g shows the disallowed loss if the securities were covered securities and the substantially identical securities had the same CUSIP numbers and were bought in the same account. However, the IRS says you cannot deduct a loss from a wash sale even if it is not reported on Form 1099-B (IRS Publication 550). That means purchases in other accounts may not appear on the form.
- Form 8949 and Schedule D. The IRS says to report most sales on Form 8949 and summarize them on Schedule D (Form 1040). A wash sale is reported on Form 8949 with code "W" in column (f) and the disallowed loss in column (g) (IRS Topic no. 409 and Publication 550).
- Basis and purchase dates. Keep trade confirmations and statements that show what you paid and when, especially for shares bought at different times and prices.
- Carryforward worksheets. Keep the prior-year Schedule D and carryover worksheet so unused losses can be tracked from year to year.
What to bring to a planning conversation
If you are thinking about harvesting, a short checklist can make a conversation with your tax professional and advisor more productive:
- Your most recent tax return, including Schedule D and any carryover worksheet
- Year-to-date realized gains and losses from each custodian
- A list of taxable and retirement accounts, including accounts held by your spouse
- Purchase dates and cost basis for the positions you are reviewing
- Automatic investing and dividend reinvestment settings
- Equity compensation details, such as RSU vesting dates and employee stock purchase plan dates
- Your expected income for this year and next
- Questions about state taxes
Related reading
Tax loss harvesting touches several other planning topics. Each article below describes its own limits and costs:
- Tax planning for high income earners places realized losses alongside other tax levers, such as retirement contributions and income timing.
- Equity compensation planning covers concentrated stock positions, where selling to diversify can create gains that realized losses may offset.
- How donor-advised funds work compares giving appreciated shares with selling them, a different tool from harvesting losses.
How tax loss harvesting fits into our planning at LKL Advisors
Tax loss harvesting is one of the services we offer, alongside tax strategy and comprehensive financial planning. Where applicable, it is part of how we think about tax-aware investing. Results vary by individual circumstances and may involve trade-offs, and we coordinate with your tax professional rather than replace them.
Some investors pursue harvesting through direct indexing, which holds individual securities instead of a single fund. That can create more positions to track, which makes the wash-sale and recordkeeping rules above more important. Our article on direct indexing: what it is and who it's for covers the benefits and trade-offs in more detail, and direct indexing and tax-loss harvesting looks at how the two fit together.
Our published fee structure covers planning under one fee, with no account minimums. Contact details are on our contact page.
Book a conversation about your tax picture and how these rules may apply
Frequently asked questions
What is tax loss harvesting in simple terms?
It is selling an investment at a loss so the loss can be used on your tax return, generally to offset capital gains and then, within limits, other income. The wash-sale rule and the annual limit are the main rules to understand.
How long do I have to wait to buy something back?
The wash-sale rule looks at purchases within 30 days before or after the sale. Which purchases count, and which investments are substantially identical, depends on the facts. Ask a tax professional before you act.
What is the tax loss harvesting limit?
The IRS says the excess capital loss you can claim to lower other income in a year is the lesser of $3,000 ($1,500 if married filing separately) or your total net loss. Losses above the limit can be carried forward to later years (IRS Topic no. 409, as of November 9, 2026).
How much loss can I deduct in a year?
After offsetting capital gains, the IRS says the excess loss you can claim against other income is the lesser of $3,000 ($1,500 if married filing separately) or your total net loss. Unused losses can be carried forward (IRS Topic no. 409, as of November 9, 2026).
What are the basic tax loss harvesting rules?
Three rules do most of the work: a loss counts only when you sell, the wash-sale rule can disallow it if you buy a substantially identical investment within 30 days before or after the sale, and an annual limit applies to losses beyond your gains, with the remainder carried forward. Trade-offs include a lower basis, trading costs, and investment risk.
Does the wash-sale rule apply to my IRA?
It can. The IRS lists acquiring substantially identical stock for your IRA or Roth IRA within the 30-day window as a wash sale (IRS Publication 550). Ask your tax professional how your retirement accounts should be treated.
Is tax loss harvesting right for everyone?
No. It depends on your income, your gains, your holdings, and the costs involved. It may defer taxes rather than eliminate them, and it does not remove investment risk.
Do I get $3,000 back from a stock loss?
No. The $3,000 figure is a limit on how much of a net capital loss can lower your other income in a year ($1,500 if married filing separately). It is not a refund or a payment. The IRS says the excess loss you can claim is the lesser of that limit or your total net loss, and a larger net loss can be carried forward to later years (IRS Topic no. 409, as of November 9, 2026). What it does to your tax bill depends on your income and other facts.
Is tax loss harvesting worth it?
It depends, and for some people it may not be. The result can turn on your tax bracket, whether you have gains to offset, trading costs, and wash-sale risk. Harvesting may also defer taxes rather than eliminate them, because a loss that is allowed lowers the basis of what you hold next and could mean a larger gain on a later sale. It does not remove investment risk. A tax professional can look at your return.
Can I harvest losses in a retirement account?
Tax loss harvesting is generally discussed for taxable accounts, where a sale at a loss is reported on your return. The IRS says a loss on a traditional IRA or Roth IRA investment is a miscellaneous itemized deduction that can no longer be deducted (IRS Publication 529, December 2020 edition, the version posted as of November 9, 2026). Separately, buying substantially identical securities in an IRA or Roth IRA within the 30-day window can cause a wash sale on a loss taken in a taxable account (IRS Publication 550). Rules for employer plans differ, so ask a tax professional about your accounts.
When do tax loss harvesting decisions come up during the year?
The rules apply all year, but questions often arise toward year-end because a loss counts for the tax year in which you sell and the wash-sale window can cross into January. Selling just to meet a date can create trading costs and change your portfolio, so the tax effect is only one input.
Does LKL Advisors give tax advice?
Our planning includes tax awareness, and we coordinate with your tax professional. Questions about how these rules apply to your return belong with a licensed tax professional.
Sources
- IRS, Topic no. 409, Capital gains and losses, accessed November 9, 2026
- IRS, Publication 550, Investment Income and Expenses (2025), accessed November 9, 2026
- IRS, About Form 8949, Sales and Other Dispositions of Capital Assets, accessed November 9, 2026
- IRS, About Schedule D (Form 1040), Capital Gains and Losses, accessed November 9, 2026
- IRS, Publication 529, Miscellaneous Deductions (12/2020), accessed November 9, 2026
LKL Advisors is based in Atlanta, Georgia, and works with clients across the country, wherever we are registered or otherwise permitted to serve them. Planning is done remotely through secure virtual platforms, so you do not need to be in Atlanta to work with us.
This article is for informational purposes only and should not be construed as investment, tax, or legal advice. Please consult a licensed professional before making financial decisions. Advisory services are offered through LKL Advisors, LLC, a Georgia-registered investment adviser. Investing comes with risk of loss, and past performance is not indicative of future performance.
Related articles
- Equity Compensation+1
RSU Taxes: How Vesting, Withholding and Cost Basis Work
How RSUs are taxed at vesting, why withholding can differ from your actual tax, and how cost basis works when you sell. Educational only.
November 16, 2026 · 14 min read - Financial Planning+1
Estate Tax Planning: Rules, Roles, and Trade-Offs
A plain-language guide to estate tax planning: the federal exclusion, gifts, portability, Georgia's rules, and who does what. Educational only.
November 9, 2026 · 12 min read - Tax Strategy+1
What Is Imputed Income? How It Shows Up on Your Paycheck and W-2
What is imputed income? A plain-language guide for corporate and tech employees: common sources such as group term life and domestic partner coverage, how it appears on a pay stub and W-2, a...
October 26, 2026 · 12 min read
