Free · Nonprofit · Education only · Updated October 13, 2026

Second home capital gains calculator (2026)

A second home does not get the $250,000/$500,000 home sale exclusion, and if you rented it out, the depreciation is taxed at up to 25%. Moving in first helps only in part. Enter your numbers to see the tax on selling your vacation home and what you keep.

By , founder, Retirement Literacy Foundation. 2026 federal law, every rate sourced below.

Free calculator

Second home capital gains calculator

Enter your numbers. Your results show right on the page.

Worked example

A 2026 example, worked out

A married couple in California sells the Lake Tahoe cabin they bought 14 years ago for $450,000. They put in $60,000, rented it some summers ($30,000 of depreciation), sell for $1,100,000 with $60,000 of costs, and have $150,000 of other income.

LineAmount
Estimated tax on your second home sale$158,776
Amount realized (price minus selling costs)$1,040,000
Adjusted basis (price paid plus improvements, minus depreciation)$480,000
Total gain$560,000
Depreciation from rental use, taxed up to 25%$30,000
Taxable gain$560,000
Federal income tax (incl. any AMT)$89,305
Net investment income tax (3.8%)$17,480
California tax$51,991
What you keep after tax (before paying off any mortgage)$881,224

Spread the same taxable gain over 5 years with an installment sale and the tax drops from $158,776 to $140,014: they keep $18,762 more (2026 law and income held flat; interest on the note left out).

Computed October 13, 2026 with the same engine the calculator uses: 2026 federal brackets (IRS Rev. Proc. 2025-32), state rates as coded for 2026. Illustrative; your numbers will differ.

How it works

The rules behind the numbers

  1. No exclusion for a second home. The $250,000/$500,000 exclusion is only for your main home: where you live most of the time, with your address on your return and license (IRC 121; IRS Publication 523).
  2. Moving in helps only partly. If you make it your main home for 2 years, gain is split by time: the share for months after 2008 when it was a second home or rental is not excludable (IRC 121(b)(5)). Time after you move out for good, within the 5-year window, does not count against you.
  3. Rental use: the 14-day line. Rent it 14 days or less a year and the rent is tax free, with no depreciation (IRC 280A(g)). Rent it more and you depreciate the rental share; that depreciation, allowed or allowable, is taxed at up to 25% when you sell (IRC 1(h)(6)).
  4. The 3.8% applies. Gain on a vacation home is net investment income, so NIIT applies above $250,000 married or $200,000 single (IRC 1411).
  5. A loss does not help. A loss on a home you used personally is not deductible. If it was a true rental, a loss can be an ordinary Section 1231 loss instead.
  6. 1031 is possible only as an investment. A vacation home can qualify for a 1031 exchange only if held for investment; the IRS safe harbor wants it rented at fair rent 14 days or more a year and personal use no more than 14 days or 10% of rental days, for 2 years (Rev. Proc. 2008-16).

Common questions

Straight answers

Do I pay capital gains tax on selling a second home?

Yes. A second or vacation home does not qualify for the home sale exclusion, so the whole gain is taxed at 0%, 15% or 20%, plus 3.8% NIIT at higher incomes, plus your state's tax.

Can I avoid the tax by moving into my vacation home?

Partly. After 2 years as your main home you can use the exclusion, but the share of the gain from second-home years after 2008 stays taxable, and any rental depreciation is always taxed.

What if I rented my vacation home a few weeks a year?

Under 15 days a year, the rent is tax free and there is no depreciation to recapture. More than that and the rental share is depreciated, and that depreciation is taxed at up to 25% when you sell.

Which state taxes the sale of my second home?

Generally the state where the home is, plus your home state, which usually gives a credit for the tax paid to the other state. Pick the state where the home is located; Washington exempts real estate from its capital gains tax.

Can I spread the gain over several years?

If you carry a note for the buyer, an installment sale reports the gain as you are paid (IRC 453). The calculator shows one year next to the same gain spread out.

Related: Home sale capital gains calculator · Rental property capital gains calculator · Capital gains tax calculator · 1031 boot calculator · Net investment income tax calculator · Estimated tax after a sale

Free seller tax calculators

More calculators for the year you sell

Audit trail

Sources and review

Reviewed for the Retirement Literacy Foundation, a 501(c)(3) education nonprofit. Prepared by Hans Goldstein, EA, retirement educator. Admitted to practice before the IRS. Informational only. Not tax, legal or investment advice. Every figure below cites its source so your CPA or attorney can check it.

Figures are 2026 federal amounts unless stated. Examples are illustrative and rounded; your numbers will differ. By , founder, Retirement Literacy Foundation. Last reviewed .

Hans Goldstein is an Enrolled Agent, admitted to practice before the Internal Revenue Service. Not affiliated with or endorsed by the IRS.