Big Sale TaxHans Goldstein: Tax & Exit Planning
Home / Capital Gains / Second home
Second home and vacation home sale

Capital Gains on a Second Home or Vacation Home: What You Owe in 2027

Short answerSelling a second home or vacation home is taxed as a capital gain with no Section 121 home sale exclusion, because the exclusion covers only your main home. If you owned it more than a year the gain is taxed federally at 0%, 15% or 20%, plus the 3.8% net investment income tax for higher earners and the state's tax, and any depreciation from rental years is taxed at up to 25%. In our Colorado example a $600,000 gain costs $145,720. Renting it, exchanging it under Rev. Proc. 2008-16, moving in, or spreading the gain in an installment sale changes the answer.

Request the analysis Book a free scope call

Why a second home is taxed like an investment

The home sale exclusion in IRC 121(a) covers property you owned and used as your principal residence for two of the five years before the sale.

A lake house, ski condo or beach place you visit on weekends fails the use test no matter how long you have owned it, so every dollar of gain is taxable.

Long-term gain is taxed federally at 0%, 15% or 20%, with 20% starting above $633,600 of taxable income for joint filers (Rev. Proc. 2026-35, 2027); our capital gains hub has the full table.

Two more layers usually apply. Gain on a second home is not from a trade or business, so it counts toward the 3.8% net investment income tax once modified AGI passes $250,000 for joint filers (IRC 1411, not indexed, 2027).

And the state where the home sits taxes the gain even if you live elsewhere. In the first example the federal part is $97,660, the 3.8% adds $21,660, and Colorado's flat 4.4% (2026) adds $26,400.

The asymmetry stings in down markets: a loss on a purely personal second home is a nondeductible personal loss, while the gain is fully taxed.

Second home, vacation home or rental: how each is taxed

Second home and vacation home are the same thing for tax purposes. What changes the bill is how you used it. The table uses the rules in IRC 280A and IRC 121.

How you used itHome sale exclusionDepreciation to recaptureLoss on sale1031 exchange
Personal use onlyNoNoneNot deductibleNo (not held for investment)
Rented fewer than 15 days a yearNoNone; the rent is not income (IRC 280A(g))Not deductibleNo
Mixed: rented 15+ days, personal use above the greater of 14 days or 10% of rental days (IRC 280A(d)(1))NoYes for the rental share, with deductions limited to rental income (IRC 280A(c)(5))Rental share onlyPossible under the Rev. Proc. 2008-16 safe harbor
Rental with limited personal useNoYes, up to 25%Deductible as a business or investment lossYes
Converted to your main homePartial (IRC 121(b)(5))Yes, taxed regardless (IRC 121(d)(6))Not deductibleRarely

The holding period matters too: a second home owned one year or less is a short-term gain taxed at ordinary rates up to 37% in 2027. Long-term rates start the day after the one-year mark.

Your basis: what you can add before you compute the gain

Gain is the net sale price minus adjusted basis. For a second home, basis is the purchase price plus closing costs you paid at purchase, plus capital improvements: a new roof, a dock, an addition, a septic replacement. Repairs and upkeep do not count.

Selling costs such as commissions and transfer taxes reduce the amount realized. Second homes are often owned for decades and improved piecemeal, so rebuilding the improvement file from old invoices, permits and bank records is the cheapest way to shrink the bill. Our adjusted basis guide walks through what counts.

If you rented it out: the 14-day line and depreciation

How you used the place each year decides how it is treated. Under IRC 280A(d)(1), it is a residence for the year if your personal use exceeds the greater of 14 days or 10% of the days it was rented at fair rent.

Rent it fewer than 15 days in a year and the rent is not income at all (IRC 280A(g)). Rent it more, and you report the income and may deduct expenses, including depreciation, allocated by rental days.

That depreciation comes back at sale. Gain up to the depreciation is unrecaptured Section 1250 gain taxed at up to 25% (IRC 1(h)(1)(E), 2027), and the rule reaches depreciation you were entitled to claim even if you skipped it.

In the second example, the same $600,000 gain costs $153,191 instead of $145,720, a difference of $7,471, all from the 25% layer. A rented second home can also release suspended passive losses at sale; see rental property gains.

The 1031 safe harbor for vacation homes (Rev. Proc. 2008-16)

A 1031 exchange needs property held for investment, and a home you mostly enjoy yourself is not. The IRS created a safe harbor in Rev. Proc. 2008-16 (effective for exchanges on or after March 10, 2008). The IRS will not challenge investment intent for a dwelling unit if:

  • You owned it at least 24 months immediately before the exchange.
  • In each of the two 12-month periods before the exchange, you rented it at fair rent to others for 14 days or more.
  • Your personal use in each of those periods did not exceed the greater of 14 days or 10 percent of the days it was rented at fair rent (Rev. Proc. 2008-16).

The replacement property must meet the same tests for the 24 months after the exchange. Falling outside the safe harbor does not automatically kill an exchange, but you then argue investment intent on the facts.

A converted second home can work with a 1031 exchange; if the plan is to retire into the replacement home later, read Section 121 and 1031 combined first, because IRC 121(d)(10) blocks the exclusion on a home acquired in an exchange until you have owned it five years.

Filling the hole with a Delaware statutory trust. If you sell the vacation home as an investment property and the replacement leaves equity or debt that would be taxable boot, an interest in a Delaware statutory trust can fill the gap.

Under Rev. Rul. 2004-86 an interest in a qualifying Delaware statutory trust is treated as an undivided interest in real property, so it can be identified within the 45-day period (IRC 1031(a)(3)), including as a backup identification so the exchange does not fail if the main purchase falls through.

It is a passive replacement, so you could not use it as a getaway. Facts to weigh once: sponsor fees reduce the yield, the interests are illiquid, and you have no say in when the property is sold. See Delaware statutory trust.

Cash left over can be paired with an installment sale set up before closing; the two pieces have to be designed together with your CPA and attorney before the closing.

The downside to know about a 1031. An exchange is not a fully taxable disposition, so suspended passive losses are not released: IRC 469(g)(1) frees them only when all gain or loss on a disposition to an unrelated party is recognized.

They stay suspended and carry into the replacement property, and capital loss carryforwards sit unused because no gain is recognized to absorb them.

A taxable sale releases suspended losses (in the year of a cash sale; in proportion to gain recognized on an installment sale of the entire interest, IRC 469(g)(3)) and lets carryforwards offset the gain. Boot gain in a partial exchange is passive income that suspended losses can absorb.

This matters mainly if the home was rented at a loss for years. See 1031 vs installment sale and suspended losses and carryovers.

Moving in: the nonqualified use rule since 2009

Before 2009, owners could move into a vacation home for two years and exclude up to $500,000. Congress closed that. Under IRC 121(b)(5), gain is allocated to "nonqualified use" (any period after December 31, 2008 when the home was not your or your spouse's principal residence) by the ratio of those periods to your total ownership, and that share cannot be excluded.

  • Years before 2009 are not nonqualified use, so long-held vacation homes get a better ratio.
  • Time after you move out of a principal residence, within the five-year window, does not count against you. The rule bites second-home-then-main-home, not main-home-then-rental.
  • Depreciation from rental years is carved out first and taxed at up to 25% regardless (IRC 121(b)(5)(D)).

In the third example, six of ten ownership years were second-home years, so 60% of the gain stays taxable. The tax caused by the sale is $82,380, against $145,720 had they never moved in.

Owning a second home in another state

The state where the home sits taxes the gain as its own source income, and your home state taxes you on everything, usually with a credit for tax paid to the other state.

Many states also require the buyer or escrow to withhold from a nonresident seller's proceeds; Colorado, for example, withholds the lesser of 2% of the price or the net proceeds on sales over $100,000 (Colorado DR 1083, 2026 rule).

If your home state has no income tax, the second home's state is the only state layer. See the Colorado page, and if you are planning a move, the residency change analysis; a move will not change the state where a vacation home sits.

Installment sale of a second home, and why 453A rarely bites

If a buyer wants terms, or you want the gain reported over several years, an installment sale under IRC 453 reports the gain as principal is paid.

Spreading $600,000 of gain over three years lowers the cabin example's total tax from $145,720 to $135,780, a difference of $9,940, mostly from keeping more income under the 3.8% threshold and out of the 20% bracket.

The structure matters: a properly designed installment sale has the buyer pay in full at closing, so you are not the bank.

The 453A interest charge does not apply to a personal-use second home. IRC 453A charges interest on the deferred tax of installment obligations from a sale over $150,000 once all your outstanding obligations from the year exceed $5,000,000, and it treats a pledge of the note as a payment.

IRC 453A(b)(3)(A) carves out obligations from the disposition by an individual of personal use property (as defined in IRC 1275(b)(3), property not used in a trade or business or held for the production of income). A cabin you only used yourself qualifies, so neither the interest charge nor the pledge rule applies.

A home you rented out is not personal use property, so the $5,000,000 test applies to it. See the 453A interest charge.

Depreciation. Ordinary recapture under IRC 453(i) is taxed in the year of sale, but a residential rental depreciated straight-line has none; its unrecaptured Section 1250 gain is spread with the payments and taken first (Treas. Reg. 1.453-12). See installment sale tax.

Gifting the second home or holding it until death

Holding until death. Heirs take a basis equal to fair market value at death (IRC 1014). A cabin bought for $300,000 and worth $900,000 at death can be sold by the heirs for $900,000 with no gain, and the rental depreciation recapture goes away with it.

That is why families who plan to keep the place often compare a sale now with holding it. See holding for the step-up.

In California, check how Proposition 19 (2021) limits the parent-child property tax transfer exclusion before you plan a handoff; the exclusion now applies only if the child makes the home a principal residence.

Gifting during life. A gift carries your basis to the child (IRC 1015), so the low basis and the depreciation history move with it. A gift saves no capital gains tax; it moves the tax to the recipient at their rate, and for a gift of property worth more than the annual exclusion you file Form 709.

Reporting the sale, selling costs and a loss

The closing agent sends Form 1099-S. You report the sale on Form 8949 and Schedule D, with depreciation recapture on Form 4797 if the home was ever rented. An installment sale also uses Form 6252. Commissions, transfer taxes and legal fees reduce the amount realized; capital improvements raise basis.

If you sell at a loss and the home was purely personal, the loss is not deductible. If you converted it to a rental, the loss basis is the lower of your adjusted basis or its fair market value on the conversion date (Treas. Reg. 1.165-9(b)(2)), which often erases the loss.

Want it checked against your numbers? Book a free scope call. The full Big Sale Tax Analysis is $5,000 and models a sale, an installment sale, a 1031 and holding side by side. For a quick estimate before that, the Retirement Literacy Foundation has a free second home capital gains calculator.

What to know

The 2008-16 safe harbor requires real rentals at market rent and limits on family use for two years on each side of the exchange, which changes how the home feels to own. Moving in for the exclusion now saves only the share of gain tied to principal-residence years after 2008. Keep rental logs, depreciation schedules and improvement records; without them you cannot prove the basis or the use.

How much tax does this sale cause? A worked example

Married couple, $220,000 of other income, never rented the cabin, $600,000 gain. Same $600,000 gain, but $90,000 of depreciation was claimed during rental years, so that slice is unrecaptured 1250 gain. Owned 10 years: second home 2016 to 2022, principal residence 2022 to 2027.

6 of 10 years are nonqualified use, so 60% of the $600,000 gain ($360,000) is taxable; the other $240,000 is excluded. Same $600,000 gain, reported in three equal $200,000 years (2027 to 2029) through an installment sale in which the buyer pays in full at closing.

Same $220,000 of other income each year; 2028 and 2029 use the latest published tables and are projections.

Engine runPersonal-use cabin, ColoradoSame cabin, rented part of the yearConverted to the main homeSame cabin, gain reported over three years
Filing statusMarried, jointMarried, jointMarried, jointMarried, joint
StateColoradoColoradoColoradoColorado
Tax years1113
Other income (wages, pension, interest) per year$220,000$220,000$220,000$220,000
Long-term capital gain$600,000$510,000$360,000$600,000
Unrecaptured Section 1250 gain (25% max)$0$90,000$0$0
Federal income tax on the sale$97,660$105,131$54,000$90,000
Net investment income tax (3.8%)$21,660$21,660$12,540$19,380
State income tax on the sale$26,400$26,400$15,840$26,400
Total tax caused by the sale$145,720$153,191$82,380$135,780
Effective rate on the gain24.3%25.5%22.9%22.6%
Gain kept after these taxes$454,280$446,809$277,620$464,220

Computed November 21, 2026 by the Big Sale Tax engine (engine.js yearTax): federal brackets, 0/15/20% thresholds and AMT from Rev. Proc. 2026-35 (IR-2026-133, Nov 5 2026) and the One Big Beautiful Bill Act (P.L. 119-21); NIIT under IRC 1411 (thresholds not indexed); state tax from the engine's state table.

"Tax caused by the sale" = tax with the sale minus tax without it. Excludes selling costs, local taxes and estimated-tax timing. Education only.

How much tax would you owe? Run your own numbers

Federal on the sale$97,660
NIIT$21,660
State$26,400
Total tax, held over a year$145,720
Effective rate24.3%
If held one year or less$228,774

2027 federal law from the engine: 0/15/20% brackets (Rev. Proc. 2026-35), 25% cap on unrecaptured 1250 gain, ordinary rates on 1245 recapture, 3.8% NIIT over $200,000 single / $250,000 joint (IRC 1411), AMT, and your state's rules (California on the FTB 2026 schedules, because the 2027 schedule is not published yet).

What was sold and years held only matter in a few states: Washington exempts real estate, Ohio and New Mexico treat a business sale differently, Arizona subtracts 25% for assets bought after 2011 and Oklahoma deducts gain on Oklahoma property held 5 years or more.

Tax shown is the tax caused by the sale. Excludes local taxes other than Maryland's county tax (3.2% used). Tick the active-owner box if you materially participate in the business. Education only.

Free PDF sheet

Long-Term vs Short-Term Capital Gains (2027)

The one-year holding rule, the 2027 0/15/20% thresholds for every filing status, NIIT, recapture, the state layer and a worked $200,000 example: 11 months vs 13 months, and what spreading the gain can save.

Hans Goldstein
Enrolled Agent, admitted to practice before the IRS

By entering your email you agree to receive this sheet and occasional educational emails from Hans Goldstein: Tax & Exit Planning. Unsubscribe anytime.

Frequently asked questions

Do you pay capital gains tax on the sale of a second home?
Yes. The Section 121 exclusion applies only to a principal residence, so a second home's entire gain is taxable at long-term rates if you held it more than a year, plus the 3.8% net investment income tax above the IRC 1411 thresholds and state tax where the home is located.
How is capital gain on the sale of a second home calculated?
Net sale price (price minus commissions and closing costs) minus adjusted basis (purchase price plus closing costs plus capital improvements, minus depreciation if it was rented). The result is a long-term gain if you owned it more than a year, taxed at 0%, 15% or 20%, with rental depreciation taxed at up to 25%.
What is the capital gains tax on a vacation home?
Federal long-term rates are 0%, 15% or 20% (20% starts at $633,600 of taxable income for joint filers in 2027), plus 3.8% net investment income tax above $250,000 joint MAGI, plus state tax. A rented vacation home also has depreciation recapture taxed at up to 25%.
What is the sale of second home tax treatment if I rented it?
Gain up to the depreciation you took or were allowed to take is unrecaptured Section 1250 gain taxed at up to 25%. The rest is long-term capital gain. If you rented it fewer than 15 days a year, there is no depreciation and the rent was never income.
How do I avoid capital gains tax on a second home?
You can reduce or postpone it, not erase it by rule. Options: add every capital improvement to basis, use the Rev. Proc. 2008-16 safe harbor for a 1031 exchange, make it your main home for a partial exclusion, report the gain over several years in an installment sale, or hold it for the basis step-up at death.
Can I move into my second home to avoid capital gains?
Partly. After two years as your principal residence you can exclude gain, but IRC 121(b)(5) keeps the share of gain tied to post-2008 years it was a second home taxable. Ten years owned with six as a second home means 60% of the gain is still taxed.
Can I do a 1031 exchange on a vacation home?
Yes if it was held for investment. Rev. Proc. 2008-16 gives a safe harbor: owned 24 months, rented at fair rent 14 days or more in each of the two prior 12-month periods, and personal use no more than the greater of 14 days or 10% of rental days. The replacement must meet the same tests afterward.
Does the 453A interest charge apply to an installment sale of a second home?
Not if the home was personal use property. IRC 453A(b)(3)(A) exempts obligations from an individual's sale of personal use property from the interest charge and pledge rule. A home you rented out is not personal use property, so the $5,000,000 threshold applies.
Is a loss on the sale of a second home deductible?
Not if the home was used personally. A loss on personal-use property is not deductible. If the home was converted to a rental, a loss can be allowed, but the basis for the loss is the lower of your adjusted basis or the value at conversion, which often wipes it out.
Is depreciation recaptured on a vacation rental?
Yes. Gain up to the depreciation allowed or allowable during rental years is unrecaptured Section 1250 gain taxed at up to 25%, and that slice cannot be excluded even if you later move in and qualify for Section 121.
What is the basis step-up on a second home at death?
Heirs take a basis equal to fair market value on the date of death (IRC 1014), so gain that built up during your life, including rental depreciation recapture, is not taxed if they sell at that value. A lifetime gift instead carries your basis to the recipient (IRC 1015).
How Hans helps: the Big Sale Tax Analysis runs your sale through every path that fits: a cash sale, a Section 453 installment sale, 1031, Opportunity Zones, charitable trusts, timing and loss offsets, year by year, and ends with a written recommendation your CPA can check. Get the Big Sale Tax Analysis.
Next step

Know your number before you sign.

Start with a free scope call: a short call to see whether the Big Sale Tax Analysis is worth it for your sale. No obligation.

Prefer email? Request the analysis by email.

You talk to Hans Goldstein. Enrolled Agent, admitted to practice before the IRS.

Call Hans: 213-340-2018Book a time