How to Avoid Capital Gains Tax as a Physician

16 min read
SalaryDr Research Team
Physician Compensation Research
Table of Contents

Frequently Asked Questions

What is the capital gains tax rate for physicians?
Most physicians pay the maximum long-term capital gains rate of 20% (for taxable income above $533,400 single / $600,050 married in 2026), plus the 3.8% Net Investment Income Tax (NIIT), for a combined federal rate of 23.8%. Short-term capital gains (assets held less than 1 year) are taxed as ordinary income — up to 37% + 3.8% NIIT = 40.8% for top-bracket physicians. State income taxes add 0-13.3% on top.
Can physicians avoid capital gains tax legally?
You cannot completely eliminate capital gains tax, but you can significantly reduce it through legal strategies: tax-loss harvesting (offsetting gains with losses), holding investments in tax-advantaged accounts (Roth IRA, HSA), using donor-advised funds for charitable giving of appreciated stock, the primary residence exclusion ($250K/$500K), and Qualified Opportunity Zone investments. Each strategy has specific requirements and limitations.
What is tax-loss harvesting and should physicians do it?
Tax-loss harvesting involves selling investments at a loss to offset capital gains, reducing your tax bill. At the 23.8% combined federal rate, every $10,000 in harvested losses saves $2,380 in federal taxes. Physicians with large taxable brokerage accounts should harvest losses annually. Be aware of the wash sale rule: you cannot repurchase a "substantially identical" security within 30 days of selling at a loss.
How does the primary residence exclusion work?
You can exclude up to $250,000 ($500,000 if married filing jointly) of capital gains from the sale of your primary residence if you owned and lived in the home for at least 2 of the 5 years before selling. For a physician couple who bought a home for $400,000 and sold it for $900,000, the $500,000 exclusion would shelter the entire $500,000 gain from taxes.
Should physicians use a donor-advised fund?
If you donate $5,000+ to charity annually, a donor-advised fund (DAF) is highly advantageous. By contributing appreciated stock (instead of cash) to a DAF, you avoid capital gains tax on the appreciation AND get a full fair-market-value charitable deduction. At the 23.8% capital gains rate, donating $50,000 of stock with $30,000 of unrealized gains saves $7,140 in capital gains tax compared to selling the stock and donating cash.