Skip to content
All MFA Guides
Taxes

Tax-Loss Harvesting Basics: The Tax Benefit Is Not the Investment Plan

Realized investment losses can offset gains, but the wash-sale rule and replacement investment matter. Learn the mechanics before turning a tax idea into unnecessary portfolio churn.

The answer in 30 seconds
  • 1Tax-loss harvesting means realizing an investment loss so it can offset capital gains and, subject to federal limits, potentially a limited amount of ordinary income.
  • 2The economic investment decision still matters: a tax deduction does not turn a bad replacement investment into a good one.
  • 3The wash-sale rule can disallow a loss when substantially identical securities are acquired within the relevant 30-day-before/30-day-after window.
  • 4Wash-sale interactions can span accounts and related purchases, so automated reinvestment, spouse accounts and IRAs deserve attention before harvesting a loss.
Explore this topicThis guide connects more than one MFA topic hub.
Loss netting sandbox

Where would the realized loss go first?

Federal capital-loss rules generally net capital gains and losses first, then allow a limited net-loss deduction against ordinary income, with unused loss carried forward.

REALIZED LOSS− lossesFIRSToffset gainsthen limited incomeLEFT?carry on
Federal ordinary-loss limit
Gains offset$15,000
Ordinary income offset$3,000up to $3,000 modeled
Loss carried forward$2,000
Illustrative federal tax reduction$3,210before wash-sale/state/character rules

Wash-sale check still matters. If you or a related account acquire substantially identical securities inside the relevant window, some or all of the modeled loss may be disallowed or deferred. MFA is not deciding whether two securities are “substantially identical.”

Loss flowHow the entered loss is absorbed
$0$4k$8k$12k$16k

This is a simplified federal illustration. Character of gains/losses, carryovers, state rules and wash-sale adjustments can change the actual return.

Learning path · Step 6 of 6Invest intelligently
0/6 completeView path
5% viewedProgress is saved on this device. No account required.
Carry across devices
Make it personal

Run this with your numbers.

The guide explains the idea. The tools below show what it means under the assumptions you enter. You can use them without an account.

No account required to run the math.If the result is useful, My MFA can remember the baseline so you do not have to enter the same income, debt, mortgage or retirement assumptions again.

What tax-loss harvesting actually means

Tax-loss harvesting is the deliberate realization of an investment loss so the loss can be used within the capital-gain and loss rules.

A harvested loss may offset realized capital gains and, subject to federal limits, potentially a limited amount of other income when net losses remain. Unused losses can generally carry forward under the applicable rules.

But a tax deduction is only one part of the decision. You still own an investment portfolio after the trade.

Worked example

Suppose you invested $30,000 in Fund A and it is now worth $24,000. You sell it, realizing a $6,000 loss.

Elsewhere, you realized a $6,000 capital gain.

At a simplified level, the loss can offset the gain in the federal capital-gain netting process. That can reduce current tax compared with having the gain alone.

Now the important second question: what happens to the $24,000 after Fund A is sold?

If you leave it in cash for months during a market recovery, the missed market return could exceed the tax benefit. If you immediately buy a substantially identical security, the wash-sale rule may disallow the current loss.

Tax-loss harvesting is therefore a tax + portfolio implementation problem.

The wash-sale rule

The wash-sale rule can disallow a loss when you sell stock or securities at a loss and acquire substantially identical stock or securities within 30 days before or after the sale.

The surrounding account activity matters. Automatic dividend reinvestment can accidentally repurchase shares. Purchases in an IRA can also create wash-sale complications. The IRS rules also address certain purchases by a spouse or controlled corporation.

“Substantially identical” is a tax standard, not a simple ticker-symbol test. Do not assume that changing one fund symbol automatically makes the replacement safe.

Why harvesting is not free money

In many wash-sale-free taxable replacements, the new position starts with a new basis. Harvesting can shift the timing of taxation rather than permanently eliminate it.

That timing can still have value, but the value depends on:

  • current and future tax rates;
  • how long the replacement investment is held;
  • future gains and losses;
  • eventual disposition or estate circumstances;
  • implementation costs;
  • whether the replacement preserves the intended exposure.

Common mistakes

  1. Forgetting automatic reinvestment.
  2. Looking only at one brokerage account.
  3. Buying back the same security too quickly.
  4. Replacing a diversified holding with something economically very different just to preserve a deduction.
  5. Creating frequent trades for tiny losses that add complexity without meaningful tax value.
  6. Assuming tax software will fix a wash sale across every account automatically.

A practical harvesting checklist

Before realizing a loss:

  • Confirm the tax lot and basis.
  • Identify gains already realized this year.
  • Review purchases in the prior 30 days.
  • Pause or review automatic reinvestment where appropriate.
  • Consider spouse and IRA activity.
  • Decide on the replacement investment before selling.
  • Confirm the replacement still fits the target allocation.
  • Track the transaction for tax reporting.
  • Revisit the replacement rather than letting a temporary position become permanent accidentally.

Tax-loss harvesting can be useful. But the hierarchy should remain clear: investment plan first, tax implementation second.

MyFriendAlex is for educational and informational purposes only. Nothing on this website is financial, investment, legal, tax, accounting, or estate planning advice. Always do your own research and consult a qualified professional before making financial decisions.

Sources & freshnessReviewed Sep 2026
Final step · 6 of 6Invest intelligently
0/6

You reached the final guide in this path.

Review the full path for any earlier steps you have not completed yet. Your progress is already marked.

Review the full path

Make the money — and cards — you already have work harder.

One useful MFA email a week: smarter card tracking, source-aware updates, and the calculators or deals worth checking.

Signup and preferences are open. Weekly automated delivery is not active yet. You can use all the guides and tools now.

Planned cadence: a short welcome series, then usually one useful MFA email each week. Unsubscribe anytime. Privacy policy.