All posts
Strategy·· 10 min read

Tax-Loss Harvesting: Plain English Guide to 2027 Rules

Tax-loss harvesting sounds like a Wall Street secret. It's not. Here's when it actually moves the needle — and when your broker is overselling it.

By AtlasForge Financial Editorial
Tax-Loss Harvesting: Plain English Guide to 2027 Rules

Every October, someone in a personal finance forum declares that tax-loss harvesting "changed their financial life." Every January, someone else admits they triggered the wash sale rule and erased the benefit entirely. Both stories are true, and neither tells the whole picture.

Tax-loss harvesting is a legitimate tax optimization strategy — one that the wealthiest Americans have used for decades through family offices and private wealth managers. But the democratization of the technique through robo-advisors and automated platforms has also produced a wave of misapplied trades, phantom savings, and unnecessary portfolio churn. This guide cuts through the noise: here is exactly how the strategy works under 2027 rules, when it actually makes financial sense, and how to execute it yourself if your brokerage isn't doing it for you.

What Tax-Loss Harvesting Actually Is

At its core, tax-loss harvesting means selling an investment that has dropped below your purchase price — realizing a capital loss on paper — and using that loss to offset capital gains you've realized elsewhere. The IRS allows you to deduct up to $3,000 of net capital losses against ordinary income per year, with any excess carried forward indefinitely into future tax years.

Here's a simple example. Suppose you sold shares of a broad technology ETF in March 2027 for a $8,400 gain. Later in the year, a bond fund you hold is sitting $6,200 below your cost basis. If you sell that bond fund before December 31, you reduce your net taxable gain to $2,200. At a 15% long-term capital gains rate, that's a tax bill of $330 instead of $1,260 — a real, concrete saving of $930 from a single decision.

The strategy doesn't eliminate tax liability. It defers or reduces it. That distinction matters enormously, and we'll return to it.

The 2027 Regulatory Landscape: What Changed

The core mechanics of tax-loss harvesting have not changed dramatically, but three updates are worth knowing as you plan for the 2027 tax year:

  1. Capital gains rate thresholds adjusted for inflation. For 2027, the 0% long-term capital gains rate applies to single filers with taxable income up to $48,350 and married filing jointly up to $96,700, per IRS Revenue Procedure 2026-45. The 15% bracket caps out at $533,400 for single filers. If you are in the 0% bracket, tax-loss harvesting produces zero benefit — a point most robo-advisor marketing conveniently omits.
  2. Wash sale rule enforcement is tightening. The IRS has not yet extended the wash sale rule to cryptocurrency as of mid-2027, though the Treasury Department's 2026 Green Book proposed doing exactly that. Crypto tax-loss harvesting remains legal for now, but treat it as a closing window, not a permanent loophole.
  3. Broker cost-basis reporting is now universal. Under regulations that fully phased in by 2026, all brokers must report adjusted cost basis to the IRS on Form 1099-B for covered securities. This means the IRS has better visibility into wash sale violations than it did five years ago. Manual tracking errors are less defensible.

Key rule to internalize: The wash sale rule (IRC Section 1091) disallows a loss if you buy a "substantially identical" security within 30 days before or after the sale — a 61-day window total. This is the most commonly misunderstood and misapplied element of the entire strategy.

When Tax-Loss Harvesting Genuinely Moves the Needle

Let's be specific. Tax-loss harvesting produces meaningful, quantifiable value when all of the following conditions are true:

  • You are in the 15% or 20% capital gains bracket. At 20%, every $10,000 of losses harvested saves $2,000 in federal tax. At 0%, it saves nothing.
  • You have realized or anticipate realizing capital gains in the same tax year. Harvested losses offset gains first. If you have no gains, losses only offset $3,000 of ordinary income — useful, but not the lever most people imagine.
  • The loss is material relative to transaction costs. Selling a position to capture a $150 loss in a taxable brokerage account with $4.95 commissions and a wide bid-ask spread may net you $140 of actual benefit. That's not nothing, but it's not the story either.
  • You can find a suitable replacement security quickly. The whole point is to stay invested in the market while capturing the tax benefit. Sitting in cash for 31 days to satisfy the wash sale window can cost you more in missed returns than you saved in taxes, especially in a rising market.
  • You are in a taxable account. Tax-loss harvesting inside an IRA, 401(k), or any tax-advantaged account is meaningless. Losses in those accounts are never recognized for tax purposes.

A 2024 Vanguard analysis estimated that systematic tax-loss harvesting can add between 0.5% and 1.5% in after-tax alpha annually for investors in high tax brackets — but that range collapses to near zero for middle-income investors with modest portfolios and few realized gains.

When It's Overhyped (And Who Benefits From Overselling It)

Robo-advisors pioneered automated tax-loss harvesting as a premium differentiator, and to their credit, they do execute it more reliably than most individual investors. But the feature is also prominently marketed to users who will never meaningfully benefit from it.

If you are contributing to a 401(k) up to the $23,500 2027 limit, holding most of your equity exposure there, and only have a small taxable brokerage account, tax-loss harvesting on that taxable account is a minor footnote to your overall tax picture. The complexity, the tracking burden, and the risk of wash sale violations often outweigh the benefit.

There is also a subtler cost that frequently goes unmentioned: harvesting resets your cost basis lower. When you eventually sell the replacement security, you will owe tax on a larger gain. You haven't eliminated tax — you've borrowed against future years. In a rising market over 20 years, that deferred gain compounds. The benefit is real when you use the tax savings to reinvest productively (essentially getting an interest-free loan from the government), but it is not free money.

Finally, watch out for state tax complications. California, for instance, does not conform to federal wash sale rules the same way all states do, and it taxes long-term capital gains as ordinary income — meaning the strategy's calculus looks very different for a California resident in the 13.3% state bracket than for someone in Texas with no state income tax.

How to Execute Tax-Loss Harvesting Manually

If your broker doesn't automate this and you want to do it yourself, here is a repeatable process:

Step 1: Audit Your Taxable Positions

Log into your brokerage and sort positions by unrealized gain/loss. Most platforms show this natively. Export a spreadsheet with: ticker, shares held, cost basis per share, current price, and unrealized gain or loss.

Step 2: Identify Harvestable Losses

Focus on positions with losses greater than $1,000 (below that, the math rarely justifies the effort unless you're managing large portfolios). Flag positions where the loss represents at least a 10% decline from cost basis.

Step 3: Identify a Replacement Security

This is the hardest step. The replacement must be:

  1. Not "substantially identical" to the security you're selling (selling SPY and buying VOO — both S&P 500 trackers — is a grey area the IRS has not definitively ruled on, but many tax attorneys consider them substantially identical)
  2. Sufficiently similar in risk/return profile to maintain your intended asset allocation
  3. Liquid enough to buy in the quantity you need without significant slippage

Practical pairings that tax professionals commonly use: selling a total market ETF and replacing with a large-cap value ETF; selling an investment-grade bond fund and replacing with a similar-duration Treasury ETF.

Step 4: Execute and Document

Sell the loss position and immediately buy the replacement. Record the exact date and price of both trades. Set a calendar reminder 31 days out — on that date, you may sell the replacement and repurchase your original holding if you prefer it.

Step 5: Track for Year-End

Collect your 1099-B in February, reconcile harvested losses against realized gains, and confirm your net position before filing. If you use tax software, input the wash sale adjustment manually if your broker flagged any. The IRS Form 8949 instructions walk through the adjustment columns in detail.

Common Mistakes That Negate the Benefit

The list of ways to accidentally break the wash sale rule is longer than most investors expect:

  • Dividend reinvestment plans (DRIPs). If your brokerage automatically reinvests dividends from a fund you just sold, and it purchases shares of a substantially identical fund within the 61-day window, that triggers a wash sale — even if you didn't initiate the buy.
  • Purchases in an IRA. Buying a substantially identical security in your IRA within the wash sale window disallows the loss in your taxable account. The IRS ruled on this explicitly, and the replacement purchase in a tax-advantaged account still counts.
  • Spouse's accounts. If your spouse holds the same security and buys more within the window, that can trigger the rule under the "related parties" interpretation. This is a grey area, but a conservative approach is to coordinate across household accounts.
  • Tax-loss harvesting near year-end without checking settlement dates. Trades settle T+1 as of 2024 SEC rule changes. A trade executed on December 31, 2027 settles January 1, 2028 — it counts for the 2027 tax year for loss recognition purposes, but confirm this with your broker's cut-off time.

The Honest Cost-Benefit Framework

Before harvesting any loss, run this quick calculation:

Estimated tax savings = (Loss amount) × (Your marginal capital gains rate) Opportunity cost = (Estimated annual return of the asset) × (Proportion of the year you're out of the position, if any) × (Position size)

If your tax savings materially exceed your opportunity cost, harvest. If the numbers are close, consider whether the administrative complexity is worth your time. If the savings are smaller than the opportunity cost, skip it.

For most investors with portfolios under $250,000, tax-loss harvesting is a seasonal exercise worth one or two hours in November, not a continuous optimization obsession. For investors with portfolios above $1 million in taxable accounts, it can justify sophisticated ongoing attention — and potentially professional tax counsel.

Where AtlasForge Financial Fits In

If you want to move beyond spreadsheets and manual tracking, Safe to Spend 365 integrates your taxable brokerage data to flag potential harvesting opportunities automatically — including wash sale pre-checks across linked accounts. Our Ember360 planning layer can model the multi-year impact of harvesting decisions against your projected income and rate bracket, so you're not optimizing in a vacuum. And for firms building tax-aware portfolio tools at scale, the AtlasForge Financial API exposes our cost-basis and gain/loss aggregation endpoints directly.

Tax-loss harvesting is neither a silver bullet nor a gimmick. Used correctly — for the right investor, at the right income level, with proper wash sale hygiene — it is a disciplined, repeatable edge. The key word is correctly. Start with the framework above, do the arithmetic honestly, and don't let a software feature or a forum post convince you you're leaving money on the table if the math doesn't actually support it.

Ready to build on AtlasForge?

Get sandbox API keys in 60 seconds — or install the Safe to Spend 365 app.