Tax loss harvesting means selling an investment that is worth less than you paid so the loss offsets capital gains you’ve already taken. If losses exceed gains, up to $3,000 a year can offset other income, such as practice income, and the rest carries forward. For a practice owner, the bigger value is often what the gain would have done to the rest of the return.
- Losses offset gains of the same type first. Long-term losses cancel long-term gains, and any excess then cancels short-term gains, which are taxed like practice income.
- The $3,000 limit applies only after gains are offset. Unused losses become a capital loss carryover that you can use in later years.
- Buying the same fund back within 30 days undoes the loss, and the IRS counts purchases in your IRA, your Roth IRA and your spouse’s account.
- For a dentist near the QBI phase-out, a capital gain can also shrink the QBI deduction and count toward the 3.8% net investment income tax.
- What we see: the portfolio and the practice are planned by different people, so the tax effect of a gain often shows up only when the return is prepared.
Your brokerage statement shows a fund down 18% this year. In the same account, a winner you sold in the spring left a gain you haven’t paid tax on yet. December is the last chance to make that loss count for 2026. The question isn’t whether losing money is good. It’s whether a loss you already have can do some work before the year closes.
What is tax loss harvesting, and what isn’t it?
Tax loss harvesting is selling an investment held in a taxable account at a loss, on purpose, so the realized loss offsets capital gains and, within limits, ordinary income. A capital loss is the amount by which your sale price is below your adjusted basis, usually what you paid (IRS Topic 409). Most investors then reinvest the money in something similar, so their exposure to the market stays roughly the same.
It isn’t a way to avoid tax for good. When you replace the investment, the new one has a lower basis, so part of the benefit is a deferral. It also does nothing inside an IRA, a 401(k) or a Roth IRA, where gains and losses aren’t reported each year.
| Move | What it does | Best year to use it | Main trap |
|---|---|---|---|
| Tax loss harvesting | Sells losers to offset gains and up to $3,000 of other income | High-income years with realized gains | Wash sale rule |
| Tax gain harvesting | Sells winners to reset basis higher at a 0% or low rate | Unusually low-income years | Pushing income into a higher bracket |
| Rebalancing | Brings the portfolio back to its target mix | Any year | Selling winners in a taxable account creates gains |
| Year-end tax planning | Changes the facts of the whole return before December 31 | Every year | Waiting until the return is being prepared |
How does tax loss harvesting work, step by step?
The IRS nets your gains and losses in a fixed order, and that order decides how much a harvested loss is worth. Gains and losses are long-term if you held the asset more than one year and short-term if you held it one year or less. Net short-term gains are taxed as ordinary income, the same as your practice income (IRS Topic 409).
- Net within each type. Long-term losses offset long-term gains, and short-term losses offset short-term gains.
- Cross over. A net loss in one type then offsets a net gain in the other. A long-term loss that reaches short-term gains is offsetting income taxed at ordinary rates.
- Use up to $3,000 against other income. If you still have a net loss, you can deduct the lesser of $3,000 ($1,500 if married filing separately) or the net loss.
- Carry the rest forward. What is left becomes a capital loss carryover for the next year (IRS Publication 550).

What is a capital loss carryover?
A capital loss carryover is the part of a net capital loss you couldn’t use this year. It moves to next year’s return and goes through the same netting again, offsetting gains first and then up to $3,000 of other income. It keeps its character: a long-term loss carried over is still long-term. The Capital Loss Carryover Worksheet in Publication 550 or the Schedule D instructions figures it.
Who is tax loss harvesting for, and who can skip it?
It fits practice owners with money in a taxable brokerage account and gains already taken this year. You’ll recognize yourself if:
- You sold a winning stock or fund earlier in the year, or a fund paid a large capital gain distribution.
- Your household income puts you near the QBI phase-out range or above the net investment income tax threshold.
- You are selling a building, a second location or an investment property and expect a large gain.
- You have old losses on positions you no longer want to own.
You can skip it if all your investing is in a 401(k), cash balance plan or IRA, or if your taxable account has no losses. And if you are an associate still building savings, the bigger levers are usually your retirement plan and your contract terms.
Why does a capital gain cost a dentist more than the capital gains rate?
Because a practice owner’s capital gain doesn’t sit alone on the return. It is added to the income that several other rules look at, so harvesting a loss can matter beyond the 15% or 20% rate on the gain.
- The QBI deduction. Dentistry is a health service, which the QBI rules treat as a specified service (26 CFR 1.199A-5). For 2026, the deduction for a specified service phases out as taxable income goes from $403,500 to $553,500 on a joint return, or $201,750 to $276,750 for most other filers (Rev. Proc. 2025-32). A capital gain raises taxable income, and the deduction can’t exceed 20% of taxable income minus net capital gain (26 U.S.C. 199A(a)).
- The net investment income tax. The 3.8% tax applies to the lesser of your net investment income or your modified AGI above $250,000 joint or $200,000 single. Income from a business you actively work in isn’t investment income, but it does count toward the threshold (IRS Topic 559). That is why many owners pay the extra 3.8% on portfolio gains.
- The SALT cap. For 2026, the state and local tax deduction is capped at $40,400, and the cap is reduced when modified AGI is over $505,000, down to a $10,000 floor (IRS Publication 505).
Our guide to how dentists reduce taxable income covers the practice-side levers that work alongside this.
What are the tax loss harvesting rules that trip people up?
The wash sale rule is the big one. A loss is disallowed if, within 30 days before or after the sale, you buy substantially identical stock or securities. The disallowed loss isn’t gone: it is added to the basis of the new shares and used when you sell them (IRS Publication 550).
1. Your IRA counts
If you sell a fund at a loss in your brokerage account and buy it back in your IRA or Roth IRA within the window, the IRS treats it as a wash sale, and your IRA basis is not increased. The loss is simply lost (Rev. Rul. 2008-5).
2. Your spouse’s account counts
Publication 550 says it is also a wash sale if your spouse, or a corporation you control, buys substantially identical stock. In a two-dentist household with two brokerage accounts, check both before you sell.
3. The window crosses New Year’s
The 30 days after a December sale run into January. A loss booked on December 20 can still be washed by a purchase on January 10. Automatic dividend reinvestment is a purchase too, so turn it off on that fund during the window.
4. Selling to family doesn’t create a loss
A loss on a sale to your spouse, a parent, a child, a sibling or a corporation you own more than 50% of isn’t deductible, even at full market price (26 U.S.C. 267).
Gains on the books and losses in the portfolio? See what is still open for 2026 before December 31.
When should you harvest, and when should you skip it?
Harvest when the loss offsets income taxed at a high rate this year, and skip it when it doesn’t. Good moments:
- November and early December, once you know this year’s gains. Don’t leave it to the last trading day: you want time to check the 30-day window and every account in the household.
- After a sharp market drop, any month. Losses can be harvested whenever they exist, and the carryover keeps.
- Before a big gain year, such as the sale of a building or an investment property. Losses harvested ahead of time can offset that gain.
Skip it, or think twice, in a year when your taxable income is low enough for the 0% capital gains rate. A loss used there offsets gains that wouldn’t have been taxed anyway.
What is tax gain harvesting?
Tax gain harvesting is the mirror image: selling a winner in a low-income year to lock in the gain at the 0% federal rate, then buying it right back at a higher basis. The wash sale rule applies only to losses (IRS Publication 550). For 2026, the 0% rate applies up to $98,900 of taxable income on a joint return and $49,450 for single filers (Rev. Proc. 2025-32). For most practice owners that only happens in unusual years: finishing residency, a year off, or stepping back from practice. Your state may still tax the gain.
A related move: gifting appreciated shares to a parent you already support, or to an adult child outside the kiddie tax rules (IRS Topic 553), can move the gain to a lower bracket. Gifts above $19,000 per person in 2026 need a gift tax return (IRS, gift tax FAQ), so check with your CPA first.
How we look at tax loss harvesting with dental practices
We don’t pick investments. We look at what a sale does to the whole return, and we do it before December, not in March.
- Pull the year-to-date picture. Practice income, W-2 salary, realized gains and losses, and expected fund distributions, from every household account.
- Find the thresholds. Where taxable income sits against the QBI phase-out, where MAGI sits against the NIIT and SALT thresholds.
- Size the loss. Enough to offset the gains that cost the most, plus the $3,000, without wasting losses in a low-rate year.
- Hand the trades to your advisor. Your financial advisor chooses the replacement investment and checks the 30-day window. We confirm the tax side.
- Track the carryover. It goes into next year’s projection, so it gets used, not forgotten.
The portfolio and the practice are usually planned by different people. The advisor harvests losses on schedule, the CPA sees the result only when the 1099-B arrives, and nobody checks whether the gain pushed the owner past a threshold that mattered more. Putting both on the same projection in the fall is where the value is.
Tax loss harvesting checklist
| Item | Fits you if | Deadline | What to bring |
|---|---|---|---|
| Realized gains so far | You sold winners or got fund distributions | Before you harvest | Year-to-date realized gain/loss report from each brokerage |
| Unrealized losses | You hold positions below cost in a taxable account | Last trading days of December | Positions with cost basis by tax lot |
| Wash sale check | You plan to buy back or hold similar funds | 30 days before and after each sale | Your, your spouse’s and both IRAs’ recent and planned purchases |
| Threshold check | Household income near the QBI phase-out, NIIT or SALT thresholds | Before December 31 | Practice P&L, W-2 salary, a current-year projection |
| Carryover | You had a net capital loss last year | Before you plan this year’s sales | Last year’s Schedule D |
| Giving plan | You itemize and give to charity | Before December 31 | Appreciated shares you could give instead of cash |
Mistakes we’d avoid
- Buying the fund back in the IRA. It feels like a different account. For the wash sale rule, it isn’t, and the loss is gone for good.
- Donating a losing stock. You lose the capital loss. Sell it, take the loss, and give the cash. Give appreciated shares instead, which avoids the gain. A donor-advised fund makes that easy to time.
- Harvesting in a 0% year. A loss in a low-income year can offset gains that would have been taxed at nothing.
- Letting the tax tail wag the portfolio. A sale should still make sense as an investment. The tax result is a bonus, not the reason.
- Forgetting estimated taxes. A big gain without a matching loss may call for an estimated payment. See estimated tax payments for practice owners.
What changed for 2026
- Capital gains brackets: 0% up to $98,900 joint and $49,450 single; 15% up to $613,700 joint and $545,500 single (Rev. Proc. 2025-32, October 2025).
- QBI thresholds: $403,500 joint and $201,750 for most other returns, with the phase-out complete at $553,500 and $276,750 (Rev. Proc. 2025-32).
- SALT cap: $40,400, reduced when modified AGI exceeds $505,000, not below $10,000 (IRS Publication 505, 2026).
- Charitable gifts: starting in 2026, itemized charitable contributions count only above 0.5% of AGI, and total itemized deductions may be reduced at the top bracket (IRS Publication 505, 2026). Rules on gifts of appreciated property are in IRS Publication 526.
How to tell whether tax loss harvesting worked
Look at Schedule D on next year’s return. The net gain should be lower than it would have been, any deduction against other income should be the full $3,000 if you had excess losses, and no wash sale adjustments should appear on lots you meant to harvest. Then check two things: that the carryover is listed and carried into the next projection, and that your portfolio still looks like the one you wanted.
The bigger test is whether the year-end decisions happened before December 31 instead of after. That is the point of year-end tax planning for dentists, and of a firm that works on the return all year. See how our planning works.
Frequently asked questions
Is tax loss harvesting worth it for a high-income dentist?
Often, when there are realized gains to offset. A harvested loss reduces the gain itself, and for a practice owner it can also lower the taxable income behind the QBI deduction and the income behind the 3.8% net investment income tax. Without gains, the benefit is the $3,000 deduction plus a carryover.
Does a capital loss carryover expire?
For an individual, it carries forward to later years until used, offsetting gains first and then up to $3,000 of other income each year. Long-term losses stay long-term. The Capital Loss Carryover Worksheet in Publication 550 or the Schedule D instructions figures the amount.
Can I buy a similar fund right after selling?
Yes, if it isn’t substantially identical. Shares of one company are ordinarily not substantially identical to another company’s, but the IRS looks at all the facts and circumstances. Two funds tracking the same index can be close. Your financial advisor should pick the replacement with the wash sale rule in mind.
Does tax loss harvesting work in a 401(k) or IRA?
No. Gains and losses inside retirement accounts aren’t reported each year, so there is nothing to harvest. The IRA matters only as a trap: buying back a sold position inside it can disallow the loss in your taxable account.
How does dentist investing tie into the practice’s taxes?
Through the household return. Practice income, salary and portfolio gains all land on one Form 1040, and thresholds like the QBI phase-out and the NIIT look at the total. That is why we plan both together, with your financial advisor handling the investments and us handling the tax side.
Glossary
| Term | Meaning |
|---|---|
| Basis | Generally what you paid for an investment, used to figure the gain or loss. |
| Short-term / long-term | Held one year or less / more than one year. Net short-term gains are taxed as ordinary income. |
| Capital loss carryover | Net capital loss you couldn’t use this year, carried to future years. |
| Wash sale | A loss sale with a purchase of substantially identical securities within 30 days before or after. The loss is disallowed. |
| Tax gain harvesting | Selling winners in a low-income year to lock in gains at a 0% or low rate. |
| QBI deduction | Up to 20% of qualified business income, phased out for specified services such as dentistry above set income levels. |
| NIIT | The 3.8% net investment income tax on investment income above set MAGI thresholds. |
Sources
- IRS, Topic 409, Capital gains and losses: short vs. long term, $3,000 limit, carryover.
- IRS, Publication 550, Investment Income and Expenses (2025): netting, wash sales, spouse and controlled corporation, substantially identical.
- IRS, Rev. Rul. 2008-5, Internal Revenue Bulletin 2008-3 (2008): IRA and Roth IRA purchases trigger a wash sale with no basis increase.
- IRS, Rev. Proc. 2025-32 (2025): 2026 capital gains brackets and QBI thresholds.
- U.S. Code, 26 U.S.C. 199A: QBI deduction limited to 20% of taxable income minus net capital gain.
- eCFR, 26 CFR 1.199A-5: specified service trades, field of health.
- IRS, Topic 559, Net investment income tax: 3.8% rate, thresholds, active business income.
- IRS, Publication 505 (2026): 2026 SALT cap and phase-down, charitable 0.5% floor.
- IRS, Publication 526, Charitable Contributions: gifts of appreciated property.
- U.S. Code, 26 U.S.C. 267: losses on sales between related persons.
- IRS, Topic 553, Kiddie tax: tax on a child’s unearned income.
- IRS, Frequently asked questions on gift taxes: $19,000 annual exclusion for 2026.
