Tax Loss Harvesting: How to Reduce Your Tax Bill This Year

Tax loss harvesting turns portfolio losses into tax savings by offsetting gains, reducing taxable income, and carrying unused losses forward into future years.

,

Advertising

Some of the most valuable financial moves an investor can make don’t happen during market highs; they happen when investments are in the red. Tax loss harvesting is the strategy that turns a losing investment into a deliberate, legal tax advantage, and for millions of Americans, it remains one of the most underused tools in their financial arsenal.

Every year, portfolios decline quietly while their owners wince and wait. What most investors don’t realize is that those paper losses can actually reduce their tax bill, sometimes dramatically. The discomfort of a down position doesn’t have to be a pure loss; it can be converted into real savings before the December 31 deadline.

Understanding the mechanics, rules, and limits reveals a strategy that is less intimidating and more empowering than most people expect. From the wash-sale rule to the $3,000 ordinary income deduction, each component of this strategy rewards the investor who takes the time to learn it.

Tax loss harvesting scene with hands feeding red paper slips into a shredder beside a tray of green slips.

What Tax Loss Harvesting Actually Does

At its core, tax loss harvesting is the deliberate act of selling an investment at a loss to offset gains realized elsewhere in a taxable portfolio.

That means that rather than letting losses expire into irrelevance, the investor intentionally “harvests” them, booking the loss on paper and immediately reinvesting in a similar (but not identical) asset to maintain market exposure.

The distinction between realizing a loss and simply holding one is critical. An unrealized loss is like an unused coupon; it has potential value, but only if an investor acts on it. Selling triggers the loss on the books, making it available to offset capital gains from other positions that performed well during the same tax year.

Tax-loss harvesting is a tried-and-true strategy that allows investors to use investment losses to offset gains and potentially ease their overall tax burden. The reinvestment step is what separates this from simply cutting losses and walking away. Staying in the market is the whole point.

The Math Behind the Strategy

Consider a straightforward scenario. An investor sells Investment A for a $25,000 gain but also holds Investment B, which has declined by $18,000.

By selling Investment B and locking in that loss, the net taxable gain shrinks to just $7,000. At a long-term capital gains rate of 15%, that’s a federal tax bill of $1,050 instead of $3,750, a difference of $2,700 saved in a single move.

Furthermore, if capital losses exceed capital gains in a given year, up to $3,000 of the remaining loss can offset ordinary income (such as wages, dividends, and interest), and any excess carries forward indefinitely into future tax years.

That carryforward mechanism means losses harvested today can protect against a large gain years down the road, such as from selling a business or exercising stock options.

Short-Term vs. Long-Term: Why Loss Character Matters

Not all harvested losses carry the same financial weight, a detail many explanations overlook. The IRS taxes short-term capital gains (profits from assets held one year or less) at ordinary income rates, which can reach as high as 37% for high earners. Long-term gains, by contrast, are taxed at preferential rates of 0%, 15%, or 20% depending on income level.

This asymmetry means a short-term loss is often more valuable than a long-term loss of the same dollar amount. When a short-term loss offsets a short-term gain, it eliminates a liability that would have been taxed at the investor’s full income rate.

The ordering rules are specific: short-term losses first offset short-term gains, long-term losses first offset long-term gains, and only then do excess losses cross over to the other category.

How Loss Ordering Affects Real Savings

The table below illustrates how different loss types interact with gains and what the tax consequence looks like for each scenario, assuming a 35% ordinary income rate and a 15% long-term capital gains rate.

Loss TypeGain OffsetTax Rate AppliedSavings Per $1,000 of Loss
Short-term lossShort-term gainUp to 37% (ordinary income)Up to $370
Long-term lossLong-term gain0%, 15%, or 20%Up to $200
Excess loss (any type)Ordinary income (up to $3,000)Marginal income rateVaries by bracket
Carryforward lossFuture gains or incomeRate applicable in future yearDeferred but real

Additionally, the time value of money plays a critical role. A dollar of tax saved today is worth more than a dollar saved a decade from now, even if harvesting reduces the cost basis of the replacement investment. The tax deferral itself has compounding value, especially for investors who reinvest those tax savings immediately.

The Wash-Sale Rule: The Line You Cannot Cross

The IRS implemented important guardrails for this strategy. The wash-sale rule is central to every harvesting decision, and violating it disqualifies the loss for the current tax year.

The rule states that if an investor sells a security at a loss and then purchases the same security, or one that is “substantially identical,” within 30 days before or after that sale, the loss is disallowed.

That creates a 61-day exclusion window: 30 days before the sale, the day of the sale, and 30 days after. That means tax-loss harvesting can offer a way to offset taxable capital gains, but only when the wash-sale rule is carefully navigated. Importantly, the rule applies across all of an investor’s accounts, including IRAs and those held by a spouse.

How to Replace Investments Without Triggering a Wash Sale

Replacing the sold position with something similar but not substantially identical keeps market exposure intact while preserving the harvested loss.

For example, selling an S&P 500 index ETF and immediately buying a total stock market fund generally avoids the rule, since the funds track different indexes despite overlapping. Selling a specific tech stock and replacing it with a broad technology sector ETF is another approach most tax professionals consider safe.

However, replacing one S&P 500 ETF with another from a different provider is riskier, as both track the same index, and the IRS has not issued definitive guidance on same-index substitutions. The safer path is to wait 31 days before swapping back to the original holding if preferred. This 31-day wait is the price of certainty.

Key Limits, Rules, and Practical Considerations

Before executing harvesting trades, several constraints deserve careful attention. As Charles Schwab details, tax-loss harvesting works by offsetting capital gains with capital losses, but only within taxable brokerage accounts. The strategy does not apply to tax-advantaged accounts like 401(k)s or IRAs, where gains are already tax-deferred or tax-free.

Beyond the account type restriction, several additional considerations shape whether harvesting makes strategic sense:

  • Review your tax bracket, as investors in higher marginal brackets extract the most value.
  • Consider positions you plan to hold until death, since assets receive a stepped-up cost basis for heirs, making it unnecessary (and potentially counterproductive) to harvest those losses.
  • Watch for mutual fund distributions late in the year, which can generate unexpected capital gains that harvested losses could offset.
  • Turn off automatic dividend reinvestment for any security being harvested to avoid an accidental wash-sale violation.
  • Coordinate across all accounts, including a spouse’s, to prevent inadvertent wash-sale violations.
  • Track your carryforward balances year over year, as thousands of dollars in losses can be forgotten when changing tax preparers.

One often-overlooked detail is that the $3,000 annual deduction against ordinary income has not been adjusted for inflation since 1978, making its real value far lower today. Nevertheless, it remains a legitimate deduction that is meaningful when combined with larger capital gain offsets.

You May Also Like

Final Thoughts

Tax loss harvesting does not eliminate taxes forever; it defers them, offsets them, and shifts the timing of when they are owed.

Replacing a sold position lowers its cost basis, which means a future sale may generate a larger gain. The benefit is real, but it is front-loaded. However, the time value of the saved dollars today makes that trade-off mathematically sound for most long-term investors.

Every investor’s situation is different, and the strategy’s effectiveness depends on tax bracket, account structure, and financial plans. Working with a qualified tax professional or financial advisor ensures any trades align with a broader strategy rather than creating unintended consequences.

The losses in a portfolio will exist whether an investor acts on them or not. The only question is whether those losses serve as passive regrets or active tools. That question has an answer within reach before the tax year closes.

Watch this video to learn how tax loss harvesting can help reduce your tax bill.

Frequently Asked Questions

What are some tools to estimate the potential savings from tax loss harvesting?

Investors can use online calculators and tax software to estimate potential savings from tax loss harvesting, which can help in making informed decisions about when to execute the strategy.

Are there specific sectors or types of investments that are more amenable to tax loss harvesting?

Technology and biotech sectors often experience greater volatility, making them prime candidates for tax loss harvesting due to the frequent price fluctuations.

What impact does tax loss harvesting have on a long-term investment strategy?

Tax loss harvesting can enhance long-term investment strategies by allowing investors to reduce their tax liability, thus freeing up more capital for future investments.

Is there a specific time of year that is better for implementing tax loss harvesting?

While year-end is common for tax loss harvesting, investors should consider it after any significant market corrections throughout the year for optimal gains.

How can audit concerns affect the implementation of tax loss harvesting strategies?

Due to the complexities of the wash-sale rule and tax regulations, improper execution of tax loss harvesting can trigger audits, making accuracy and documentation essential.
Maria Eduarda

Maria Eduarda


Linguist with a postgraduate degree in UX Writing and currently pursuing a master's degree in Translation and Text Adaptation at the University of São Paulo (USP). She is skilled in SEO, copywriting, and text editing. She creates content about finance, culture, literature, and public exams. Passionate about words and user-centered communication, she focuses on optimizing texts for digital platforms.

Disclaimer Under no circumstances will Doloru require you to pay in order to release any type of product, including credit cards, loans, or any other offer. If this happens, please contact us immediately. Always read the terms and conditions of the service provider you are reaching out to. Doloru earns revenue through advertising and referral commissions for some, but not all, of the products displayed. All content published here is based on quantitative and qualitative research, and our team strives to be as impartial as possible when comparing different options.

Advertiser Disclosure Doloru is an independent, objective, advertising-supported website. To support our ability to provide free content to our users, the recommendations that appear on Doloru may come from companies from which we receive affiliate compensation. This compensation may impact how, where, and in what order offers appear on the site. Other factors, such as our proprietary algorithms and first-party data, may also affect the placement and prominence of products/offers. We do not include all financial or credit offers available on the market on our site.

Editorial Note The opinions expressed on Doloru are solely those of the author and not of any bank, credit card issuer, hotel, airline, or other entity. This content has not been reviewed, approved, or otherwise endorsed by any of the entities mentioned. That said, the compensation we receive from our affiliate partners does not influence the recommendations or advice our writing team provides in our articles, nor does it impact any of the content on this site. While we work hard to provide accurate and up-to-date information that we believe is relevant to our users, we cannot guarantee that the information provided is complete and make no representations or warranties regarding its accuracy or applicability.

Loan terms: 12 to 60 months. APR: 0.99% to 9% based on the selected term (includes fees, per local law). Example: $10,000 loan at 0.99% APR for 36 months totals $11,957.15. Fees from 0.99%, up to $100,000.