Key takeaways
- Tax-loss harvesting is the practice of selling an investment that has declined in value to generate a capital loss, then using that loss to offset taxable gains elsewhere in the portfolio. The result is a lower tax bill in the current year, without necessarily changing the long-term investment strategy.
- Capital losses first offset capital gains dollar for dollar with no annual limit. If losses exceed gains, up to $3,000 of net loss per year can be deducted against ordinary income, and any remaining loss carries forward indefinitely to future tax years.
- The IRS wash-sale rule disallows a harvested loss if you buy the same or a substantially identical security within 30 days before or after the sale, creating a 61-day total window. To be safely outside that window, wait 31 days after the sale date before repurchasing.
- A fiduciary advisor monitors the full portfolio year-round for harvesting opportunities, tracks wash-sale windows across all accounts including IRAs and spousal accounts, and coordinates the strategy with the broader tax picture. That coordination is where the practical value of professional guidance shows up.

What is tax-loss harvesting?
When an investment loses value, that loss sits unrealized in the portfolio. It doesn’t affect your tax return until you sell the investment. Tax-loss harvesting is the deliberate decision to sell that position and realize the loss, turning it into a tax asset you can use in the current year.
How does tax-loss harvesting work?
Here is how it works in plain terms. Someone holds 200 shares of a technology fund purchased at $150 per share. The fund has dropped to $110 per share. The position is down $40 per share, or $8,000 in total. If you sell that fund today, the realized loss (the actual dollar loss that appears on the tax return once a position is sold) is $8,000. That $8,000 can then be applied against any capital gains, the profits from selling investments that increased in value, realized elsewhere in the portfolio that year.
Why does tax-loss harvesting matter for large taxable portfolios?
For someone managing a taxable account, a brokerage or investment account held outside any retirement plan, with a balance of $2,000,000 or more, capital gains events are common. Rebalancing the portfolio, selling an appreciated stock, or receiving a large distribution from a mutual fund all generate taxable gains.
Without losses to offset them, those gains are taxed at rates of 0, 15, or 20 percent for long-term holdings depending on income, or up to 37 percent for short-term gains. Harvesting losses can reduce or eliminate that tax in the year it occurs.

What happens after the losing investment is sold?
Selling the losing position does not mean abandoning the market exposure. A replacement security, an investment that provides similar but not identical market exposure to the one sold, is purchased in the same transaction window.
The portfolio maintains roughly the same market position while capturing the tax loss. Choose the replacement carefully to avoid triggering the wash-sale rule, which is covered in detail below.
Go Further: What is a fiduciary? Why the legal standard matters covers the legal standard that governs fiduciary advisors, including the duty of care that requires them to act in the client’s interest when executing strategies like tax-loss harvesting.
Thinking about taxes in retirement? Explore professionals who can help you evaluate withdrawals, conversions and required distributions.

How do capital losses reduce taxes?
Capital losses work through a specific IRS netting process before they reach the tax return. Understanding that process helps someone know exactly what benefit to expect from a harvesting event.
How do losses offset capital gains?
The first application of a harvested loss is against capital gains in the same tax year. Short-term losses, from investments held one year or less and taxed at ordinary income rates up to 37 percent, offset short-term gains first. Long-term losses, from investments held more than one year and taxed at lower 0, 15, or 20 percent rates, offset long-term gains first.
After that initial netting, any remaining loss of one type crosses over to offset the gain of the other type. Losses that eliminate short-term gains produce a larger tax reduction per dollar than losses applied against long-term gains.

What does a tax-loss harvesting example look like?
Consider someone who sold a stock position in March and realized a $120,000 short-term gain. Later in the year, two positions in the taxable account have declined. Selling those positions produces a $90,000 realized loss. The $90,000 loss offsets $90,000 of the $120,000 short-term gain, leaving only $30,000 of net short-term gain subject to tax. At a 37 percent marginal rate, that harvesting reduced the current-year tax bill by about $33,300.

How does the $3,000 ordinary income deduction work?
When capital losses exceed capital gains entirely, you can deduct up to $3,000 of net capital loss against ordinary income (wages, pension payments, retirement distributions, and similar income). The limit drops to $1,500 for married filing separately. At a 37 percent marginal rate, a $3,000 deduction against ordinary income reduces the tax bill by $1,110 in the current year.

How do capital loss carryforwards work?
Any net capital loss that exceeds the $3,000 annual deduction against ordinary income produces a capital loss carryforward, the unused portion of that loss that moves to the next tax year with no expiration date. The carryforward retains its short-term or long-term character when it moves to the next year.
A $40,000 net capital loss with no offsetting gains produces a $3,000 deduction in year one and a $37,000 carryforward. If a $37,000 gain appears in a future year, the carryforward absorbs it entirely, generating no capital gains tax on that event.

How can carryforwards help with future gains?
A carryforward is often highlighted for offsetting future capital gains, but it also serves as a steady tool to lower ordinary income even when zero investment gains exist. Under IRS rules, if capital losses exceed capital gains in a given tax year, up to $3,000 of the remaining loss directly reduces ordinary income like wages, interest, or IRA distributions.
Any unused portion beyond that $3,000 rolls over indefinitely into future tax years. This means a $40,000 loss in Year 1 allows a $3,000 subtraction from taxable income in Year 1, carrying over $37,000, and then subtracting another $3,000 against ordinary income in Year 2—repeating this annual $3,000 deduction until the total loss is fully absorbed or used to offset a future capital gain.
Someone planning to sell a rental property, liquidate a concentrated stock position, or take large IRA distributions that push into higher brackets can pre-position a capital loss carryforward to absorb those future gains. Building that carryforward through deliberate harvesting in years of market volatility is a multi-year tax planning tool, not just a one-year fix.
Go Further: What’s the difference between average vs. full retirement age? Covers the differences between average and full retirement age, plus why that matters for taxes.

How does the wash-sale rule affect tax-loss harvesting?
The wash-sale rule, established in IRC Section 1091, disallows a capital loss deduction when the same or a substantially identical security is purchased within 30 days before or after the sale that generated the loss. That creates a 61-day window in which a repurchase triggers the rule: the 30 days before the sale, the sale date itself, and the 30 days after. To be safely outside the window, wait 31 days after the sale date before repurchasing.

What is the 61-day wash-sale window?
- Disallowance of the capital loss deduction: The immediate consequence of a wash sale is the loss of the tax deduction for that year. The realized loss cannot be used to offset capital gains or up to $3,000 of ordinary income in the current tax year.
- Cost basis adjustment (deferred tax benefit): Rather than forfeiting the loss permanently, the disallowed loss is added to the cost basis of the newly purchased security. This delays the tax benefit until the replacement security is eventually sold in a non-wash-sale transaction.
- Holding period rollover: The holding period of the original security is added to the holding period of the new security. This can inadvertently alter whether subsequent gains are classified as short-term or long-term capital gains upon ultimate disposition.
- Underpayment interest and accuracy-related penalties: If a disallowed loss is mistakenly claimed on Schedule D, the IRS will adjust the tax return to disallow the deduction. This creates an unpaid tax liability, triggering:
- IRS underpayment interest: Accrues on the unpaid balance from the original due date of the return until fully paid.
- Accuracy-related penalty (IRC Section 6662): A penalty equal to 20% of the underpayment if the deduction is deemed a substantial understatement of income tax or due to negligence.
- Inability to track losses cross accounts (The IRA Trap): If a taxable security is sold at a loss and repurchased within 30 days inside an IRA or Roth IRA (per IRS Revenue Ruling 2008-5), the loss is permanently disallowed. Because IRAs do not track cost basis in the same manner as taxable accounts, the loss cannot be added to the IRA assets’ basis, resulting in a total loss of the tax benefit.
- Tax form reconciliation friction: Discrepancies between broker-reported Form 1099-B wash-sale adjustments and self-reported figures (especially when wash sales occur across different brokerages or spouse accounts) often trigger automated IRS inquiry notices (such as Notice CP2000), requiring manual reconciliation and documentation.

What does “substantially identical” mean?
The IRS does not provide a precise definition of substantially identical, the standard used to determine whether a replacement purchase triggers the wash-sale rule, but the practical application follows predictable patterns. Selling a stock and buying back the same stock is a wash sale.
Selling an S&P 500 index ETF from one fund company and buying an S&P 500 index ETF from a different fund company tracking the same index is generally considered a wash sale. The economic exposure is identical, even though the fund providers differ.
Selling an S&P 500 ETF and replacing it with a total market ETF or a large-cap growth ETF generally isn’t a wash sale because the underlying holdings differ. A CPA or fiduciary advisor can assess specific fund pairs before you execute the trade.

What happens when a wash sale occurs?
When a standard wash sale occurs in a taxable account, the disallowed loss is not permanently lost; it is simply added to the cost basis of the replacement shares. When those replacement shares are eventually sold in a non-wash transaction, that higher basis reduces the taxable gain (or increases the loss) on that future sale.
While the loss is deferred rather than eliminated, that delay still carries a financial cost: the tax deduction that could have lowered current-year taxes is pushed into the future.
For instance, take the following example:
- Initial purchase: 100 shares bought at 50pershare(5,000 total cost basis).
- Loss sale: All 100 shares sold at 30pershare(3,000 proceeds), creating a $2,000 loss.
- Wash sale purchase: 100 replacement shares bought within 30 days at 32pershare(3,200 purchase cost).
- Disallowed loss: The $2,000 loss cannot be claimed on the current year’s tax return due to wash sale rules.
- Adjusted cost basis: The $2,000 disallowed loss is added to the new shares, raising their basis from $3,200 to 5,200(52 per share).
- Final sale: The replacement shares are later sold at 60pershare(6,000 proceeds).
- Taxable outcome: The capital gain is calculated as $6,000 minus the adjusted $5,200 basis, yielding an $800 taxable gain instead of a $2,800 gain.

The IRA trap that permanently destroys the loss
One less-known application of the wash-sale rule is that it applies across all accounts a person controls, including IRAs, Roth IRAs, 401(k)s, and a spouse’s accounts. If a loss is taken in a taxable account and the same security is repurchased in an IRA within the 61-day window, the loss is permanently disallowed.
When a wash sale happens in a regular taxable brokerage account, the loss is not permanently destroyed, but rather is simply deferred.

Key risks and consequences of the wash-sale rule
- Standard account: If an asset is sold at a $2,000 loss and repurchased in a regular taxable account within 30 days, that $2,000 loss is added to the cost basis of the new shares. When those new shares are eventually sold in the future, that higher cost basis reduces the future taxable gain (or increases the future loss). The tax deduction is delayed, but not lost.
- IRA account: If an asset is sold at a loss in a taxable account and repurchased inside an IRA or Roth IRA within 30 days (per IRS Revenue Ruling 2008-5), the tax loss is permanently destroyed.
Because IRAs do not track or use cost basis—withdrawals are either taxed as ordinary income (Traditional) or completely tax-free (Roth)—there is no cost basis mechanism inside an IRA to absorb the disallowed loss. As a result, the tax deduction vanishes completely and can never be recovered on future tax returns.

Does the wash-sale rule apply to cryptocurrency?
The IRS treats cryptocurrency as property rather than a security, which means IRC Section 1091 does not currently apply to crypto assets. A crypto holder can sell Bitcoin at a loss and repurchase it the following day without triggering the wash-sale rule. Legislative proposals to extend the wash-sale rule to digital assets were considered during the One Big Beautiful Bill Act but were not included in the final law.
Because the IRS treats crypto as property rather than a stock, the wash-sale rule doesn’t currently apply. This creates a temporary tax strategy: anyone can sell crypto at a loss and immediately buy it right back to lock in the tax break, though lawmakers are actively trying to close this gap.
Go Further: Understanding the “tax torpedo” in Social Security covers how capital gains and other income sources interact with Social Security taxability, which is directly relevant to investors managing carryforward losses alongside retirement income.

How can replacement securities keep a portfolio invested?
Portfolio rebalancing is the process of adjusting a portfolio’s holdings back to its intended allocation after market movements have caused it to drift. Tax-loss harvesting and rebalancing overlap naturally, but they are not the same activity. When done together, the same trades accomplish both goals, but you must select the replacement security with both the wash-sale rule and your ongoing investment strategy in mind.

What should a replacement security accomplish?
A replacement security serves two purposes simultaneously. It must be different enough from the sold security to avoid triggering the wash-sale rule. It must also provide sufficiently similar market exposure that the portfolio is not underinvested in the asset class during the waiting period. A good replacement tracks a related but distinct index, covers a similar sector with different underlying holdings, or represents the same asset class through a different fund structure.

What are common replacement-security examples?
Some replacement pairs that fiduciary advisors commonly use:
- Selling a Vanguard Total Stock Market ETF and replacing it with a Schwab U.S. Broad Market ETF: Similar broad market exposure, different fund construction.
- Selling an S&P 500 ETF and replacing it with a large-cap growth ETF: Overlapping but not identical holdings.
- Selling a corporate bond fund and replacing it with a government bond fund of similar duration: The measure of a bond fund’s sensitivity to interest rate changes, so interest rate exposure is roughly maintained.
- Selling shares of a specific company and replacing with a sector ETF that includes competitors: Limits single-stock concentration while maintaining sector exposure.
These pairings are not guaranteed safe from IRS challenge in every situation. A tax advisor should assess each pair before executing the trade.

What happens after the 31-day waiting period?
Once the sold position is out of the portfolio, the account must sit in the replacement security for at least 31 days after the sale date to be safely outside the wash-sale window. After that, those interested can purchase the original security, and the replacement can be sold. By then, the portfolio may be close to its original composition, and the tax loss has been captured.

How can dividend reinvestment trigger a wash sale?
Automatic dividend reinvestment, the setting that automatically uses dividends paid by a fund to purchase additional shares of that same fund, can inadvertently trigger the wash-sale rule. Dividend reinvestments that fall within the restricted window can disallow all or part of the harvested loss. Turning off automatic reinvestment on targeted positions before executing a harvest is a step fiduciary advisors routinely manage. Note that it’s always best to confirm with a fiduciary before executing a sale.

Why does year-round tax-loss harvesting work better than year-end planning?
Many people approach tax-loss harvesting as a December activity, selling losing positions in the final weeks of the year to generate losses before the tax deadline closes. That timing is better than nothing. But year-round harvesting, the practice of monitoring and capturing losses throughout the calendar whenever market conditions create opportunities, captures more losses and produces better results over time.
Why can year-end harvesting miss opportunities?
Markets do not decline uniformly toward the end of the year. A technology sector drop in February, a bond market selloff in July, or a broad market correction in September each creates harvesting opportunities that disappear if the market recovers before December. Those who wait until year-end to look for losses may find that the positions they wanted to harvest have already bounced back, and the tax asset is gone.
How does year-round monitoring work?
A fiduciary advisor monitoring the portfolio throughout the year tracks unrealized losses, the losses that exist in the portfolio but have not yet been converted into a tax benefit by selling the position, in real time. When a position crosses a threshold, typically a loss of 5 percent or more of its original value, the advisor evaluates whether harvesting makes sense. That evaluation covers the current gain-and-loss picture, the position’s wash-sale status, and the client’s expected income for the year.

How do harvested losses affect estimated tax payments?
Quarterly estimated tax payments are advance tax payments paid four times a year by individuals who expect to owe at least $1,000 in total tax for the year on non-wage income, such as investment gains, to avoid underpayment penalties.
For individuals making estimated payments on investment income, tax-loss harvesting throughout the year directly alters these quarterly calculations:
- First-quarter harvesting: Realized losses in the first quarter reduce the net taxable income used to calculate the April estimated payment.
- Third-quarter harvesting: Realized losses in the third quarter reduce the net taxable income used to calculate the September estimated payment.

How can investors build a carryforward intentionally?
Some years produce enough loss harvesting opportunities to generate a capital loss carryforward beyond what current gains can absorb. That carryforward is a planning asset for future years. A household anticipating a business sale, a property sale, or large IRA distributions can build a carryforward in advance to offset those future gains, reducing or eliminating the tax on events that would otherwise trigger large bills.

What makes tax-loss harvesting difficult to manage?
Tax-loss harvesting is not a single transaction. It is an ongoing discipline that requires tracking positions across multiple accounts, monitoring wash-sale windows, coordinating with the tax return, and connecting each harvesting decision to a broader financial picture.

What is the wash-sale coordination problem?
The wash-sale rule applies across every account a taxpayer or a spouse controls: taxable accounts, traditional IRAs, Roth IRAs, and employer 401(k)s.
Most brokerage firms track wash sales solely within the specific account hosted at their firm. A sale at a loss in a taxable account at one custodian and a reinvestment inside an IRA at a different custodian will not be flagged by either compliance system. Account holders remain personally responsible for tracking that cross-account exposure independently.

How does harvesting connect to the full income picture?
A capital loss holds higher value in a year with high tax brackets and substantial gains to offset. It provides less immediate utility in a year when income is low or capital gains are minimal. Proper calibration requires modeling expected annual income before deciding how aggressively to harvest, accounting for:
- Roth conversion income
- Social Security taxability
- Medicare IRMAA thresholds
- Planned real estate or business asset sales

How should replacement securities be managed?
Replacing a sold position with a substitute asset requires active management. The replacement security must be monitored during the required 30-day holding period. Once day 31 passes, a decision must be made whether to revert to the original security or maintain the replacement position.

How can IRA repurchases permanently disallow a loss?
The permanent loss destruction that occurs when a wash-sale security is repurchased inside an IRA is easy to trigger and impossible to reverse. Executing a harvest without reviewing all household accounts risks triggering an unintended wash-sale exposure through:
- Automatic 401(k) contributions
- Dividend reinvestment programs (DRIPs)
- Scheduled recurring purchases

How a financial advisor can help
Managing tax-loss harvesting across a multi-account household requires specialized oversight to maximize tax efficiency while avoiding costly IRS traps. A fiduciary advisor provides key advantages:
- Cross-household coordination: A fiduciary manages and monitors all accounts across the entire household to catch and prevent accidental cross-custodian wash sales that automated brokerage systems miss.
- Integrated income modeling: Rather than harvesting losses in a vacuum, a fiduciary models the full tax landscape, including Roth conversions, Social Security, and IRMAA thresholds, to ensure losses are applied precisely where they yield the highest after-tax value.
- Automated timeline management: Fiduciaries actively track required 30-day holding periods and execute follow-up trades or rebalancing automatically, removing the burden of manual tracking from the investor.
- Proactive risk prevention: Prior to executing any harvest, a fiduciary audits all household activity, including DRIPs and recurring 401(k) allocations, to safeguard against permanent loss disallowances in tax-advantaged accounts.

FAQs
Can tax-loss harvesting eliminate a capital gains tax bill entirely?
It depends on the size of the loss relative to the gain. Capital losses offset capital gains dollar for dollar with no annual ceiling. If losses equal or exceed gains in the same year, the net capital gains tax for that year can be reduced to zero. The $3,000 annual limit applies only to the deduction of net losses against ordinary income, not to the offsetting of gains. For someone with $200,000 in gains and $200,000 in harvested losses, the net capital gains tax is zero for that year regardless of the $3,000 limit.
Does tax-loss harvesting work in retirement accounts?
No. IRAs, Roth IRAs, and 401(k)s do not generate taxable capital gains or losses. Selling a position at a loss inside a Roth IRA produces no tax benefit, because the account’s gains are already tax-free and its losses cannot be deducted. Tax-loss harvesting applies exclusively to taxable investment accounts. The same activity inside a tax-advantaged account generates no deductible loss and provides no tax offset.
What happens to a capital loss when the investor dies?
Capital losses do not transfer to heirs. A capital loss carryforward belonging to a deceased individual cannot be carried over by the estate or the heirs. Any unused carryforward is permanently lost at death. This is a planning consideration for anyone who has accumulated large carryforwards and may not have sufficient future gains to use them. A fiduciary advisor can help ensure accumulated losses are applied before they are lost.
How is a wash sale reported on the tax return?
Wash sales are reported on Form 8949, the IRS form used to detail individual capital asset transactions, including wash sales and disallowed losses. The disallowed loss is reported in column (g) with code W in column (f), and the net result flows to Schedule D. Brokerage firms must report wash sales only for transactions within the same account and the same CUSIP number. The account holder must identify and report cross-account wash sales.
Does the wash-sale rule apply across a married couple’s accounts?
Yes. A sale by one spouse and a repurchase by the other spouse within the 61-day window is a wash sale. This applies to all account types held by either spouse. Coordinating harvesting activity across a household requires reviewing both spouses’ accounts before executing any sale.

Glossary
Tax-loss harvesting: The deliberate sale of an investment position at a loss to generate a capital loss that can offset capital gains or, up to $3,000 per year, ordinary income. The sold position is typically replaced with a similar but not substantially identical security to maintain market exposure while capturing the tax benefit.
Capital loss: The loss realized when an investment is sold for less than its cost basis. Short-term capital losses apply to assets held one year or less. Long-term capital losses apply to assets held more than one year. Each type offsets the corresponding type of gain first before crossing over to offset the other type.
Capital gains offset: The process by which capital losses reduce taxable capital gains dollar for dollar. Netting occurs first within the same holding-period category — short-term against short-term, long-term against long-term — before losses of one type offset gains of the other type.
Capital loss carryforward: The unused portion of a net capital loss that exceeds the $3,000 annual deduction against ordinary income. Carries forward indefinitely to future tax years with no expiration date. Retains its short-term or long-term character when it moves to a new year. Can be applied against future capital gains with no annual limit.
Wash-sale rule: The IRS rule under IRC Section 1091 that disallows a capital loss deduction when the same or a substantially identical security is purchased within 30 days before or after the sale that generated the loss. Creates a 61-day total restricted window. To be safely outside the window, wait 31 days after the sale date before repurchasing. Applies across all accounts controlled by the account holder and spouse, including IRAs, Roth IRAs, and 401(k)s.
Substantially identical security: A security the IRS considers effectively the same as the one sold for purposes of the wash-sale rule. Includes the same stock or bond, options or contracts to buy the same security, and ETFs or funds tracking the same index with effectively identical holdings. The IRS does not provide a precise definition, and borderline cases require professional judgment.
Replacement security: The investment purchased after a tax-loss harvesting sale to maintain market exposure during the 61-day wash-sale window. Must differ sufficiently from the sold security to avoid triggering the wash-sale rule, while providing similar economic exposure so the portfolio is not inadvertently underweighted in the relevant asset class.
Cost basis: The original purchase price of an investment, adjusted for dividends reinvested, stock splits, and wash-sale adjustments. When a wash sale occurs, the disallowed loss is added to the replacement security’s cost basis, deferring rather than destroying the tax benefit in non-IRA contexts.
Form 8949: The IRS form used to report capital asset transactions, including the identification of wash sales. Disallowed wash-sale losses are reported with code W. The totals flow to Schedule D of the Form 1040.
Unrealized loss: A decline in value of an investment position that has not yet been converted to a tax benefit by selling the position. Unrealized losses appear on the tax return only once the position is sold and the loss is realized.
Duration: A measure of a bond fund’s sensitivity to interest rate changes, expressed in years. Used when selecting replacement bond funds to ensure the portfolio maintains a similar interest rate exposure profile after a tax-loss harvesting sale.
Quarterly estimated tax payments: Advance tax payments required four times per year from people with significant non-wage income, to avoid underpayment penalties. Capital losses harvested during the year reduce the estimated tax owed in the payment period when the harvest occurs.

Important Information
SteadyRetire is a retirement education platform offering practical financial resources and access to a financial advisor matching service. This article is intended for informational and illustrative purposes only and does not constitute financial, legal, tax, or investment advice. The information provided does not create a professional-client relationship and should not be used as a substitute for consultation with a qualified financial advisor, tax professional, or attorney. While we strive to provide accurate and up-to-date information, rules and regulations regarding retirement are subject to change. Always consult with a certified professional regarding your specific financial situation.
Related:
- Inherited IRAs: New rules for beneficiaries
- What is a Roth conversion? A beginner’s guide
- The 10% early withdrawal penalty: Rules and exceptions
Ask us! What questions do you have about content, strategy, pop culture, lifestyle, wellness, history or more? We may use your question in an upcoming article!
Like MediaFeed’s content? Be sure to follow us.
This article originally appeared on SteadyRetire and was syndicated by MediaFeed.co.
