What Are the Tax Consequences of Selling a Second Home?

The tax consequences of selling a second home start with capital gains tax on your profit, and unlike the sale of a primary residence, no automatic exclusion shelters the first $250,000 or $500,000. For 2026, long-term gains are taxed at 0%, 15%, or 20% depending on your income, with a 3.8% surtax layered on top for higher earners. What you actually owe depends on how long you owned the property, whether you ever rented it out, what you spent improving it, and what state you’re in.

What Rate Applies to Your Gain

Holding period controls the rate. Sell within a year of buying and the profit is a short-term capital gain, taxed at your ordinary income tax rate.1Internal Revenue Service. Topic No. 409, Capital Gains and Losses Hold longer than a year and you qualify for the long-term rates.

For 2026, the long-term brackets work like this:

  • 0% for single filers with taxable income up to $49,450, or married couples filing jointly up to $98,900.
  • 15% for single filers between $49,450 and $545,500, or married couples between $98,900 and $613,700.
  • 20% above those thresholds.

The brackets apply to your total taxable income for the year, not the gain alone. A large sale can push you up a tier, so a seller who would normally sit in the 0% band often finds the gain itself taxed at 15%.

High earners owe an additional 3.8% Net Investment Income Tax when modified adjusted gross income exceeds $200,000 for single filers or $250,000 for married couples filing jointly.2Internal Revenue Service. Net Investment Income Tax Those thresholds are not adjusted for inflation, so they reach more sellers each year. Someone in the 20% bracket who also owes the surtax pays 23.8% federally on the gain.

How the Taxable Gain Is Calculated

Your gain is not sale price minus purchase price. The IRS compares your adjusted basis to your amount realized, and both numbers move once you account for what you spent on the property and what selling cost you.

Adjusted Basis

Start with what you paid. Add the closing costs from the purchase: title insurance, recording fees, transfer taxes, and legal fees tied to the acquisition.3Internal Revenue Service. Publication 551 – Basis of Assets That total is your initial cost basis.

Then add capital improvements made during ownership. The IRS draws a firm line between improvements and repairs. A new roof, a kitchen renovation, a deck, rewiring, or central air all count as improvements that raise basis. Routine maintenance like painting, patching drywall, or fixing a leak does not.3Internal Revenue Service. Publication 551 – Basis of Assets Every dollar of qualifying improvement reduces your taxable gain, which is why keeping receipts through years of ownership matters.

If you rented the property and claimed depreciation, those deductions come off your basis.

Amount Realized

From the gross sale price, subtract selling expenses: real estate agent commissions, legal fees, advertising, escrow fees, title search fees, and transfer taxes at closing.4Internal Revenue Service. Publication 523 – Selling Your Home Commissions alone typically run 5% to 6% of the price, so this is often a large reduction. The result is your amount realized, and the difference between it and your adjusted basis is your gain.

Depreciation Recapture If You Ever Rented It Out

If the second home was rented at any point, you almost certainly took depreciation deductions, and the IRS reclaims part of that benefit at sale. The maximum rate on unrecaptured Section 1250 gain, which is the technical name for depreciation recapture on real property, is 25%.5Office of the Law Revision Counsel. 26 U.S. Code 1 – Tax Imposed It applies to all depreciation you claimed, or were entitled to claim even if you didn’t.6Office of the Law Revision Counsel. 26 USC 1250 – Gain From Dispositions of Certain Depreciable Realty Skipping the deduction during rental years does not spare you the recapture.

The math splits the gain in two. If you bought a rental condo for $300,000, claimed $50,000 in depreciation, and sold for $400,000, your adjusted basis is $250,000 and your total gain is $150,000. The first $50,000 is taxed at up to 25%; the remaining $100,000 is taxed at your long-term capital gains rate. Accurate depreciation schedules from prior returns are essential to split it correctly.

Selling at a Loss

Whether a loss is deductible depends entirely on how the property was used. A loss on a personal-use vacation home is not deductible; the IRS is explicit that losses from the sale of personal-use property cannot offset other income or gains.1Internal Revenue Service. Topic No. 409, Capital Gains and Losses Federal law limits individual loss deductions to property used in a trade or business, property held in a profit-seeking transaction, or certain casualty and theft losses.7GovInfo. 26 USC 165 – Losses

If the property was a rental, the loss generally is deductible because it qualifies as property held for profit.8Internal Revenue Service. Capital Gains, Losses, and Sale of Home Rental losses can offset other capital gains, and up to $3,000 of net capital losses can offset ordinary income each year, with the excess carrying forward.

Ways to Reduce or Defer the Tax

Convert It to Your Primary Residence First

The Section 121 exclusion lets you exclude up to $250,000 of gain, or $500,000 for married couples filing jointly, when selling a primary residence.9Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence To qualify, you must have owned the property and used it as your main home for at least two of the five years before the sale. The two years need not be consecutive. For the $500,000 amount, both spouses must meet the use test, and one must meet the ownership test.

Moving in doesn’t wipe out the years the property served another purpose. The IRS allocates gain to “non-qualified use,” meaning any period after January 1, 2009 when the home was a rental or vacation property rather than your main residence.10Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence Divide the non-qualified period by total ownership; that fraction of the gain stays taxable regardless of the exclusion.

A prorated exclusion is available if a job change, health issue, or other unforeseen circumstance forces you to sell before completing the two-year requirement.10Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence The amount you can exclude is reduced in proportion to how much of the requirement you actually met.

Do a 1031 Exchange

A like-kind exchange under Section 1031 lets you roll the proceeds from an investment property into a replacement property and defer the gain.11Office of the Law Revision Counsel. 26 U.S. Code 1031 – Exchange of Real Property Held for Productive Use in Trade or Business or for Investment The tax isn’t forgiven; you’ll owe it when you eventually sell the replacement without another exchange. But the capital stays working.

Both the sold property and the replacement must be held for investment or business use. A purely personal vacation home does not qualify. The timing is strict:

  • 45 days after closing to identify potential replacements in writing.
  • 180 days to complete the purchase, or by the due date of that year’s tax return, whichever comes first.

These deadlines cannot be extended except in a presidentially declared disaster.11Office of the Law Revision Counsel. 26 U.S. Code 1031 – Exchange of Real Property Held for Productive Use in Trade or Business or for Investment You also cannot touch the sale proceeds. A qualified intermediary must hold the funds until the replacement closes.12Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031 Constructive receipt of the cash, even briefly, breaks the exchange.

A safe harbor under Revenue Procedure 2008-16 can qualify a mixed-use vacation home for a 1031, but it requires specific rental history and personal-use limits over the two years before the exchange and the two years after.13Internal Revenue Service. Revenue Procedure 2008-16 Meeting it takes planning well before the sale.

Spread the Gain with an Installment Sale

If you finance part of the purchase for the buyer, Section 453 lets you report the gain proportionally as payments come in rather than all at once.14Office of the Law Revision Counsel. 26 U.S. Code 453 – Installment Method Calculate the ratio of gross profit to total contract price, apply it to each payment, and only that fraction is taxable gain. The rest is a return of basis, plus interest income where applicable.

This is worth considering when a single-year gain would push you into a higher capital gains tier or trigger the 3.8% NIIT. Stretching the income across years may keep more of each payment in a lower bracket. The installment method applies automatically to qualifying sales unless you elect out on your return.

If You Inherited the Property

Inheriting a second home changes the starting point completely. The basis “steps up” to fair market value on the date the previous owner died, regardless of what they paid.15Internal Revenue Service. Gifts and Inheritances A cabin your parents bought for $60,000 in 1985 that was worth $350,000 at their death has a stepped-up basis of $350,000. Sell it for $375,000 and the taxable gain is $25,000, not $315,000.

The step-up can eliminate most or all of the tax on a long-held inherited property, particularly if you sell soon after inheriting. The longer you hold it after inheritance, the more new appreciation accumulates on top of the stepped-up basis.

State Capital Gains Tax

Federal tax is only part of it. Most states tax capital gains as ordinary income, and state rates run from 0% in states with no income tax to over 13% at the top end. A handful of states exempt capital gains or offer partial exclusions. In high-tax states, the combined federal and state rate on a second-home sale can approach or exceed 37%. Check your state’s treatment before estimating net proceeds.

Reporting the Sale and Paying On Time

Report the sale on IRS Form 8949, listing the property, dates acquired and sold, sale proceeds, and adjusted basis. Totals flow to Schedule D of Form 1040.16Internal Revenue Service. Instructions for Form 8949 This all happens on the return for the tax year the sale closed.

The closing agent typically files Form 1099-S reporting the gross proceeds to both you and the IRS.17Internal Revenue Service. Instructions for Form 1099-S Because the IRS gets its own copy, any mismatch between the 1099-S and your return is an easy audit trigger. If the 1099-S reports gross proceeds that don’t reflect your selling expenses, document the reconciliation on Form 8949.

A large mid-year gain can create an estimated tax problem. If the tax liability from the sale exceeds what’s being withheld from wages or pensions, you may need to make a quarterly estimated payment to avoid an underpayment penalty. The IRS generally expects at least 90% of the current year’s tax to be paid through withholding or estimated payments across the year.18Internal Revenue Service. Pay As You Go, So You Won’t Owe: A Guide to Withholding, Estimated Taxes and Ways to Avoid the Estimated Tax Penalty The quarterly due dates are April 15, June 15, September 15, and January 15 of the following year. Close a sale in July, and the next estimated payment due September 15 is where the tax on the gain should land, rather than waiting until you file the following spring.