Capital Gains on a Second Home (2026)

Posted on Share:

Capitals gains on second home

Get Multiple Cash Offers in Minutes with an iBuyer.com Certified Specialist.


Disclaimer: This article is for informational purposes only and does not constitute tax, legal, or financial advice. Tax rules are complex and fact-specific. Consult a qualified tax professional or CPA before making decisions about your specific situation.

When you sell a second home, the IRS does not allow the primary residence exclusion (up to $250,000 for single filers or $500,000 for married couples filing jointly). Your entire net profit is subject to capital gains tax on second home sales, with federal long-term rates ranging from 0% to 20% depending on your income, plus a potential 3.8% net investment income tax stacked on top for high earners. If you rented the property and claimed depreciation, a separate 25% flat depreciation recapture tax applies on top of those rates.

The rate you pay depends on two things: how long you owned the property and your total taxable income in the year you sell. Properties held one year or less face short-term capital gains rates up to 37%. Properties held more than one year qualify for the lower long-term brackets.

This guide covers what counts as capital gains on a second home, the 2026 federal and state rate tables, two side-by-side worked dollar examples showing exactly how depreciation recapture changes your bill, five tax-avoidance strategies including the 1031 like-kind exchange and primary-residence conversion, and the four most common mistakes second-home sellers make.

Selling Your Second Home on a Deadline? Cash offers close in 7-30 days. Control your tax year and skip the agent commission.

Multiple competing offers, no repairs required, no agent fees.

What Are Capital Gains on a Second Home?

The capital gains tax on second home sales applies to your entire net profit on the transaction. The IRS classifies your second home as a capital asset, which means the full gain is taxable with no shelter from the exclusion that primary home sellers rely on, per IRS rules on capital gains and home sale reporting. You report the gain on Schedule D Form 1040, and any depreciation recapture goes on Form 4797.

The primary residence exclusion doesn’t apply

The Section 121 exclusion allows single filers to exclude up to $250,000 of home sale gain from federal tax, and married filers up to $500,000. This primary residence exclusion requires that you own the property and use it as your main home for at least 24 months of the previous 60-month period. A second home held as a vacation property fails that use test, and the entire gain is taxable.

For the full IRS requirements, IRS Publication 523 covers home sale exclusion rules and reporting in detail.

Second homes are capital assets under the IRS

The IRS treats a second home the same as stocks or bonds for capital gains purposes: a capital asset. Any profit on the sale is taxable in the year the transaction closes. Losses follow a different rule. If you sell a personal-use second home for less than your adjusted cost basis, that loss is not tax-deductible. This is the core distinction in second home vs investment property treatment. Investment property capital losses can offset other gains; personal-use property losses cannot.

Short-term vs. long-term: the one-year cutoff

Your holding period determines your rate. Short-term capital gains apply to properties held one year or less, taxed at ordinary income rates up to 37%. Long-term gains apply to properties held more than one year, taxed at 0%, 15%, or 20% based on total taxable income. The difference on a $165,000 gain can exceed $25,000 in federal tax, making the one-year mark one of the most critical dates in second home tax rules.

Short-Term vs. Long-Term Capital Gains Rates

The long-term capital gains tax rate on your second home depends on your filing status and total taxable income. The table below shows 2026 federal thresholds based on 2025 IRS figures as the current baseline. Verify inflation-adjusted amounts at 2026 federal capital gains tax brackets by income before filing.

2026 long-term capital gains tax rate table

Filing Status Taxable Income Long-Term Rate
Single $0 to $48,350 0%
Single $48,351 to $533,400 15%
Single Over $533,400 20%
Married Filing Jointly $0 to $96,700 0%
Married Filing Jointly $96,701 to $600,050 15%
Married Filing Jointly Over $600,050 20%
Single (NIIT threshold) MAGI over $200,000 +3.8% NIIT
Married Filing Jointly (NIIT threshold) MAGI over $250,000 +3.8% NIIT

Based on 2025 IRS thresholds as the 2026 baseline. The IRS typically releases inflation-adjusted 2026 figures in late 2025. Verify current rates before transacting.

Short-term gains taxed as ordinary income

If you sell a second home you held for one year or less, the full gain is taxed at your ordinary income rate. Most second-home sellers fall in the 22% to 37% federal brackets. A seller in the 24% bracket with a $165,000 gain pays $39,600 in federal tax, compared to $24,750 at the 15% long-term capital gains tax rate. Waiting past the one-year mark before listing can be the highest-return decision available before a sale.

The 3.8% net investment income tax

High-income sellers also owe a 3.8% net investment income tax (NIIT) on second home gains. This applies when your modified adjusted gross income exceeds $200,000 for single filers or $250,000 for married filing jointly. The NIIT is calculated on the lesser of your net investment income or the excess of your MAGI over the threshold. For a seller already in the 20% long-term bracket, the combined federal rate on second home gains reaches 23.8% before any state taxes.

How to Calculate Capital Gains on a Second Home

Selling a second home taxes owed starts with a straightforward formula: net sale proceeds minus adjusted cost basis equals your capital gain. If the property was rented and you claimed depreciation, you calculate the recapture amount separately before applying the capital gains rate.

If you received the property through an estate rather than a direct purchase, note that inherited property basis rules step up the cost basis to fair market value at the date of death, which eliminates the pre-death appreciation gain from your taxable amount entirely.

How to Calculate Capital Gains on a Second Home Sale

  1. Determine Your Adjusted Cost Basis

    Start with the original purchase price shown on your closing disclosure. Add the cost of documented capital improvements, such as additions, a new roof, or an HVAC replacement, then subtract any depreciation claimed while the property was used as a rental.

  2. Calculate Your Net Sale Proceeds

    Take the final sale price and subtract eligible selling expenses, including real estate commissions, transfer taxes, title fees you paid as the seller, attorney fees, and any buyer concessions provided at closing.

  3. Calculate Your Capital Gain

    Subtract your adjusted cost basis from your net sale proceeds. The result is your capital gain. If the result is negative, it is generally considered a capital loss, although losses on personal-use property are typically not deductible.

  4. Separate Depreciation Recapture From Appreciation

    If you previously claimed depreciation while renting the property, calculate the depreciation recapture separately. The remaining gain represents appreciation and may qualify for long-term capital gains tax treatment.

  5. Determine Your Holding Period

    Confirm how long you owned the property. A holding period of more than one year generally qualifies for long-term capital gains tax rates, while one year or less is typically taxed as ordinary income.

  6. Apply the Appropriate Federal Tax Rate

    Use the applicable federal long-term capital gains tax rate based on your taxable income. If your modified adjusted gross income exceeds the applicable threshold, determine whether the Net Investment Income Tax (NIIT) also applies.

  7. Calculate Any State Capital Gains Tax

    Determine whether the state where the property is located taxes capital gains and apply the appropriate state tax rate to estimate your total tax liability.

Step 1: Find your adjusted cost basis

Your adjusted cost basis starts with the original purchase price. Add all documented capital improvements: permanent additions, new roofing, HVAC replacement, and major landscaping qualify. Routine repairs, painting, and maintenance do not raise your basis. If you rented the property and claimed depreciation, subtract the total depreciation taken from the basis figure.

See which home improvements qualify as capital improvements at Investopedia for the full IRS-approved list, including examples of what counts and what does not.

Step 2: Calculate net sale proceeds

Start with your agreed sale price. Subtract all allowable selling costs: agent commissions, transfer taxes, title insurance you paid as the seller, legal fees, and any concessions you granted the buyer at closing. The result is your net sale proceeds.

Step 3: Subtract basis from proceeds

Net proceeds minus adjusted cost basis equals your total capital gain. A negative result means a capital loss. For personal-use second homes, that loss is not tax-deductible.

Worked example A: clean appreciation sale

A second home with no rental history:

Item Amount
Purchase price $300,000
Capital improvements (kitchen remodel, new roof) $40,000
Adjusted cost basis $340,000
Sale price $520,000
Selling costs (commissions, transfer taxes, closing) $15,000
Net proceeds $505,000
Capital gain $165,000
Federal tax at 15% long-term rate $24,750

Worked example B: sale after renting the property

Same purchase and improvement history, but the property was rented for three years. This is where depreciation recapture second home math adds a separate tax layer that many sellers overlook entirely:

Item Amount
Original adjusted basis before depreciation $340,000
Depreciation claimed over 3 rental years ($300,000 / 27.5 x 3) $32,727
Adjusted basis after depreciation $307,273
Net proceeds $505,000
Total capital gain $197,727
Depreciation recapture tax ($32,727 at flat 25%) $8,182
Appreciation gain tax ($165,000 at 15%) $24,750
Total federal tax $32,932

The difference between Example A and Example B is $8,182 in additional federal tax from depreciation recapture alone. That amount is owed at the flat 25% rate regardless of your income bracket.

Depreciation Recapture If You Rented the Property

Depreciation recapture second home obligations apply any time you claimed depreciation deductions during a rental period and then sell. The IRS recovers those tax benefits at a flat rate that does not adjust based on your income level.

What is depreciation recapture?

Depreciation recapture is the IRS mechanism for recovering the tax benefit you received when you wrote off a rental property’s value over time. The total depreciation you deducted during the rental period becomes taxable income when you sell. The recapture is reported on Form 4797, which flows into Schedule D.

For a plain-English explanation of how this works in practice, see how section 1250 depreciation recapture tax works at Nolo.

The 25% flat recapture rate explained

The depreciation recapture rate for residential rental property under IRS Section 1250 is a flat 25%. This rate does not change based on your income bracket. A seller in the 0% long-term capital gains bracket still pays 25% on the recaptured amount. A seller in the 20% bracket also pays 25% on the recaptured amount, then 20% on the remaining appreciation gain separately.

Two sellers with identical properties, identical sale prices, and identical incomes can face meaningfully different federal bills solely because one seller rented the property for a period.

How to calculate your recapture amount

Your recapture amount equals the total depreciation you claimed (or could have claimed) during rental periods. Residential rental property depreciates over a 27.5-year MACRS schedule. Annual depreciation equals your depreciable basis divided by 27.5.

One critical rule: the IRS applies the “allowed or allowable” principle. Even if you forgot to claim depreciation during the rental period, the IRS taxes recapture as if you had taken the deductions. Skipping depreciation on prior returns does not reduce your recapture bill at sale.

What Does the IRS Consider a Second Home?

The IRS applies specific numeric thresholds to classify properties, and those thresholds directly determine which second home tax rules apply to your sale, your available deductions, and your eligibility for tax-deferral strategies.

If you hold the property jointly with a former spouse, divorce-related exceptions to the residency rules may shift your tax treatment. See the guidance on divorce home sale rules for how the Section 121 exclusion applies in that context.

The 14-day personal use rule

The IRS classifies a property as a personal-use second home if you use it personally for more than 14 days per year or more than 10% of the total days you rent it at fair market price, whichever threshold is greater, according to how IRS personal-use days are counted for vacation homes at Bankrate.

Days counted as personal use include your own stays, stays by family members even at below-market rent, and days you exchange the home with another owner.

Second home vs. rental property: key distinction

The second home vs investment property classification is the dividing line for tax treatment at sale. A true investment property is rented at fair market value and used personally for 14 days or fewer (or 10% of total rental days or fewer). A personal-use second home exceeds either of those thresholds.

Key differences at sale: – Capital losses on personal-use second homes are not deductible – Investment property capital losses can offset other capital gains – Personal-use second homes generally do not qualify for a 1031 like-kind exchange – Investment properties that meet the two-year rental test may qualify under IRS Revenue Procedure 2008-16

If you rent the property for fewer than 15 days in a year, you do not report that rental income at all. Renting for more than 14 days triggers Schedule E reporting and requires pro-rating expenses between personal and rental use.

Vacation homes and the 10% rule

Vacation home capital gains treatment follows the same personal-use thresholds. A vacation home rented seasonally may straddle the investment-versus-personal-use line depending on the ratio of personal days to rental days in any given year. The mortgage interest deduction for second homes acquired after December 15, 2017 is capped at $750,000 in combined debt across your primary and second home. Loans originated before December 15, 2017 retain the $1,000,000 combined limit.

Second Home vs. Primary Residence: Tax Differences

The entire difference between selling a second home taxes owed and selling a primary home comes down to one rule: the primary residence exclusion. Understanding when a partial version of that exclusion can apply to a second home is often the highest-value planning move available before a sale.

The Section 121 exclusion and why it doesn’t apply

The Section 121 exclusion shelters up to $250,000 of gain (single filers) or $500,000 (married filing jointly) from federal tax. To qualify, you must own the property and use it as your primary residence for at least 24 months of the previous 60-month period. A second home held purely as a vacation property cannot meet that use test, and the full gain is taxable.

The primary residence exclusion also carries a frequency limit: you can only use it once per 24-month period. For a deeper look at the ownership-period analysis behind this qualification, see primary residence timing rules for how the residency clock works.

When you can convert a second home to primary residence

The conversion strategy works by moving into the second home as your main residence and living there for at least 24 months before selling. Those 24 months do not need to be consecutive, but they must fall within the 60-month window ending on the sale date. The conversion must be fully complete before the sale date, not simply before you list the property.

Partial exclusion for mixed-use periods

Post-2009 nonqualified use rules reduce the exclusion even after a valid conversion. Any period after January 1, 2009 when the property was not your primary residence counts as nonqualified use, and gains from those months remain taxable on a pro-rated basis.

The proportional exclusion formula:

(Qualifying use months / Total ownership months) x Total gain = Excludable portion

Worked example: You owned the property for 60 months (5 years). The first 36 months it was a second home (nonqualified use). The final 24 months you used it as your primary residence. Even with a successful conversion, only 24/60 = 40% of the gain qualifies for exclusion. On a $200,000 total gain, $80,000 is excludable and $120,000 remains taxable.

The longer the nonqualified use period relative to total ownership time, the smaller the effective exclusion. This proportional calculation is the piece most sellers miss when planning a conversion strategy.

How to Avoid Capital Gains Tax on a Second Home

No strategy completely eliminates capital gains tax on second home sales for a true personal-use property. But five approaches can meaningfully reduce your federal and state bill:

  1. Convert to your primary residence. Move in and live there for at least 24 months. You can then claim the Section 121 exclusion ($250,000 single / $500,000 married), though the nonqualified use reduction still applies to the prior years the property was a second home after 2008. This strategy works best when the nonqualified-use period is short relative to your total ownership time.

  2. Use a 1031 like-kind exchange. A 1031 like-kind exchange defers all capital gains when you sell an investment property and reinvest the proceeds into a qualifying replacement property within specific deadlines. Three requirements apply: the property must be held for investment or business use (not personal use); you must identify a replacement within 45 days; you must close on the replacement within 180 days. A personal-use vacation home typically does not qualify. A second home rented as a genuine investment property for at least two years before the exchange may qualify under IRS Revenue Procedure 2008-16. See 1031 exchange eligibility rules for vacation homes at BiggerPockets for the full criteria. Some sellers also explore a buy-back sale arrangement as part of a broader gain-deferral strategy tied to recognition timing.

  3. Use an installment sale to spread gain across years. An installment sale (IRS Form 6252) spreads gain recognition across multiple tax years as the buyer makes payments to you. If a lump-sum sale would push your total income into the 20% long-term capital gains bracket, spreading payments over two tax years can keep each year’s recognized gain in the 15% bracket. The interest component of installment payments is taxed as ordinary income.

  4. Offset gains with capital losses. Capital losses from other asset sales in the same tax year reduce your second-home gain dollar-for-dollar. If you hold loss positions in your investment portfolio, harvesting them in the year of the second-home sale can reduce your net taxable gain by a meaningful amount.

  5. Donate the property to charity. A direct donation of appreciated property to a qualified charity removes the capital gain from your taxable estate entirely. You receive a charitable deduction for the fair market value, and neither you nor the charity pays capital gains tax on the appreciation. A charitable remainder trust provides a structured alternative for high-value properties where you want to retain an income stream from the asset before it transfers.

State Capital Gains Tax on a Second Home

Federal rates are only part of the picture when calculating selling a second home taxes in full. State capital gains taxes apply in the state where the property is located, not where you live, and rates range from 0% to over 13%.

States with no capital gains tax

Nine states impose no income tax and therefore no state capital gains tax on second home sales: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington, and Wyoming. A second home in any of these states limits your total tax exposure to federal rates only.

States with the highest capital gains rates

California taxes capital gains as ordinary income, reaching up to 13.3% for high earners. Other high-burden states include New Jersey (up to 10.75%), Oregon (up to 9.9%), and Hawaii (up to 7.25%). For a full state-by-state comparison, see state capital gains tax rates by state at the Tax Foundation.

A seller in California in the 20% federal long-term bracket faces a combined rate of approximately 37.1% (20% federal + 3.8% NIIT + 13.3% California) on long-term second home gains.

2026 SALT deduction cap and second homes

The SALT deduction cap limits how much you can deduct for combined state income taxes and property taxes on your federal return. Under the 2017 Tax Cuts and Jobs Act, the cap is $10,000 per year for most filers. A proposed 2026 increase would raise the cap to $40,400 for most filers ($20,000 for married filing separately). Confirm whether this increase has been enacted into law before relying on it for tax planning, as it was a legislative proposal at the time of this writing.

If enacted, second-home owners in high-tax states gain additional federal deduction capacity. If the TCJA $10,000 cap remains in place, state taxes above that threshold produce no federal deduction benefit.

Common Tax Mistakes When Selling a Second Home

These four errors show up most often when sellers misapply second home tax rules, and each carries a concrete dollar cost:

  1. Forgetting to track capital improvements. Every documented capital improvement raises your adjusted cost basis and reduces your taxable gain dollar-for-dollar. A $40,000 kitchen addition supported by contractor invoices saves $6,000 in federal tax at the 15% long-term rate. The IRS can disallow undocumented improvements at audit, so retain receipts and building permits at the time work is completed, not years later when you decide to sell.

  2. Missing the depreciation recapture second home calculation. Sellers who rented their property for several years and then converted it to personal use often assume the depreciation issue resolved itself. It did not. The IRS “allowed or allowable” rule means you owe 25% on the accumulated depreciation whether you claimed it on prior returns or not. Pull your prior-year returns and review any Form 4562 filings before estimating your expected tax bill.

  3. Underestimating the NIIT for high earners. The 3.8% net investment income tax applies when your MAGI exceeds $200,000 (single) or $250,000 (married filing jointly). Many sellers calculate their bill at 15% or 20% without including this layer. The correct combined rate is 18.8% or 23.8% for affected sellers. Add state taxes on top, and the effective rate in high-tax states can approach or exceed 37%.

  4. Converting to primary residence too late. The 24-month clock must be fully completed before the sale date. Moving in two months before signing a purchase contract does not satisfy the requirement. If you begin a conversion and then rent the property again before completing 24 months, the qualifying time resets. Plan your conversion start date with your anticipated sale date clearly in mind.

When your capital gains strategy depends on closing before a specific date, whether that’s the end of a tax year, the 180-day deadline on a 1031 exchange, or the final month of your two-year primary-residence conversion, an uncertain traditional sale puts the whole plan at risk. iBuyer.com connects you with vetted cash buyers who compete for your property. No agent commissions cut into the proceeds you’re calculating, no repair contingencies delay the timeline, and closings run as fast as seven days. You choose when your sale closes and which tax year the gain lands in. Compare your cash offers now.

Compare Cash Offers for Your Second Home Keep more of your net proceeds. Cash buyers close in as few as 7 days, any tax year.

No MLS listing, no repair contingencies, no obligations.

Frequently Asked Questions

Does the $250,000 capital gains exclusion apply to a second home?

No. The $250,000/$500,000 Section 121 exclusion does not apply to a second home; it only covers your primary residence. To qualify after conversion, you must own and use the home as your main residence for at least 24 months of the last 60 months before the sale. Even then, gains from nonqualified use periods after 2008 remain taxable on a pro-rated basis.

How much capital gains tax do I pay on a second home?

You pay 0%, 15%, or 20% in federal long-term capital gains tax on second home sales in 2026, depending on your taxable income and filing status. Short-term gains on property held one year or less are taxed at ordinary income rates up to 37%. High-income sellers with MAGI above $200,000 (single) or $250,000 (married) also owe an additional 3.8% NIIT, making the potential top federal rate 23.8%.

How do you calculate capital gains on a second home sale?

Subtract your adjusted cost basis from your net sale proceeds to calculate your capital gain on a second home. The adjusted cost basis equals your purchase price plus capital improvements minus any depreciation previously claimed. If the property was rented, the depreciation recapture amount is taxed separately at a flat 25%, while the remaining appreciation gain is taxed at 0%, 15%, or 20%.

How do you avoid capital gains tax on a second home?

You cannot eliminate capital gains tax on a second home without converting it to your primary residence and living there for at least 24 months. Other strategies include a 1031 like-kind exchange if the property qualifies as investment property, offsetting gains with capital losses from other assets in the same tax year, or using an installment sale to spread gain recognition across multiple years and stay in a lower rate bracket.

What does the IRS consider a second home?

The IRS classifies a property as your second home if personal use exceeds 14 days per year or 10% of total rental days, whichever is greater. Renting for fewer than 15 days per year means you do not report that rental income at all. Renting for more than 14 days triggers Schedule E reporting requirements and requires pro-rating all expenses between personal and rental use.

What is depreciation recapture and does it apply to my second home?

The IRS taxes previously claimed rental depreciation at a flat 25% rate when you sell a second home that had a rental period. Even if you forgot to claim depreciation during the rental years, the IRS applies the “allowed or allowable” rule and taxes the recapture as if the deductions had been taken. The recapture is reported on Form 4797 and flows into Schedule D.

Can I do a 1031 exchange on my second home?

Generally no, because a 1031 exchange requires investment or business use, and a personal-use second home does not typically qualify. A second home rented as a genuine investment property for at least two years before the exchange may qualify under IRS Revenue Procedure 2008-16. The exchange also requires a 45-day replacement property identification window and a 180-day closing window.

Do I owe capital gains tax if I sell a second home at a loss?

No. If you sell a second home below your adjusted cost basis, the resulting loss is not tax-deductible for personal-use property. This contrasts with investment property, where capital losses can be deducted against other capital gains. If the property had a rental-use period, the loss attributable to the rental-use portion may be partially deductible.

When does the 3.8% net investment income tax apply to a second home sale?

The 3.8% NIIT applies to second home gains when your MAGI exceeds $200,000 (single filers) or $250,000 (married filing jointly) in the year of sale. The tax is calculated on the lesser of your net investment income or the amount by which your MAGI exceeds the threshold. For a seller in the 20% long-term bracket, the combined federal rate reaches 23.8% before state taxes.

How do I report the sale of a second home on my taxes?

Report the sale on Schedule D (Form 1040), using Part I for short-term gains and Part II for long-term gains. If depreciation recapture applies, also file Form 4797. An installment sale requires Form 6252 as well. The sale must be reported in the tax year the transaction closes, regardless of when payment is received.

Can converting a second home to a primary residence eliminate the capital gains tax?

Partially. The Section 121 exclusion applies after conversion, but post-2008 gains from the prior years as a second home remain taxable on a pro-rated basis. For a 10-year ownership with 6 years as a second home and 4 years as primary residence, 60% of the total gain remains taxable even after a successful conversion.

What state taxes do I owe when selling a second home?

State capital gains taxes on a second home are owed where the property sits, not where you live, with rates from 0% to 13.3% in California. Nine states impose no income tax: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington, and Wyoming. The 2026 SALT deduction cap limits how much of those state taxes you can deduct on your federal return.

Does the two-year residency rule have to be consecutive?

No. The required 24 months of primary-residence use can be split, as long as all 24 months fall within the previous 60-month period. You could live in the home for 12 months, rent it for 24 months, then return for 12 months and still qualify, provided all qualifying months fall within the 60-month window ending on the sale date.

Sell Smart, Sell Fast with iBuyer.com
Discover Your Home’s Value in Minutes.