Run the numbers: compare SE tax and income tax with the 1099 vs W-2 calculator, and plan what to set aside with how much to set aside for 1099 taxes. All tools are on the calculators page.
Open Calculator →Tax-loss harvesting means selling an investment in a taxable brokerage account for less than you paid, so the loss can cancel out gains and, up to a limit, other income. It does nothing inside an IRA or 401(k). With W-2 plus 1099 income, it lowers income tax but never self-employment tax.
How the netting works
Losses and gains are sorted by how long you held the asset. One year or less is short-term. More than one year is long-term (Pub 550).
- Short-term losses offset short-term gains.
- Long-term losses offset long-term gains.
- If one side ends in a loss, it offsets the other side's net gain.
- If the total is still a loss, you can deduct up to $3,000 against ordinary income such as wages and Schedule C profit ($1,500 if married filing separately) (Topic 409).
- Anything left carries forward indefinitely. It keeps its character. A long-term carryover reduces next year's long-term gains first (Pub 550).
Net short-term gains are taxed at ordinary rates; net long-term gains get 0%, 15%, or 20%.
2026 long-term capital gains thresholds
Taxable income limits under Rev. Proc. 2025-32:
| Filing status | 0% up to | 15% up to | 20% above |
|---|---|---|---|
| Single | $49,450 | $545,500 | $545,500 |
| Married filing jointly | $98,900 | $613,700 | $613,700 |
| Head of household | $66,200 | $579,600 | $579,600 |
| Married filing separately | $49,450 | $306,850 | $306,850 |
Single brackets used below: 12% up to $50,400, 22% up to $105,700. Single standard deduction: $16,100.
The wash-sale rule
You cannot deduct a loss if, within 30 days before or after the sale, you buy substantially identical stock or securities. Buying an option to acquire them also counts. That is a 61-day window, sale day included (Pub 550). It also counts as a wash sale when:
- your spouse or a corporation you control buys them, or
- you buy them in your IRA or Roth IRA.
When a wash sale happens in a taxable account, the disallowed loss is added to the basis of the new shares, so the deduction is postponed. When the repurchase happens in your IRA, Pub 550 gives no basis adjustment, so the loss is effectively gone.
"Substantially identical" has no bright-line test for funds. Two funds tracking the same index sit closer to the line than funds tracking different indexes.
Dividend reinvestment trap. A reinvested dividend inside the window is a purchase, so the loss on that many shares is disallowed. Turn off reinvestment on the fund you are selling.
Crypto. The IRS treats digital assets as property, not currency. The wash-sale rule in Pub 550 is written for "stock or securities," and the IRS has not issued guidance applying it to digital assets. Treat that as unsettled, not a green light. Brokers began reporting sales on Form 1099-DA for transactions on or after Jan. 1, 2025.
How it interacts with side-hustle income
- Self-employment tax does not change. SE tax is 15.3% on 92.35% of net earnings, and the Social Security part stops at $184,500 of combined wages and earnings in 2026. Gains and losses from selling capital assets are excluded from net earnings from self-employment (Schedule SE instructions). A harvested loss cannot reduce SE tax.
- Income tax and your bracket. The $3,000 offset lowers AGI and taxable income dollar for dollar. Near a bracket edge, that can keep income out of the next bracket.
- Quarterly estimates. A December harvest can lower the Jan. 15, 2027 payment. The safe harbors still apply: pay 90% of 2026 tax, or 100% of 2025 tax (110% if 2025 AGI was over $150,000) (Form 1040-ES).
- NIIT. The 3.8% net investment income tax applies when MAGI exceeds $200,000 (single or head of household) or $250,000 (married filing jointly) (Topic 559). Harvested losses reduce the net gains counted as investment income and lower MAGI.
- Low-income or startup years. If income drops, you may sell long-term winners at 0% federal tax and buy back right away; the wash-sale rule only covers losses.
Example 1: W-2 plus 1099, harvesting a loss
Example only, single filer, federal tax only.
Jordan earns $68,000 in W-2 wages and $22,000 of Schedule C profit. Jordan realized a $4,000 short-term gain earlier in 2026 and holds a long-term fund with a $9,000 paper loss.
- SE tax: $22,000 x 0.9235 = $20,317. $20,317 x 15.3% = $3,108.50. Half is deductible: $1,554.25.
- AGI without harvesting: $68,000 + $22,000 + $4,000 - $1,554.25 = $92,445.75.
- Taxable income: $92,445.75 - $16,100 = $76,345.75. That is the 22% bracket, before any qualified business income deduction, which would not change the bracket here.
Jordan sells the fund by Dec 31 and buys a fund that is not substantially identical:
- Netting: +$4,000 short-term and -$9,000 long-term = -$5,000 net loss.
- Deduct $3,000 against ordinary income. Carry forward $2,000 as a long-term loss.
- Taxable income: $76,345.75 - $4,000 - $3,000 = $69,345.75.
- Federal income tax saved: $7,000 x 22% = $1,540.
- SE tax: still $3,108.50.
Jordan should rerun the quarterly estimated tax calculator before January.
Example 2: Harvesting gains at 0% in a startup year
Example only, single filer.
Priya left a job mid-2026 with $30,000 of W-2 wages and earned $8,000 of Schedule C profit while starting her business.
- SE tax: $8,000 x 0.9235 = $7,388. $7,388 x 15.3% = $1,130.36. Half is deductible: $565.18.
- AGI: $30,000 + $8,000 - $565.18 = $37,434.82.
- Taxable income: $37,434.82 - $16,100 = $21,334.82.
- Room under the 0% ceiling: $49,450 - $21,334.82 = $28,115.18.
Priya sells $28,000 of long-term gains and immediately buys the same funds back. Her taxable income becomes $49,334.82, which is under $49,450, so the federal tax on those gains is $0. Her basis rises by $28,000. Higher AGI can still affect ACA premium credits and state tax.
Example 3: A wash sale through a dividend reinvestment
Example only.
Sam bought 200 shares of a fund for $10,000 and sells them on Dec 10, 2026 for $8,000, a $2,000 loss. The window runs from Nov 10, 2026 through Jan 9, 2027. A dividend automatically buys 5 shares at $41 ($205) on Dec 18.
- Loss per share: $2,000 / 200 = $10.
- Disallowed: 5 x $10 = $50. Allowed: $1,950.
- Basis of the 5 new shares: $205 + $50 = $255.
Had Sam bought 200 shares in his own Roth IRA on Jan 5, 2027, the whole $2,000 would be disallowed with no basis increase.
Year-end checklist for 2026
- List realized gains, including fund distributions.
- Find positions with losses in taxable accounts only.
- Turn off reinvestment on anything you will sell; check IRA and spouse auto-buys.
- Choose a replacement investment, or plan to wait 31 days.
- Trade by Thursday, Dec 31, 2026, the last trading day. Markets are closed Dec 25 and close early at 1:00 p.m. ET (11:00 a.m. Arizona) on Dec 24 (NYSE).
- Settlement is T+1 (SEC), but the trade date sets the tax year (Pub 550). A mutual fund order after the Dec 31 cutoff fills in 2027.
- Update your January estimate with the self-employment tax calculator and the quarterly estimated taxes guide.
- Save trade confirmations for Form 8949.
Common mistakes
- Assuming the loss cuts SE tax. It does not.
- Buying back within 30 days, including through an IRA, a spouse's account, or a dividend reinvestment.
- Selling in a retirement account, where losses do not count.
- Forgetting the carryforward on next year's Schedule D.
- Treating a Schedule C loss as a capital loss. A business loss is ordinary and not capped at $3,000.
Run the numbers: compare SE tax and income tax with the 1099 vs W-2 calculator, and plan what to set aside with how much to set aside for 1099 taxes. All tools are on the calculators page.
FAQ
Can harvested losses reduce my self-employment tax?
No. Capital gains and losses are excluded from net earnings from self-employment.
What if my losses exceed my gains by more than $3,000?
Deduct $3,000 ($1,500 if married filing separately) and carry the rest forward with its short- or long-term character.
Does the wash-sale rule apply when I sell at a gain?
No. It disallows losses only, so you can sell at a gain and buy back the same day.
Sources
- IRS, Publication 550, Investment Income and Expenses (netting, holding period, $3,000 limit, carryover character, wash sales, trade date)
- IRS, Topic 409, Capital gains and losses
- IRS, Rev. Proc. 2025-32 (2026 capital-gains thresholds, brackets, standard deduction)
- IRS, Instructions for Schedule D and Form 8949
- IRS, Instructions for Schedule SE (2026) (capital gains excluded from SE earnings)
- IRS, Self-employment tax
- IRS, 2026 Form 1040-ES
- IRS, Topic 559, Net investment income tax
- IRS, Digital assets and Virtual currency FAQs
- NYSE, Holidays and trading hours
- SEC, T+1 settlement adoption (2023-29)