Investing involves both gains and losses. While investors naturally focus on growing their portfolios, investment losses can sometimes serve a purpose in tax planning. One strategy that may help is tax-loss harvesting.
Tax-loss harvesting involves selling an investment that has declined in value to realize a capital loss. Depending on the tax rules that apply to you, that loss may be used to offset eligible capital gains and, in some jurisdictions, certain other income.

However, tax-loss harvesting is not simply about selling losing investments. Investors must consider transaction costs, investment goals, repurchase restrictions, and the tax rules in their country.
This guide explains how tax-loss harvesting works, its potential benefits and risks, and how to evaluate whether it fits your investment strategy.
What Is Tax-Loss Harvesting?
Tax-loss harvesting is a tax-planning strategy in which an investor sells an investment at a loss to realize that loss for tax purposes.
For example, suppose you purchased shares for $5,000 and later sold them for $3,500. Your realized capital loss would generally be $1,500 before considering transaction costs and any applicable tax adjustments.
If you also realized eligible capital gains from other investments, the $1,500 loss might offset some of those gains. The exact treatment depends on your local tax laws.
A key distinction is that a decline in an investment’s market value does not necessarily create a realized capital loss for tax purposes. In many systems, you generally need to sell or otherwise dispose of the investment for the loss to become realized.
Tax-loss harvesting does not erase the economic loss. You still sold an investment for less than you paid. The potential benefit comes from how tax rules treat the realized loss.
How Does Tax-Loss Harvesting Work?
Tax-loss harvesting typically involves a few steps.

1. Review Your Portfolio
Start by identifying investments that have declined in value. Review their original cost, current value, investment purpose, and whether selling them would still make sense for your financial plan.
Do not sell an investment merely because its price has fallen. First consider whether your original investment thesis has changed and whether the asset still belongs in your portfolio.
2. Calculate the Potential Loss
Compare the relevant tax cost basis with the amount you expect to receive from selling the investment.
For a simplified example:
- Original purchase cost: $4,000
- Sale proceeds: $2,800
- Realized loss: $1,200
This example ignores commissions, fees, currency effects, and tax-specific adjustments. Actual calculations may be more complicated, particularly when you have made multiple purchases at different prices.
3. Review Eligible Capital Gains
Next, determine whether you have realized capital gains that can be offset under the tax rules that apply to you.
Some jurisdictions require losses and gains to be categorized or offset in a particular order. Others impose limits on how losses can be used or carried forward to future tax years.
Never assume that a loss can automatically offset every type of income.
4. Decide Whether to Sell
Consider the tax implications alongside your long-term investment goals. If selling is appropriate, follow the relevant trading and tax-reporting requirements.
You should also consider whether selling would create a gap in your portfolio’s exposure to a particular market or asset class.
5. Choose Your Next Investment Carefully
After selling, you may want to maintain exposure to the same broad investment area. Depending on the rules in your jurisdiction, purchasing the same or a substantially identical investment too soon may affect whether the loss is deductible.
The replacement investment should fit your overall plan rather than being selected solely for tax reasons.
A Simple Tax-Loss Harvesting Example
Imagine an investor has two investments in a taxable account.
| Investment | Original cost | Sale value | Realized result |
|---|---|---|---|
| Investment A | $6,000 | $4,500 | $1,500 loss |
| Investment B | $3,000 | $4,000 | $1,000 gain |
Assume both transactions qualify for the relevant tax treatment and the applicable rules allow the loss to offset the gain.
The investor has a $1,000 capital gain and a $1,500 capital loss. After offsetting the gain, the investor would have a remaining net capital loss of $500 for this simplified example.
What happens to that remaining loss depends on the investor’s tax jurisdiction. It might be available to offset certain other income, carried forward to a future tax year, or subject to other restrictions.
The example illustrates the potential tax-planning mechanism, not a guaranteed tax saving. Actual tax outcomes depend on eligibility rules, tax rates, holding periods, and the investor’s circumstances.
Potential Benefits of Tax-Loss Harvesting
Tax-loss harvesting may offer several advantages when used appropriately.
1. Potentially Reduce Taxable Capital Gains
The most direct potential benefit is reducing eligible taxable capital gains by realizing allowable capital losses.
The amount of tax saved depends on the applicable rules and the investor’s tax situation. A $1,000 realized loss does not necessarily mean $1,000 in tax savings.
2. Improve After-Tax Investment Results
Investment performance should be evaluated after considering relevant taxes and costs, not just the portfolio’s pre-tax return.
When the rules permit a tax benefit without undermining the investment strategy, harvesting losses may improve after-tax outcomes.
3. Rebalance a Portfolio
Selling an investment can provide an opportunity to review the portfolio’s allocation across assets, sectors, or regions.
However, tax-loss harvesting and portfolio rebalancing are separate decisions. A tax benefit should not override a sound assessment of risk and diversification.
4. Potentially Carry Losses Forward
Some jurisdictions allow eligible unused capital losses to be carried forward to future tax years, subject to specific conditions and time limits.
This may help investors manage tax liabilities over time, but the rules differ substantially between countries. Confirm whether a carryforward is available and what records you need to keep.
Tax-Loss Harvesting Rules and Wash Sales
One of the most important considerations is whether you can repurchase an investment after selling it at a loss.
Certain jurisdictions have rules designed to prevent taxpayers from claiming a tax loss while maintaining essentially the same position through a prohibited repurchase or related transaction.
In the United States, for example, the wash-sale rule generally disallows a loss on a security when the taxpayer acquires substantially identical securities within a specified period around the sale. The rule includes a 30-day period before and after the sale, and special circumstances can affect how it applies.
These rules are not universal. Other countries may have different restrictions, anti-avoidance provisions, or methods for calculating allowable losses.
Do not assume that waiting a particular number of days will satisfy the rules in every country. Check the law that applies to your investments and account type.
Risks and Disadvantages of Tax-Loss Harvesting
Although the strategy can be useful, it also has limitations.
Transaction Costs
Trading commissions, bid-ask spreads, and other transaction costs can reduce or eliminate the benefit of harvesting a loss.
Even where commissions are zero, trading still may involve costs or pricing differences.
Loss of Market Exposure
After selling an investment, its price could recover. If you remain out of the market, you may miss some of that recovery.
A replacement investment can help maintain broad market exposure where permitted, but it may not perform exactly like the original holding.
Repurchase Restrictions
Buying back an investment too soon may trigger tax rules that disallow or defer the loss. Depending on the jurisdiction, related accounts or transactions may also matter.
Review the applicable rules before making trades.
Complex Tax Reporting
Tax-loss harvesting may require careful records of purchase dates, cost basis, sale proceeds, fees, currency conversions, and replacement purchases.
Multiple transactions can make tax reporting more complicated. Investors should maintain clear documentation and seek professional help when necessary.
Tax Benefits May Be Delayed
A realized loss may not produce an immediate tax benefit if there are no eligible gains to offset or if local rules restrict how the loss can be used.
In some cases, the benefit may be deferred to a later tax year. The timing and value of any benefit should be considered before trading.
Investment Decisions Can Become Tax-Driven
An investor may be tempted to sell a suitable long-term holding simply to generate a tax loss. That can be counterproductive if it weakens the portfolio or creates unnecessary costs.
Investment decisions should be based on financial goals, risk tolerance, diversification, and the investment’s merits, with tax considerations included as one factor.
Tax-Loss Harvesting Around the World
Tax-loss harvesting is not governed by one global tax system. Rules vary by country and sometimes by the type of account or investment.
For example, US investors may need to consider capital-loss offset rules and wash-sale restrictions. Investors in other countries must follow their own rules concerning capital gains, allowable losses, holding periods, exemptions, and reporting.
Some tax-advantaged accounts may have different rules from ordinary taxable brokerage accounts. The treatment of shares, exchange-traded funds, mutual funds, foreign investments, and digital assets can also vary.
If you invest internationally, currency movements and local reporting requirements may add further complexity.
Before using tax-loss harvesting, consult official tax guidance for your jurisdiction or speak with a qualified tax professional familiar with your circumstances.
How to Evaluate Tax-Loss Harvesting
A practical evaluation starts with a few questions.
- Do you have an eligible realized loss? Check your tax cost basis and the applicable rules.
- Can the loss be used? Determine which gains or other income, if any, it may offset.
- Will selling fit your investment strategy? Consider whether you still want the asset in your portfolio.
- Could a repurchase restriction apply? Review relevant waiting periods, related transactions, and account rules.
- What are the total costs? Include trading expenses, spreads, and potential portfolio effects.
- Will the tax benefit justify the trade? Compare the likely tax impact with the costs and risks.
- Can you document the transaction? Keep statements, trade confirmations, cost-basis records, and tax calculations.
You do not need to harvest losses every year. Sometimes the best decision is to keep an investment, even when it has declined, because the investment still fits your long-term strategy.
Common Tax-Loss Harvesting Mistakes
Avoid these frequent mistakes:
- Selling an investment without checking the applicable tax rules.
- Assuming every capital loss can offset ordinary income.
- Ignoring repurchase restrictions or transactions in related accounts.
- Forgetting transaction costs and currency effects.
- Selling an investment that still plays an important role in a diversified portfolio.
- Assuming tax-loss harvesting guarantees a tax refund or a positive investment outcome.
- Failing to keep records needed for tax reporting.
A disciplined process can help investors avoid turning a potentially useful planning strategy into unnecessary trading.
Final Thoughts
Tax-loss harvesting involves realizing eligible investment losses to potentially offset capital gains or obtain other tax treatment permitted by local law. When used carefully, it may help investors manage taxes while maintaining a long-term investment strategy.
However, it does not reverse investment losses, guarantee tax savings, or make every sale worthwhile. Transaction costs, repurchase restrictions, tax-reporting requirements, and changes in market exposure all matter.
The best approach is to evaluate tax-loss harvesting as part of a broader investment and tax plan. Understand the rules in your country, keep accurate records, and make investment decisions based on your financial goals rather than taxes alone.
This article is for educational purposes only and is not individualized investment or tax advice. Tax laws and eligibility requirements vary by jurisdiction and may change. Consult official tax guidance or a qualified tax professional before acting.
1 thought on “Tax-Loss Harvesting Explained: How Investment Losses May Offset Gains”