Capital Gains on a Second Home Sale
The Internal Revenue Service allows homeowners to exclude up to $250,000 (or $500,000 if married filing jointly) in capital gains on a second home sale—but only if it was their primary residence. A vacation home, second residence, or investment property does not qualify; all gains are taxable at long-term capital gain or short-term rates depending on how long you owned it.
The primary residence exemption does not cover vacation homes
Under Section 121 of the Internal Revenue Code, a homeowner can exclude capital gains on the sale of a home if:
- They owned the home for at least 2 of the last 5 years.
- They lived in it as their primary residence for at least 2 of the last 5 years.
- They have not used this exclusion within the last 2 years.
The limit is $250,000 for single filers and $500,000 for married couples filing jointly. A homeowner who buys a primary residence for $300,000 and sells it for $650,000 owes tax on only $150,000 of the gain ($650,000 sale price minus $300,000 purchase price, minus $250,000 exclusion). This exclusion is one of the broadest tax breaks in the U.S. tax code.
A second home does not qualify. If the house was never your primary residence—or only for fewer than two of the past five years—the exemption is unavailable. All gains are taxable.
What counts as a primary residence
The IRS looks at facts and circumstances, not title or intention. If you own a beach house that you occupy only two weeks per year while maintaining a primary residence elsewhere, the beach house is clearly a second home. No exclusion applies.
But the boundary can blur. If you own two homes and shift which one you declare as primary, the IRS requires you to choose based on actual use and facts. The agency scrutinizes moves made solely to claim two exclusions in close succession or to avoid capital gains tax.
One permitted exception: you can claim the exclusion, sell, then designate a different home as primary and claim another exclusion two years later. But you cannot claim the same home twice or use it to shelter gains on a rental property that you briefly occupied.
Calculating the taxable gain on a second home
Step 1: Determine cost basis. This is your purchase price plus the cost of any capital improvements (renovations, additions, a new roof). Repairs that maintain value—painting, fixing broken windows—do not add to basis. Neither do closing costs at purchase, property taxes, or interest expense (though mortgage interest may be deductible when you own the home).
Step 2: Calculate the realized gain. Sale price minus cost basis equals the realized gain.
Example: You buy a vacation cabin for $200,000. Ten years later, you spend $40,000 replacing the foundation and adding an insulated addition. Your adjusted cost basis is $240,000. You sell the cabin for $450,000.
Realized gain: $450,000 (sale price) − $240,000 (adjusted cost basis) = $210,000.
Step 3: Determine holding period. If you owned the cabin for more than one year, the gain is long-term. If less than one year, it is short-term.
Step 4: Apply tax rates. Long-term capital gains are taxed at preferential rates: 0%, 15%, or 20%, depending on income level. Short-term gains are taxed as ordinary income, up to 37% federal plus state income tax.
In the cabin example, with a long-term gain of $210,000, a single filer in the 24% tax bracket would owe $210,000 × 15% = $31,500 federal tax, plus any state tax (California would add 13.3%, for instance).
Losses and second-home sales
If you sell a second home at a loss, you cannot deduct the loss. The IRS disallows capital losses on personal-use property. A primary residence loss is also not deductible, but the distinction matters less because the gain exclusion already covers most primary-home scenarios.
If a second home declines in value and you are considering selling, tax-loss harvesting is unavailable as a consolation. The economic loss is simply not recoverable via the tax code.
Investment property and depreciation recapture
If you converted the second home to a rental—or bought it as a rental outright—depreciation enters the picture. Rental properties can be depreciated, reducing taxable income while you own them. But when you sell, the IRS requires you to recapture that depreciation through a special depreciation recapture tax.
Depreciation recapture is taxed at 25%, not the long-term capital gains rate. If you claimed $100,000 in depreciation deductions over ten years and sell the rental home for a $300,000 gain:
- $100,000 gain is subject to 25% recapture tax: $25,000
- $200,000 gain is long-term capital gains at 15%: $30,000
- Total tax: $55,000
Rental property depreciation recapture makes pure rental homes less tax-efficient than primary residences, but the deductions during the ownership period often compensate if the property generates steady cash flow.
State and local taxes on second-home sales
Federal tax is only part of the picture. Many states tax capital gains. California taxes long-term gains as ordinary income at rates up to 13.3%. New York adds a state capital gains tax of up to 8.82%. Some states impose no state income tax (Florida, Texas, Washington) but may have alternative taxes.
A $210,000 gain on a second home in California could owe $31,500 federal plus $27,930 state, for a combined 28.3% tax rate—well above the federal 15% long-term rate alone.
Timing sales: short-term versus long-term
If you are close to the one-year holding threshold, waiting a few months to cross into long-term capital gains territory can save significantly. A $210,000 gain taxed at short-term rates (37% federal plus state) versus long-term rates (15% plus state) could mean $50,000+ in tax savings.
Conversely, if you are exiting a declining market, accepting short-term treatment may be worth it to close the sale quickly and avoid further loss.
Reporting the sale
Second-home gains are reported on Form 8949, which feeds into Schedule D of your Form 1040. The IRS cross-references sale proceeds with the title company’s 1099-S form, so misreporting is easily flagged.
Keep detailed records of cost basis, improvements, and the sale transaction. The burden of proof is on the taxpayer if the IRS audits.
See also
Closely related
- Long-term capital gains tax — preferential rates and income thresholds
- Cost basis — how to calculate and adjust basis for second homes
- Depreciation recapture — special tax on rental home depreciation
- Schedule D — form for reporting capital gains and losses
- Form 8949 — detailed gain/loss reporting for securities and real estate
Wider context
- Capital gains tax — overview of gain taxation and eligibility rules
- Tax bracket — how income level affects your capital gains rate
- Primary residence exclusion — the full Section 121 exemption rules
- Residential real estate — market and financing perspectives on second homes