A semiconductor fund can be down even when the rest of a portfolio has produced taxable gains. That creates an awkward question: should an investor keep the position, change the exposure, or realize the loss for tax purposes? Tax loss harvesting provides a framework for that decision. It can reduce a current tax bill without requiring a permanent retreat from investing, but only if the account, replacement investment, and trading dates fit the rules. The useful starting point is not how much a holding has fallen. It is whether realizing that loss improves the portfolio’s after-tax position.
What Tax-Loss Harvesting Does—and Does Not Do
Tax-loss harvesting means selling an investment below its adjusted tax basis to realize a capital loss, then using that loss under the applicable tax rules. Investors often purchase a different investment to maintain some market exposure. This article focuses on US federal rules for individual investors; state taxes and other countries’ rules can differ.
Tax basis is generally what you paid, adjusted for items such as certain distributions, corporate actions, and previous wash-sale adjustments. A position showing a decline on a chart does not necessarily have a tax loss. Your purchase history determines that.
An unrealized loss exists while you still own the investment. A realized loss generally arises when you dispose of it in a taxable transaction. The distinction matters because an ordinary decline inside a brokerage account does not, by itself, offset a realized gain elsewhere.
For US individuals, capital losses first work through the capital-gain netting process. Short-term gains and losses are netted separately from long-term gains and losses, and the resulting categories are then combined under the tax rules. Assets held for more than one year generally receive long-term treatment.
If total capital losses exceed capital gains, an individual can generally deduct up to $3,000 of net capital losses against other income each year, or $1,500 if married filing separately. Unused losses generally carry forward to future years and retain their short-term or long-term character.
Three distinctions prevent common misunderstandings:
- A loss is not a tax credit. A $3,000 deduction does not mean a $3,000 reduction in tax.
- The investment loss remains real. Saving some tax does not make a losing position profitable.
- The benefit may be tax deferral. A lower basis in a replacement investment can create a larger taxable gain later.
This technique generally belongs in taxable accounts. Selling a holding at a loss inside a traditional IRA or Roth IRA does not create a personal deductible capital loss. Our comparison of Roth and traditional IRAs explains why account-level tax treatment matters more than the investments’ labels.
How the Numbers Work
Consider a hypothetical investor who purchased a technology fund for $20,000 and later sells it for $15,000. Assume the adjusted basis remains $20,000, trading costs are ignored, and no wash sale occurs. The realized capital loss is $5,000.
The investor also has $5,000 of realized long-term capital gains elsewhere. If the loss fully offsets those gains and the applicable federal capital-gains rate would otherwise be 15%, the immediate federal tax reduction is $750.
| Item | Hypothetical amount |
|---|---|
| Original adjusted tax basis | $20,000 |
| Sale proceeds | $15,000 |
| Realized capital loss | $5,000 |
| Realized gains offset | $5,000 |
| Assumed tax rate on those gains | 15% |
| Immediate federal tax reduction | $750 |
This example excludes state taxes, the net investment income tax, transaction costs, and interactions with other tax provisions. Actual savings depend on which income the loss offsets. A loss used against short-term gains may have a different immediate value from one used against long-term gains.
Why the later sale matters
Suppose the investor puts the $15,000 proceeds into a permissible replacement investment. That investment generally begins with a $15,000 basis. If it later reaches $20,000 and is sold, it produces a $5,000 gain.
At the same assumed 15% rate, that later gain creates $750 of federal tax. The initial harvesting transaction has deferred tax rather than permanently erased it. Deferral can still have value because the investor retains money that would otherwise have gone to taxes earlier. Its value depends on time, future tax rates, investment outcomes, and costs.
If the later applicable tax rate is higher, the future liability could be larger. If it is lower, the rate difference could help. A loss carryforward that cannot be used for years also has less immediate usefulness than a loss applied against a current gain.
To assess the numerical decision, compare the potential current tax reduction with replacement costs and a plausible future tax liability. Enter your own loss and tax assumptions in the calculator, and treat its result as an estimate rather than a promised improvement in returns.
Tax-Loss Harvesting Impact Calculator
See how tax-loss harvesting—automatically selling investments at a loss to offset capital gains—can boost your after-tax returns.
See how tax-loss harvesting—automatically selling investments at a loss to offset capital gains—can boost your after-tax returns.
Before relying on a result, check whether it accounts for future realization taxes. A calculation that shows only the initial tax reduction is not a complete lifetime comparison.
Wash Sales and the Replacement Investment
The wash-sale rule is the main operational constraint. A loss on stock or securities can be disallowed when substantially identical stock or securities are purchased within 30 days before or 30 days after the loss sale. Including the sale date, that creates a 61-day review window.
The rule looks backward as well as forward. Buying additional shares shortly before selling an older losing lot can cause a wash sale even if no shares are purchased after the sale. Automatic dividend reinvestment and scheduled purchases can create the same problem.
For a typical wash sale involving a taxable-account replacement, the disallowed loss is added to the replacement shares’ basis, and the holding period carries over. The deduction is generally delayed rather than immediately available. Partial replacement purchases can cause partial disallowance.
An IRA replacement is more dangerous. If an investor sells at a loss in a taxable account and repurchases substantially identical securities in their IRA or Roth IRA during the window, the loss can be disallowed without an offsetting increase to the IRA’s basis. Purchases by a spouse can also matter. Review household activity, not just one account’s trade history.
Choosing a replacement requires a separate investment judgment. Two funds with different ticker symbols are not automatically different enough for tax purposes. Funds tracking the same index deserve particular caution, and there is no universal IRS-approved list of safe ETF pairs.
A broader technology fund might provide different exposure from a semiconductor fund, but the substitution also changes the investment. Compare index methodology, largest holdings, concentration, geographic exposure, and fees. Morningstar (MORN) provides fund research that can support this comparison, though investment research does not establish whether a pair satisfies the tax rules.
Replacement costs include more than commissions. Bid-ask spreads, fund expenses, and performance differences can erode a modest tax benefit. Our guide to how expense ratios affect fund costs explains the recurring charge that continues after the trade.
Digital assets need separate analysis. Direct token holdings and securities such as crypto ETF shares should not be assumed to share the same wash-sale treatment. Check the asset’s classification and current law before applying an equity strategy to crypto.
Who Provides Harvesting—and How Investors Access It
Tax-loss harvesting is a portfolio-management process, not an asset class. There is no need to purchase a special security to gain access. The main routes are a self-directed taxable brokerage account, a managed portfolio, or a direct-indexing service.
Self-directed brokers provide the trading account, cost-basis records, and tax-lot selection. Charles Schwab (SCHW), for example, operates brokerage and wealth-management businesses. Its revenue comes from sources including net interest revenue, asset-management and administration fees, and trading-related activity. A harvesting feature is only one part of that broader business, not a stand-alone investment thesis.
A self-directed investor remains responsible for identifying eligible losses, choosing replacements, checking purchases across accounts, and reviewing tax documents. A broker’s displayed unrealized loss is a starting point, not proof that a deductible loss is available.
Robo-advisors and managed-account providers can automate monitoring and trades. Betterment is one example of a provider offering automated investing and tax-management features. Such businesses typically earn advisory fees based on managed assets, with additional revenue sources varying by provider and product.
Automation may make frequent monitoring practical, but coverage matters. A service may see only the accounts it manages. It may not know about a spouse’s purchases, an outside brokerage account, or employer stock transactions. Our explainer on robo-advisors examines the broader trade-off between convenience, fees, and investor oversight.
Direct-indexing managers hold individual securities intended to approximate an index rather than holding only a pooled index fund. This can create opportunities to realize losses in individual constituents even when the overall index has risen. Fidelity and Schwab are among the firms offering direct-indexing services.
The trade-offs include management fees, tracking error, account requirements, and more detailed tax records. Existing appreciated positions may become difficult to change without realizing gains. A manager’s advertised harvested-loss total is not the same as the investor’s net tax benefit.
Compare providers using concrete questions:
- Which accounts and securities does the wash-sale monitoring cover?
- Can outside holdings or restricted securities be supplied to the service?
- What are the total advisory, fund, and trading costs?
- Does reporting distinguish realized losses from estimated tax savings?
- How are assets and tax lots handled when the account is transferred or closed?
Owning shares in a brokerage or research company does not give an investor the tax treatment of its customers. Provider stocks require their own analysis of earnings, valuation, competition, and operating risks.
A Practical Checklist Before Realizing a Loss
Start with the investment decision. A deteriorating business may warrant a portfolio review regardless of tax consequences. Conversely, a temporary decline does not automatically justify a trade. The tax objective should support a sound allocation rather than become the reason for owning an unsuitable replacement.
First, verify the account and tax lots. A single holding can contain purchases made at very different prices. Some lots may have gains while others have losses. Specific-lot identification can allow selection of particular shares, but it requires following the broker’s procedures and retaining confirmation. Check the disposal method before submitting an order.
Second, estimate usable losses. Review realized gains, existing loss carryforwards, and likely fund capital-gain distributions. Someone with substantial unused carryforwards may get little immediate benefit from adding another loss. Someone realizing a large gain may have a different result.
Third, map the wash-sale window. Review purchases during the preceding 30 days and planned purchases during the following 30 days. Include dividend reinvestment, recurring contributions, managed accounts, spouse activity, and retirement accounts. Pausing one automatic purchase does not solve activity elsewhere.
Fourth, assess the replacement and execution. Consider whether the replacement preserves the intended risk exposure, whether its tax treatment is sufficiently distinct, and what the trade costs. Staying entirely in cash while waiting to repurchase avoids one replacement issue but introduces the risk of missing a market recovery. That opportunity cost can exceed the tax benefit.
Fifth, retain records. Save trade confirmations, lot selections, replacement purchases, and carryforward calculations. Brokers commonly report covered transactions on Form 1099-B, but their wash-sale reporting does not necessarily capture activity across different accounts or institutions. Taxpayers remain responsible for accurate reporting, generally using Form 8949 and Schedule D as applicable.
For most ordinary exchange-traded stock and ETF sales, the trade date generally determines the tax year. Do not assume that every asset or transaction follows the same timing rule, and leave room to resolve execution problems rather than relying on the final trading session of December.
Tax-loss harvesting is most useful when an investor has a usable loss, an appropriate replacement, reliable records, and costs that do not consume the benefit. It is less compelling when it creates unwanted exposure, expensive management, or a loss that will sit unused for years. The central comparison is the portfolio’s expected after-tax position with and without the trade—not the size of the loss displayed on a screen. Complex household trading, large gains, or uncertain replacement choices are good reasons to involve a qualified tax professional before execution.