Skip to content
Financial Resource Library

Taxes & Charitable Giving

How Does Tax-Loss Harvesting Work?

Tax-loss harvesting means selling an investment at a loss in a taxable account to recognize that loss for tax purposes. The loss may offset capital gains and, within applicable limits, some ordinary income; unused losses may carry forward under the rules.

It does not turn an investment decline into a profit. Any tax benefit depends on your circumstances, the transaction, and future taxes. A useful review includes the replacement investment and portfolio purpose, not just the amount of loss on a statement.

This may be worth discussing if…

  • You have unrealized losses in a taxable investment account
  • You realized gains or expect gains elsewhere
  • You want to rebalance while considering taxes
  • You or your spouse hold similar investments across multiple accounts

Distinguish tax recognition from investment results

An unrealized loss is a decline relative to an investment's tax basis. Selling generally realizes it, but a deduction can be limited or disallowed. Selling at a loss inside an IRA or other tax-advantaged retirement account does not create the same personal capital-loss deduction. Tax-loss harvesting is a taxable-account strategy.

Capital losses and gains are netted under rules that distinguish short-term and long-term amounts. Remaining net losses may offset a limited amount of ordinary income, with excess carried forward under applicable rules. Confirm the current limit, filing status, and carryforward records rather than assuming the entire loss produces an immediate tax saving.

Check the full wash-sale window

The wash-sale rule generally disallows a loss on stock or securities when substantially identical stock or securities are purchased within 30 days before or 30 days after the loss sale. The review therefore begins before the sale date and extends afterward. Automatic purchases and dividend reinvestment can trigger issues even when there is no deliberate attempt to repurchase.

Look across accounts and include a spouse's purchases. A broker's tax report may not capture every transaction elsewhere. Purchasing substantially identical securities in your IRA or Roth IRA can also disallow a taxable-account loss; in that case, the usual taxable replacement-basis adjustment is not available, making the consequence particularly important.

Whether investments are substantially identical is a facts-and-circumstances tax question. Different names or tickers do not automatically establish a safe replacement. Consult a qualified tax professional rather than assuming two funds are acceptable substitutes simply because they have different issuers.

Keep the replacement investment appropriate

If you want to maintain market exposure, compare replacement holdings by strategy, diversification, liquidity, costs, and risks. They will not necessarily move identically to the investment sold. Avoid distorting the portfolio solely to create a tax loss, and do not treat the transaction as a promise to return to the original holding at a favorable price.

If you remain in cash during the waiting period, prices can move in either direction. Buying a replacement also involves market risk. Review spreads, transaction charges, restrictions, and the effect on allocation. A potential tax benefit can be outweighed by costs or an unsuitable investment change.

Understand future basis and taxes

Buying a replacement after a decline generally establishes a new tax basis at its purchase price. If that holding later rises and is sold, the lower basis can create a larger taxable gain. Tax-loss harvesting may shift the timing of taxes rather than eliminate them, and future rates and your future circumstances are uncertain.

For a wash sale involving a taxable replacement, a disallowed loss is generally added to the replacement's basis, with related holding-period rules. IRA replacement cases are different. Partial repurchases, multiple tax lots, and repeated trades complicate calculations, so keep complete records and review them with your preparer.

Before placing a trade

  • Confirm the account is taxable, identify tax lots, and review existing gains and loss carryforwards.
  • Check purchases during the preceding 30 days and planned purchases during the following 30 days across relevant accounts, including reinvestment and spouse or IRA activity.
  • Evaluate the replacement's tax acceptability and investment role separately. Review costs and the effect on diversification.
  • Coordinate with the tax preparer and retain records. A custodian's displayed tax estimate is not a complete household tax analysis.

Common tax-loss-harvesting questions

Can I harvest a loss in my IRA?

An investment loss realized inside an IRA does not create the same capital-loss deduction on your personal tax return. The strategy discussed here applies to taxable investments.

Is waiting 30 days after selling enough?

Not by itself. Purchases in the 30 days before the sale also count, and the rule covers purchases within 30 days after it. Review the full window, account activity, and tax dates with your professional.

Will my broker catch every wash sale?

Not necessarily. Reporting can miss activity at other institutions or relevant spouse and retirement accounts. You remain responsible for complete information and proper tax reporting.

Does a tax saving justify selling any losing investment?

No. Review the investment's role, replacement choices, transaction costs, and your actual ability to use the loss. A tax opportunity does not establish that a trade is appropriate.

Things to consider

Both sides of the decision, laid out plainly.

Tax rates and timing matter

The value of a loss depends on what it offsets and when. A carryforward may not deliver an immediate benefit, and later gains can change the long-term result.

Coordination prevents accidental repurchases

Tell those managing relevant household accounts about the proposed transaction. Recurring investments can undermine an otherwise deliberate review.

Questions to ask Rob

  • Does this sale fit our portfolio and rebalancing plan?
  • What replacement risks and trading costs should we compare?
  • Can we coordinate household purchase activity before acting?

Questions to discuss with your tax or legal professional

  • How would losses net against our gains and carryforwards?
  • Could purchases create a wash sale, including spouse or IRA activity?
  • How should disallowed losses, basis, and reporting be handled?

Key takeaway

Tax-loss harvesting is a conditional tax strategy, not an investment guarantee. Review the full wash-sale window, household accounts, replacement suitability, costs, and future basis before selling.

Related questions

Investments & Accounts

What should I do when markets decline?

Use a calm checklist to review liquidity, spending, diversification, and changed circumstances before making investment decisions during a decline.

Read the Guide

Taxes & Charitable Giving

Which retirement accounts should I withdraw from first?

Taxable, traditional, and Roth accounts serve different roles. A coordinated withdrawal plan considers current and future taxes, required distributions, benefits, and family needs rather than following a blanket order.

Read the Guide

Investments & Accounts

How much investment risk should I take in retirement?

Retirement risk involves both market losses and the risk that money loses purchasing power. Match investments to withdrawals, time horizons, and the household's ability to adapt.

Read the Guide

Next step

Still have questions?

Every situation has details a general guide can't cover. A short conversation is usually the fastest way to sort out what applies to you.

Start a Conversation

Source: Internal Revenue Service Publication 550. Consult a tax professional about substantially identical investments, cross-account activity, basis, and your return.

This material is provided for general informational and educational purposes only and should not be construed as individualized investment, tax, accounting, or legal advice. Individual circumstances vary, and strategies discussed may not be appropriate for every investor. Wealthspan Investment Management, LLC does not provide legal or tax advice. Clients should consult their attorney, tax professional, and financial advisor regarding their individual circumstances. Investing involves risk, including possible loss of principal.