Capital Gains on a Second Home or Vacation Home: What You Owe in 2027
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 it | Home sale exclusion | Depreciation to recapture | Loss on sale | 1031 exchange |
|---|---|---|---|---|
| Personal use only | No | None | Not deductible | No (not held for investment) |
| Rented fewer than 15 days a year | No | None; the rent is not income (IRC 280A(g)) | Not deductible | No |
| Mixed: rented 15+ days, personal use above the greater of 14 days or 10% of rental days (IRC 280A(d)(1)) | No | Yes for the rental share, with deductions limited to rental income (IRC 280A(c)(5)) | Rental share only | Possible under the Rev. Proc. 2008-16 safe harbor |
| Rental with limited personal use | No | Yes, up to 25% | Deductible as a business or investment loss | Yes |
| Converted to your main home | Partial (IRC 121(b)(5)) | Yes, taxed regardless (IRC 121(d)(6)) | Not deductible | Rarely |
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 run | Personal-use cabin, Colorado | Same cabin, rented part of the year | Converted to the main home | Same cabin, gain reported over three years |
|---|---|---|---|---|
| Filing status | Married, joint | Married, joint | Married, joint | Married, joint |
| State | Colorado | Colorado | Colorado | Colorado |
| Tax years | 1 | 1 | 1 | 3 |
| 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 gain | 24.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
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.
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.
Frequently asked questions
Do you pay capital gains tax on the sale of a second home?
How is capital gain on the sale of a second home calculated?
What is the capital gains tax on a vacation home?
What is the sale of second home tax treatment if I rented it?
How do I avoid capital gains tax on a second home?
Can I move into my second home to avoid capital gains?
Can I do a 1031 exchange on a vacation home?
Does the 453A interest charge apply to an installment sale of a second home?
Is a loss on the sale of a second home deductible?
Is depreciation recaptured on a vacation rental?
What is the basis step-up on a second home at death?
Sources
- IRC 121 (Cornell LII)
- Rev. Proc. 2008-16 (IRS)
- IRC 280A (Cornell LII)
- IRC 1 rates (Cornell LII)
- IRC 1411 (Cornell LII)
- IRS Publication 527, Residential Rental Property
- IRS Publication 523, Selling Your Home
- Rev. Proc. 2026-35 (IRS)
- IRC 453 (Cornell LII)
- IRC 453A (Cornell LII)
- IRC 1275 (Cornell LII)
- IRC 469 (Cornell LII)
- IRC 1014 (Cornell LII)
- IRC 1015 (Cornell LII)
- Rev. Rul. 2004-86 (IRS)
- Treas. Reg. 1.453-12 (Cornell LII)
Figures as of October 15, 2026; each rate and limit above names its source and year. Education only, not legal or tax advice.
Keep reading
Home sale over the exclusion
For long-time owners whose gain beats $250,000 or $500,000: what is excluded, what is taxed, and the rules that move the line.
ReadRental property
How a rental sale is really taxed: the 25% depreciation layer, the losses the sale finally frees, the 3.8% tax, and why moving in first rarely helps.
ReadAdjusted basis
How to build adjusted basis from your records, what goes in and what never does, inherited versus gifted basis, partnership and S corporation basis, and what a
Read1031 exchange
Defer the whole gain by trading investment real estate for more real estate, if you can find it and close inside 180 days.
ReadSection 121 plus 1031
A former home that became a rental can use both the home sale exclusion and a 1031 exchange on the same sale under Rev. Proc. 2005-14.
ReadInstallment sale (Section 453)
Report the gain as the buyer pays you instead of all in the year of sale, under rules that have been in the tax code for decades.
ReadKnow 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.