Do You Pay Capital Gains on a Second Home? Rates, Recapture, and Exclusions

Yes, you generally owe capital gains tax on a second home when you sell it at a profit. The exclusion that wipes out up to $250,000 of gain for single filers, or $500,000 for married couples filing jointly, is reserved for a principal residence, so capital gains tax on a second home applies to the full profit unless you qualify for a specific deferral or partial exclusion.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence What you actually pay depends on three things: how long you held the property, how you used it, and whether you ever claimed depreciation.

Figuring Out the Gain

Your taxable gain is the amount realized minus your adjusted basis. Both numbers deserve attention, because every dollar you can add to basis or subtract from the sale price is a dollar that doesn’t get taxed.

Basis starts with what you paid for the property, including closing costs like title insurance, recording fees, and legal fees from the purchase. It goes up for capital improvements, projects that add value, extend the property’s useful life, or adapt it to a new use. A new roof, an added deck, a new HVAC system, or a finished basement all qualify. Routine maintenance and repairs do not. The IRS draws the line based on whether the work is a betterment, a restoration, or an adaptation.2Internal Revenue Service. Tangible Property Final Regulations Repainting a bedroom is maintenance; a gut kitchen remodel is an improvement. Keep receipts, because years later those records reduce what you owe.

Basis goes down for depreciation if you rented the property. The IRS reduces your basis by the amount you were entitled to deduct over the 27.5-year recovery period, not just what you actually claimed.3Office of the Law Revision Counsel. 26 USC 168 – Accelerated Cost Recovery System Skipping the deduction on your returns doesn’t protect your basis.

On the other side, the amount realized is your sale price minus selling expenses. Real estate commissions, advertising costs, legal fees, transfer taxes, and buyer-side charges you absorb all reduce the amount realized.4Internal Revenue Service. Publication 523, Selling Your Home Commissions alone often run 5% to 6% of the sale price, so this piece matters.

The 2026 Capital Gains Rates

How long you owned the property decides the rate. The dividing line is one year.5Internal Revenue Service. Topic No. 409, Capital Gains and Losses

Hold the property a year or less and the gain is short-term, taxed at your ordinary income rates. Most second-home sellers held the property longer than that, so the gain qualifies for long-term rates. For tax year 2026, those rates are:6Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026

  • 0% on taxable income up to $49,450 single or $98,900 married filing jointly.
  • 15% on taxable income from $49,451 to $545,500 single, or $98,901 to $613,700 joint.
  • 20% above $545,500 single or $613,700 joint.

Most second-home sellers land in the 15% bracket. Keep in mind that the gain itself counts as taxable income when figuring which bracket applies, so a large profit on a long-held property can push part of the gain into the 20% tier even when your salary alone wouldn’t.

Depreciation Recapture If You Rented It Out

If the property was a rental and you claimed depreciation, the IRS splits your gain into two pieces at sale, and each piece is taxed differently.

The first piece equals the depreciation you claimed, or were entitled to claim, over the years you owned it. That amount is recaptured and taxed at a maximum rate of 25%. The recaptured amount is the lesser of your total gain or the total depreciation deducted. The second piece is whatever gain is left after that, attributable to market appreciation, and it gets taxed at the standard long-term rates of 0%, 15%, or 20%.5Internal Revenue Service. Topic No. 409, Capital Gains and Losses

This is the sting of rental ownership. The annual depreciation deduction shelters rental income while you own the property, but every dollar claimed comes back at a 25% maximum rate when you sell. Owners who held a rental for 15 or 20 years can face a large recapture bill even if the appreciation portion of the gain is modest.

One boundary worth noting: if you rented the property for 14 days or fewer during a year, or didn’t rent it at all, the IRS treats that year as personal use.7Internal Revenue Service. Topic No. 415, Renting Residential and Vacation Property A pure vacation home with no rental history has no depreciation to recapture, which keeps the sale math simple.

The 3.8% Net Investment Income Tax

Higher-income sellers face an additional 3.8% surtax. The Net Investment Income Tax applies to the lesser of your net investment income or the amount your modified adjusted gross income exceeds $200,000 for single filers or $250,000 for joint filers.8Internal Revenue Service. Net Investment Income Tax Those thresholds are fixed by statute and don’t adjust for inflation, so more sellers cross them each year.9Internal Revenue Service. Questions and Answers on the Net Investment Income Tax

The gain from selling a second home counts as net investment income. For a seller in the top bracket who also owes the NIIT, the effective federal rate on the appreciation piece reaches 23.8%. Stack that on top of 25% maximum recapture on the depreciation piece, and the federal bill on a long-held rental can be significant before state taxes enter the picture.

Ways to Reduce or Defer the Tax

A handful of provisions can shrink the bill, but each has specific requirements.

Moving In Before You Sell

Some owners try to unlock the primary residence exclusion by moving into the second home. You need to own and use it as your principal residence for at least two of the five years before the sale to qualify for any exclusion.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence

Even if you meet the two-year requirement, the exclusion is reduced for periods of “nonqualified use.” Any time after December 31, 2008, during which the property was not your principal residence counts as nonqualified use, and the exclusion is prorated based on the ratio of qualified use to total ownership time after 2008. Own a vacation home for 10 years after 2008, then move in for 2 years before selling, and only 2 of 12 years count as qualified use. Roughly one-sixth of the gain is eligible for the exclusion (capped at $250,000 or $500,000), and five-sixths is fully taxable. Depreciation claimed during any rental period still comes back at the 25% maximum rate; the proration only touches the appreciation portion.

Partial Exclusion for an Unplanned Sale

If you converted the second home into your primary residence but had to sell before hitting two years, you may qualify for a reduced exclusion when the sale is triggered by a change in employment, health reasons, or certain unforeseen circumstances.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence The partial exclusion is prorated based on how far you got toward the two-year requirement. A 15-month stay before a qualifying job relocation yields 15/24 of the full exclusion, which is roughly $156,250 for a single filer. A sale for ordinary financial reasons doesn’t qualify.

1031 Like-Kind Exchange

A Section 1031 exchange defers capital gains tax when you reinvest the proceeds in another investment property. You’re pushing the bill into the future, not erasing it.10Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment Both the property you sell and the one you buy must be held for productive use in a business or for investment. A purely personal vacation home doesn’t qualify, but there’s a safe harbor: if you rented the property at fair market value for at least 14 days in each of the two years before the exchange, and personal use stayed at or below the greater of 14 days or 10% of the rental days in each of those years, the property qualifies.11Internal Revenue Service. Revenue Procedure 2008-16, Safe Harbor for Dwelling Unit Qualification Under Section 1031

The deadlines are strict. You have 45 days from the sale to identify potential replacement properties in writing, and 180 days to close (or by the due date of that year’s tax return, whichever is earlier).12Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031 A qualified intermediary must hold the proceeds during the exchange period. Touch the money directly and the exchange fails, making the full gain taxable immediately. Setting up the intermediary before the closing day is where casual investors most often slip up.

Inheriting Instead of Buying

If you inherited the second home rather than purchased it, the math changes entirely. The basis of inherited property resets to the fair market value on the date of the prior owner’s death.13Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent This stepped-up basis effectively erases decades of appreciation for tax purposes, along with any depreciation the prior owner claimed. Selling soon after inheriting often minimizes the tax bill, because the property hasn’t had time to appreciate much beyond the reset value. The longer you wait, the more fresh gain accumulates on top of that stepped-up basis.

What If You Sell at a Loss

Not every sale produces a profit, and how the loss is treated depends on how you used the property.

A loss on a purely personal-use second home is not deductible. The IRS does not allow capital loss deductions on personal-use property, and the loss doesn’t count toward the $3,000 annual capital loss deduction that applies to investment losses.14Internal Revenue Service. What if I Sell My Home for a Loss The loss simply disappears.

A loss on a pure rental generally qualifies for Section 1231 treatment. When your Section 1231 losses for the year exceed your Section 1231 gains, the net loss is treated as an ordinary loss that can offset wages and other income.15Internal Revenue Service. Publication 544, Sales and Other Dispositions of Assets For a mixed-use property, only the loss attributable to the rental portion is deductible.

State Taxes on Top

Federal tax is only part of the bill. Most states also tax capital gains as income. About eight states impose no state income tax on capital gains, while the rest tax it at rates ranging roughly from 2.5% to over 13%. A few states treat capital gains more favorably than ordinary income, but most do not. Where you live and where the property sits both matter, and some states also impose transfer taxes on the sale itself, though those are typically small compared to the income tax on the gain.

Reporting the Sale

The closing agent generally files Form 1099-S reporting the sale proceeds, so the IRS already knows the transaction happened. You report the sale on Schedule D (Form 1040) and Form 8949, where you lay out the purchase date, sale date, amount realized, and adjusted basis.16Internal Revenue Service. Topic No. 701, Sale of Your Home If you owe the Net Investment Income Tax, that goes on Form 8960.17Internal Revenue Service. Topic No. 559, Net Investment Income Tax For a rental, depreciation recapture is calculated as part of Form 4797. If payments stretch over multiple years in an installment sale, you report the gain over time on Form 6252 rather than all at once. The IRS cross-references the 1099-S against your return, and a missing sale is an easy audit trigger.