For most doctors with money in a taxable brokerage account, tax-loss harvesting for doctors is worth doing in any year with realized gains, and Annex Wealth Management starts the decision with the year's netting math. Losses cancel realized gains dollar for dollar, with no cap. Only the leftover drips out at $3,000 a year against ordinary income ($1,500 if you file married filing separately), and that carryforward never expires during your lifetime.
The trade-off is simple and usually underrated on the wrong side. Selling at a loss and buying a replacement resets your cost basis lower, so the tax comes back later when you sell the replacement. Most doctors overrate the headline loss and underrate how slowly the benefit actually arrives.
A harvest moves tax around the calendar. It only saves tax when the offset lands in a high-rate year and the tax on the replacement fund comes due in a lower-rate year — or never comes due at all.
Annex Wealth Management wrote this for physicians and dentists earning well but saving late — student debt behind or still owed, often a practice payroll to meet — who finally have real money in a taxable account. Those accounts fall as well as rise, and the balance you sell from may sit below what you originally paid in.
By Marcus Thompson, CFA — Wealth Manager | Reviewed by Robert Kim, AIFMarcus builds diversified portfolios for high-net-worth clients, with deep expertise in asset allocation and risk management.
Net before you celebrate. A $20,000 loss in a year you already booked a $12,000 gain is an $8,000 loss, and $3,000 of that is all you get against ordinary income this year.
Daniel Oyelaran, CPA and Tax Director, Annex Wealth Management
The first thing I ask a two-doctor household is which accounts are on autopay. A $900 monthly index purchase in a spouse's plan has killed more harvests than bad timing ever did.
Maureen Castellanos, CFP® and Lead Advisor, Annex Wealth Management
If the loss is under about $10,000 and there are no gains to meet it, let it sit. Carryforwards don't expire while you're alive, and the $3,000 drip isn't worth a month of second-guessing your replacement fund.
Peter Vandenberg, Senior Financial Planner, Annex Wealth Management
Step 1: Pull the three papers that decide the harvest
Before anyone sells anything, three numbers decide whether a harvest is even worth placing. You can find all three in an afternoon.
The prior year's 1099-B from your brokerage arrives by mid-February and lists every sale you already made. Pair it with the capital loss carryover line from last year's tax return. If you are already carrying $9,000 of losses forward, this year's harvest has far less work to do.
Next, open the lot-level cost basis view inside the taxable account. Not the account total. The lots. One total-market fund can hold shares bought in 2021 sitting at a gain and shares bought later sitting at a loss. Specific-lot identification lets you sell only the loss lot, and most brokerages make you choose that method before the order goes in, not after.
Third, list every automatic purchase running in the house. Your solo 401(k), a workplace plan, a Roth IRA on autopay, your spouse's accounts. A $900 monthly index buy in her plan can quietly destroy a $20,000 loss.
Write the three numbers on one page: carryforward, realized gains so far this year, and the size of the paper loss. That page is the harvest decision.
Where the carryforward number hides
The auto-buy list nobody makes
- prior-year 1099-B and the carryover line
- lot-level basis inside the taxable account
- every auto-purchase, both spouses
Step 2: Net the year's gains against the paper loss first
Losses meet realized gains dollar for dollar, with no ceiling. The $3,000 ordinary-income offset applies only to what survives that netting.
So the order of operations changes the answer. A $20,000 loss harvested in a year you already booked a $12,000 rebalancing gain leaves an $8,000 net loss. Not a $32,000 windfall. The first $12,000 of that loss simply erases a tax bill you had already created.
Character matters too. Short-term losses go against short-term gains first, long-term against long-term, and the leftovers cross over after that. A carryforward keeps its character until it is used. The IRS reports this on Schedule D, with the individual sales on Form 8949.
One more thing people forget: mutual fund capital gain distributions in December count as realized gains. They show up on the 1099 whether you sold anything or not. Check them before you decide the year has no gains to offset.
Step 3: Does the 61-day wash-sale window reach her 401(k)?
Yes. The IRS wash-sale rule covers purchases of a substantially identical security 30 days before or 30 days after the sale, a 61-day span counting the trade date, and it looks across the household, including a spouse's 401(k) or IRA and any automated harvesting tool trading on your behalf.
A disallowed loss is not destroyed in a normal account. The disallowed amount attaches to the replacement shares' cost basis, so you recover it when those shares are eventually sold.
That rescue does not exist inside a pre-tax 401(k) or traditional IRA. Basis in those accounts is never deductible, so a cross-account wash sale usually erases the harvest's value permanently. The loss leaves the taxable account and lands somewhere it can never be used.
The fix takes five minutes. Suspend one cycle of any automatic purchase of the same fund, or point that month's contribution to a different fund, before the sale executes. Then restart it in January.
Annex Wealth Management treats this check as part of pricing any fund switch, because the tax cost of a trade belongs in the decision before the order, not in the 1099-B conversation three months later.
Why a spouse's account is the dangerous one
Suspend the auto-buy, don't cancel it
The 61-day window runs 30 days before and 30 days after the sale, and it counts every account in the household. An auto-buy of the same fund inside that window disallows the loss.
Step 4: Run the three-year math before you sell
Farid and Siobhan (hypothetical) are an attending and a dentist, both mid-forties, both starting serious saving late. Their taxable account holds $80,000 of their $650,000 in total savings.
In February, Farid rebalances and realizes a $12,000 long-term gain. That tax bill is already on the books. By November, an older total-market fund in the same account sits $20,000 below what they paid for it.
Before placing anything, they suspend one cycle of the auto-buy of that same fund inside his solo 401(k), and they confirm Siobhan's workplace plan buys a different index fund entirely. Then, in early December, they sell the loss lot and buy a different provider's total-market ETF the same afternoon.
The arithmetic is short. $20,000 of loss minus the $12,000 gain leaves an $8,000 net loss. Three thousand dollars of that offsets ordinary income this year, worth up to $1,110 at the top 37% federal rate for 2026 (which applies above $768,700 for joint filers). The remaining $5,000 carries forward.
Year 2 brings no realized gains. Another $3,000 goes against ordinary income. Two thousand dollars still carries.
Year 3, they sell the replacement ETF at a $6,000 gain. The $2,000 carryforward absorbs part of it, and $4,000 stays taxable.
Add it up: $8,000 of income sheltered across three tax years, worth up to about $2,960 of federal tax at 37%. They were out of the market for under an hour.
The row where the story flips is year 3, when the replacement fund's lower basis hands part of the benefit back.
The schedule below is what the harvest actually looks like on a return.
The trade, start to finish
What the benefit is really worth
| When | What happens | What the loss does |
|---|---|---|
| February | $12,000 long-term gain realized | Waits to be netted |
| Year 1, December | $20,000 loss sold; nets to $8,000 | $3,000 vs ordinary income; $5,000 carried |
| Year 2 | No realized gains | Another $3,000; $2,000 carried |
| Year 3 | $6,000 gain on replacement fund | $2,000 carryforward used; $4,000 taxable |
What if the sale slips past December 31?
The trade date sets the tax year, not the settlement date. An execution on December 31 counts for that year even though cash settles in January, and the move to next-day settlement did not change that.
Miss it and the loss simply works next year instead. That is fine if next year has gains to absorb it, and thin if it does not.
Acting too early fails in a quieter way. The window reaches 30 days backward, so a replacement fund bought three weeks before the sale kills the loss just as surely as one bought after. An auto-buy landing mid-window does the same.
Set the calendar before the trade. Mark the auto-buy dates, then pick the sale date around them.
Brokerage queues get long in the last week of December. Placing the order on the 29th instead of the 31st costs nothing and removes the risk of a trade sitting unexecuted.
Is a $3,000 offset even worth the trouble?
At the top 37% federal rate for 2026, a full year's ordinary-income offset is worth up to $1,110. Real money. Also far less than a $20,000 loss appears to promise, because the headline number first erases your own realized gains and then releases at $3,000 a year.
Most doctors see $20,000 and mentally bank $7,400 of tax savings; that number only exists if $20,000 of gains are sitting there to meet it. Where the harvest earns its keep is in a practice year with a big realized gain, a concentrated position you wanted out of anyway, or a basis cleanup after years of unmanaged fund switches. Where it earns almost nothing is a $700 loss on a $15,000 account in a year that books no gains: worth at most $259 of federal offset, once, in exchange for a month of nerves about the replacement fund. Keep the perspective straight. For an attending saving hard after a late start, the monthly amount going into the accounts moves the retirement number by far more than December trading does. Annex Wealth Management starts with the spending plan and the monthly savings figure, then decides what the portfolio does about taxes. A harvest is year-end tidy-up work, not a plan.
What changed in recent years
Brokers now report wash-sale adjustments directly on the 1099-B, and automated harvesting tools place trades on their own schedule without asking. The old quiet assumption, that a purchase in a spouse's IRA or a robo-account's trade would never be connected to your sale, no longer holds up. The taxpayer was always responsible for applying the rule across every account; what changed is that the paperwork now makes the mismatch visible. Plans built a decade ago often skipped the household audit entirely, because the trading was manual and monthly contributions went into a single plan fund. Today a doctor can easily have a solo 401(k), a backdoor Roth, a spouse's 403(b) and a taxable account at a different custodian, each buying index funds that track the same market. Three of those can be substantially identical without anyone noticing. If you turned on an automated harvester and also trade on your own, assume the two will collide at some point and check the dates yourself. The service will not look inside your spouse's plan. It cannot see it.
Two attendings in the same December, two different moves
Same month, same market, opposite answers. Farid and Siobhan harvest because a $12,000 realized gain is already on the books, the $20,000 loss is a quarter of their taxable account, and their practice income makes every offset valuable at the top rate.
A hypothetical second-year hospitalist with $30,000 in taxable, an $800 paper loss and no realized gains should leave it alone. That loss is worth at most $296 of federal offset, once. A month of hesitation about the replacement fund buys nothing on a thirty-year horizon.
Reena, a hypothetical third case, saves entirely in a 403(b) and a 457(b). Harvesting and wash-sale rules do not touch those accounts at all. Her version of this decision does not exist yet, and which tax-advantaged account to fund first matters far more to her.
The comparison below runs both taxable cases on the same five tests.
When the gain on the books decides it
When the account is too small to bother
| Test | Farid and Siobhan | Second-year hospitalist |
|---|---|---|
| Taxable account balance | $80,000 | $30,000 |
| Paper loss available | $20,000 | $800 |
| Realized gains this year | $12,000 | None |
| Max federal value | About $2,960 over three years | About $296, once |
| Verdict | Harvest in early December | Let the loss sit |
Rule of thumb: when the harvest pays and when it's theater
Harvest any realized loss in a year you have realized gains, however small. With no gains on the books, look for a loss above roughly $10,000, big enough to keep feeding the $3,000 drip two tax years from now.
The deferral objection is fair. The replacement fund's lower basis means the gain comes back later, so part of the benefit is timing, not savings. That is exactly why the test is either gains to offset now, or a loss large enough to matter over several years.
Carryforwards also work in the other direction. Jun and Patrice (hypothetical) carry a $14,000 long-term loss carryforward from a harvest two years ago, and their taxable account holds a health-care fund with a $14,000 unrealized long-term gain. They sell it. The $14,000 gain meets the $14,000 carryforward dollar for dollar and leaves $0 of taxable gain. They buy a different health-care fund the same day, resetting basis at the sale price. One trade used a carryforward that would otherwise have dripped $3,000 at a time for nearly five years. The trade-off is the deferral they gave up: growth on the new lot gets taxed when it is finally sold.
An auto-buy of a substantially identical fund landing inside the 61-day window costs nothing this year and everything later. The 1099-B looks ordinary, the loss is disallowed, and its basis moves into a pre-tax account where it can never be deducted. Hold those shares for life and up to about $2,960 of federal benefit on an $8,000 net loss is simply gone.
The calculator on this site runs the same netting arithmetic on your own numbers.
The carryforward works both ways
The mistake that bills you later
- realized gains this year, harvest any loss
- no gains, wait for a loss above roughly $10,000
- all savings in a 403(b) or 457(b), nothing to do yet
What you can check alone and what deserves a conversation
The lot review, the year's netting arithmetic and the auto-purchase audit across both spouses' accounts are a weekend's work inside your brokerage's own screens. Worth talking through with Annex Wealth Management: an automated harvester trading alongside your own orders, a carryforward from residency still sitting on your return, and any fund switch where the gain or loss hiding in the current lot should be sized before the order goes in. Annex Wealth Management serves clients from coast to coast, reviews happen online or by phone, the investable-asset minimum is $500K, and the office is at 55 Market Place, Baltimore, MD 21202.
A harvest is a tidy-up at the end of the year, not a plan.
Questions about tax-loss harvesting for doctors
If my wife's IRA buys the same fund next week, does my loss still count?
What happens to leftover carryforward losses if I never sell another investment?
Can I sell at a loss and buy the replacement the same afternoon?
Can a loss carryforward from my residency years still be used now?
Primary sources
This material is general information only and does not constitute investment, tax or legal advice tailored to your circumstances. Investing involves risk, including possible loss of principal. Before acting on any information here, speak with a financial advisor, tax professional or attorney about your specific situation.