If you take title to a house as a gift or inheritance, you may have to pay capital gains tax when you sell it. There are several options for avoiding the tax.
Capital Gains Taxes
The IRS says almost anything you own that isn't cash is a capital asset. When you sell an asset such as a house, your gain on the sale is capital gains income, usually taxed at a lower rate than your paycheck. Your gain is the sale price less the basis of your house — usually the purchase price adjusted by factors such as depreciation or improvements.
Example: You buy a house for $200,000. You spend $10,000 upgrading the kitchen and $20,000 on a new deck. You sell for $300,000. Your basis is $230,000, so your capital gain is $70,000.
Basis, Gift and Inheritance
When you inherit a house or someone gives it to you, you have no purchase price, so the rules change:
- Inherited real estate: Your basis is usually the fair market value of the property on the day the previous owner died.
- Gift: Your basis is the donor's adjusted basis immediately before she transferred title to you.
The exception is if you sell at a loss and the fair market value is less than the adjusted basis. In that situation, you figure the loss based on the value rather than the donor's basis.
Tips
The IRS defines fair market value as the price a seller and buyer would agree on if they were knowledgeable about the property and neither one was desperate to close the deal.
Living in the House
Moving into the house is one way to avoid capital gains. Tax law exempts $250,000 on the sale of your personal home, or $500,000 if you're married and file jointly. You must own the house for two of the five years before you sell and live in it for two of the five years.
1031 Sale
Under Section 1031 of the tax code, there's no capital gains on the sale of a rental or investment property if you exchange it for a comparable property within six months.
Example: Your father gifts you a rental property. You sell it and buy another rental of equal value, avoiding capital gains tax until you sell the second house.
The 1031 rules are complicated — just buying a replacement house won't cut it; it must be a business or investment property — so you may need professional help.
Timing the Sale
If you sell an inherited house right after you take title, the sale price will probably be close to your basis. In that case, you'll have little or no capital gains to report. With a gift house, where you assume the donor's adjusted basis, this only works if the fair market value is close to the basis.
Capital Losses
If you have more than one capital gains transaction in the same year, you can subtract any losses from the gains. For example, if you sell your gift house for a $20,000 gain but sell another house at a $25,000 loss, you can wipe out your taxable gain.
References
- Internal Revenue Service: Topic Number 409 - Capital Gains and Losses
- Internal Revenue Service: Publication 551 (12/2018), Basis of Assets
- Internal Revenue Service: Topic Number 701 - Sale of Your Home
- Internal Revenue Service: Like-Kind Exchanges Under IRC Code Section 1031
- NOLO: If You Inherit a Home Do You Qualify for the $250,000/$500,000 Home Sale Tax Exclusion?
- IRS. ”Publication 559: Survivors, Executors, and Administrators.“ Pages 25-27. Accessed Oct. 24, 2020.
- IRS. ”Frequently Asked Questions on Gift Taxes.” Accessed Oct. 24, 2020.
- IRS. "IRS Provides Tax Inflation Adjustments for Tax Year 2020." Accessed Oct. 24, 2020.
- IRS. ”What's New - Estate and Gift Tax.” Accessed Oct. 24, 2020.
- IRS. "Frequently Asked Questions—Gifts and Inheritances." Accessed Oct. 24, 2020.
- IRS. ”Publication 551 Basis of Assets.” Page 9. Accessed Oct. 24, 2020.
- IRS. ”Publication 551 Basis of Assets.” Pages 9-10. Accessed Oct. 24, 2020.
- IRS. “Topic No. 409 Capital Gains and Losses.” Accessed Oct. 24, 2020.
- IRS. ”Publication 559 Survivors, Executors, and Administrators." Page 17. Accessed Oct. 24, 2020.
- IRS. "26 CFR 601.602: Tax Forms and Instructions." Pages 5-7. Accessed Oct. 24, 2020.
- IRS. “Topic No. 701 Sale of Your Home.” Accessed Oct. 24, 2020.
Writer Bio
A Durham, NC resident, Fraser has written about law, starting a business, balancing your budget and fighting evictions, among other legal and financial topics.