Capital Gains on Vacation Home: Rates, Recapture, and Exclusions

When you sell a vacation home, the federal government taxes your profit as a capital gain. Capital gains tax on a vacation home applies to the difference between what you net from the sale and your adjusted cost basis in the property, and unlike a primary residence, a second home does not automatically qualify for the $250,000 (single) or $500,000 (married filing jointly) exclusion under Internal Revenue Code Section 121.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence What you owe depends on how long you held the home, whether you ever rented it, and whether you moved into it before selling.

Figuring the Gain That Gets Taxed

Your taxable gain is the amount realized on the sale minus your adjusted basis. The amount realized is the sale price reduced by selling expenses such as real estate commissions, advertising, and seller-paid closing costs.

Basis starts with what you paid for the property, including title insurance, legal fees, recording fees, and transfer taxes at the original closing. Capital improvements add to basis over the years you owned the home: a new roof, added deck or bathroom, central air, a new driveway, a remodeled kitchen. Anything that adds value, extends useful life, or adapts the property to a new use qualifies. Routine repairs like painting, patching, and replacing broken hardware do not.2Internal Revenue Service. Publication 523, Selling Your Home Keep the receipts. Every documented improvement dollar is a dollar of gain the IRS cannot tax.

If the property was ever rented, basis has to be reduced by depreciation, covered further down.

The Rate You’ll Pay on the Gain

Two things set the rate: how long you owned the home and how much income you have in the year of sale.

Held one year or less, the gain is short-term and taxed at your ordinary income rates. Held longer than one year, it qualifies for long-term capital gains rates of 0%, 15%, or 20%.3Internal Revenue Service. Topic No. 409, Capital Gains and Losses

For 2026, the long-term brackets by filing status are:

  • 0% rate: taxable income up to $49,450 (single), $98,900 (married filing jointly), or $66,200 (head of household).
  • 15% rate: income above those figures up to $545,500 (single), $613,700 (married filing jointly), or $579,600 (head of household).
  • 20% rate: income above the 15% ceilings.

Most vacation-home sellers land in the 15% bracket. A large gain can push part of the profit into the 20% tier for that year.

The 3.8% Surtax

Higher-income sellers owe an additional 3.8% Net Investment Income Tax. It applies to the lesser of your net investment income or the amount your modified adjusted gross income exceeds $200,000 (single), $250,000 (married filing jointly), or $125,000 (married filing separately).4Internal Revenue Service. Topic No. 559, Net Investment Income Tax A vacation-home gain counts as net investment income, so a seller in the 20% bracket can face an effective federal rate of 23.8% before state tax. Any gain excluded under Section 121 is exempt from the surtax.5Internal Revenue Service. Net Investment Income Tax

If You Ever Rented the Home: Depreciation Recapture

Renting the property, even part of the year, changes the math at sale. During any rental period, the IRS requires you to depreciate the structure (not the land) over 27.5 years on the straight-line method. That depreciation reduces your basis and raises the eventual gain, and it does so whether or not you actually claimed the deductions. The IRS calculates gain as if you had taken every allowable deduction.

The portion of your gain attributable to that depreciation is called unrecaptured Section 1250 gain, and it is taxed at a maximum federal rate of 25%, separate from the rest of the capital gain.6Office of the Law Revision Counsel. 26 USC 1250 – Gain From Dispositions of Certain Depreciable Realty

A quick example. You sell with a $150,000 total gain, and $40,000 of that traces back to depreciation you claimed during rental years. That $40,000 is taxed at up to 25%. The remaining $110,000 is taxed at your long-term rate.

There is one silver lining if you accumulated losses during rental years. Rental income is passive by default, and passive losses generally only offset other passive income.7Internal Revenue Service. 2025 Instructions for Form 8582 – Passive Activity Loss Limitations When you dispose of your entire interest in the rental activity, any suspended losses are released. They first offset the sale gain, and any leftover can reduce other income, including wages.

Converting to a Primary Residence Before Selling

The most common way to shrink the tax is to move into the vacation home and claim the Section 121 exclusion when you sell. To get the full exclusion, you must own the home and use it as your principal residence for at least two of the five years before the sale. Both tests must be met, and the exclusion can be used repeatedly, though no more than once every two years.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence

Meeting the two-year test does not automatically shelter the entire gain, however. The nonqualified use rule limits how much a former vacation home can benefit.

Nonqualified Use

Any period after December 31, 2008, when the property was not your principal residence counts as nonqualified use, and the gain allocated to those years cannot be excluded.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence The allocation is a ratio: nonqualified-use days divided by total days of ownership, applied to the total gain. That portion is fully taxable, exclusion or not.

Time after you move out of the home does not count as nonqualified use if it falls within the five-year lookback.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence What the rule targets is time before you moved in. Depreciation from any rental period must be carved out first and taxed as recapture; that piece never benefits from the exclusion.

Three exceptions exist. Military, intelligence, and Peace Corps personnel can suspend the nonqualified-use clock for up to 10 years of qualified extended duty. Temporary absences totaling up to two years for job relocation, health, or unforeseen circumstances also do not count.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence

Partial Exclusion Without the Full Two Years

If you converted the home but sold before hitting two years, a partial exclusion is still available when the sale was prompted by a workplace change, a health condition, or an unforeseen event. Qualifying triggers include a new job at least 50 miles farther from the home than the old workplace, a doctor-recommended move, a disaster-destroyed home, divorce, or the birth of multiples from the same pregnancy.8Internal Revenue Service. Publication 523, Selling Your Home The excluded amount is prorated by how much of the two-year period you completed.

Other Ways to Defer or Reduce the Tax

Section 1031 Like-Kind Exchange

If the vacation home has been rented enough to count as investment property, you can swap it for another investment property and defer the gain. The IRS safe harbor under Revenue Procedure 2008-16 requires that in each of the two years before the exchange, you rented the property at fair market value for at least 14 days and kept personal use to no more than 14 days or 10% of total rental days, whichever is greater.9Internal Revenue Service. Revenue Procedure 2008-16

The deadlines are strict. You must identify replacement properties within 45 days of closing on your sale, and complete the purchase within 180 days (or by your tax return due date, if earlier).10Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment A qualified intermediary must hold the funds between closings; touching the money kills the exchange. You must reinvest all net proceeds and replace any debt relief to defer the whole gain. Any shortfall, called boot, is immediately taxable. A 1031 defers tax, not eliminates it: your old basis carries into the new property, and the gain waits there for a future sale.

Installment Sales

If the buyer pays over several years instead of at closing, Section 453 lets you spread the gain across the payment years.11Office of the Law Revision Counsel. 26 USC 453 – Installment Method Only the gain attributable to the payments you receive in a given year is taxed that year, which can keep you in a lower bracket and limit NIIT exposure. The trade-off is that you act as lender and take the buyer’s credit risk.

Holding Until Death

For owners who don’t need to sell during their lifetime, holding the property until death is the most tax-efficient outcome. Under Section 1014, heirs receive the property with a basis equal to fair market value on the date of death, eliminating unrealized capital gain entirely.12Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent A home bought for $200,000 and worth $600,000 at death passes with a $600,000 basis and no capital gains tax. Estate tax may apply for very large estates.

State Tax Adds to the Bill

Federal is only part of what you owe. Most states tax capital gains as ordinary income, with top rates ranging from 0% in states with no income tax to over 13% in the highest. A few states offer partial deductions or preferential long-term rates. Where the home is located and where you live can each create a tax claim, and some sellers owe both. Check both states’ rules before estimating your total, because state tax can add five or more percentage points to your effective rate.

Forms to File

Reporting a vacation-home sale usually involves several forms:

Basis errors and nonqualified-use miscalculations are the most common filing mistakes on these sales. Worksheet 3 in Publication 523 walks through the nonqualified-use ratio step by step and is worth working through even if you use tax software.8Internal Revenue Service. Publication 523, Selling Your Home