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.
- 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.
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.
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.”
This is a simplified federal illustration. Character of gains/losses, carryovers, state rules and wash-sale adjustments can change the actual return.
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.
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
- Forgetting automatic reinvestment.
- Looking only at one brokerage account.
- Buying back the same security too quickly.
- Replacing a diversified holding with something economically very different just to preserve a deduction.
- Creating frequent trades for tiny losses that add complexity without meaningful tax value.
- 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.
Tell MFA once. Use your numbers everywhere.
My MFA can preserve the household planning baseline, but it does not need brokerage account numbers or tax-lot records to explain how the wash-sale and capital-loss rules work.
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.