Selling your second home can come with more than just sentimental value, but may also come with a hefty tax bill. Unlike your primary residence, second homes don’t automatically qualify for the IRS’s capital gains exclusion, meaning you could owe taxes on the profit from your sale. Here’s what you need to know about when those taxes apply, how they’re calculated, and smart ways to reduce what you owe
To know how the tax rules apply, you must distinguish your primary residence from a second home.
Your primary residence is where you live most of the time: where you are registered to vote, receive mail, hold your driver’s license, etc. A second home is any property you own but do not occupy as your primary residence.
If you rent out the property part-time, it may be classified more like an investment or rental property, rather than just a second home. In those circumstances:
Your tax outcome depends heavily on the number of days you rented the home versus the number of days you personally used it. The IRS Publication 523: Selling Your Home explains these distinctions in more detail.
Short-Term vs. Long-Term Capital Gains
If you sell a property within one year of purchase, the gain is considered short-term and taxed at ordinary income tax rates (which may be as high as 37%, depending on your tax bracket).
If you hold it for more than one year, the gain is long-term and taxed at lower rates (0%, 15%, or 20%, depending on your income).
Because many second homes are held for multiple years, long-term capital gains rates typically apply. You can review the rate tables in TurboTax’s guide to second home taxes.
Under Section 121, homeowners may exclude up to $250,000 (or $500,000 if married filing jointly) of gain on the sale of a primary residence, provided:
Unfortunately, this exclusion typically doesn’t apply to second homes or investment properties unless you convert the property into your primary residence and meet those requirements. If your second home becomes your primary residence before selling, you might qualify for a partial or full exclusion under IRS Section 121.
Sales That Trigger Taxes
You will owe capital gains tax when you sell your second home and your net sale proceeds exceed your adjusted basis (what you paid plus improvements minus depreciation, if any). Because the Section 121 exclusion typically doesn’t apply, the gain is generally taxable in full.
Your history of use matters:
The allocation is based on the number of days used personally versus rented, as well as the duration of each period. You can learn more about property use rules and ownership in the Giving Property FAQ.
To compute your gain:
Then
→ The result is your capital gain. Example: Buy for $200,000; add $30,000 in improvements; take $10,000 depreciation if rented → basis = $220,000. Sell for $300,000 minus $15,000 in selling costs gives a net $285,000 → gain = $65,000
You may reduce the taxable gain by:
Repairs or routine maintenance don’t qualify as capital improvements. And if you depreciated the property while renting, that depreciation must be “recaptured” and taxed.
Holding Strategies
If your second home is treated as an investment or rental, you may be able to use a 1031 exchange to defer taxes by exchanging it for a “like-kind” property. But since the Tax Cuts and Jobs Act, 1031 applies only to investment real property, not personal residences. So this strategy only applies if the property qualifies as an investment.
Donating your second home to a qualified nonprofit can help you avoid capital gains taxes altogether. By donating appreciated property, you:
Through Giving Property, donors can give land, condos, or other real estate to support their favorite charity while simplifying the sales process. Visit the Real Estate Donation Guide to see how property gifts can help you save on taxes and make a difference.