How to Avoid Capital Gains Tax on Gifted Property

There are three reliable ways to avoid capital gains tax on gifted property, and the right one depends on what you plan to do with the house. If you intend to live in it, move in for at least two years and use the Section 121 primary residence exclusion to shelter up to $250,000 of gain, or $500,000 if you’re married filing jointly. If it’s a rental or investment property, a Section 1031 like-kind exchange defers the entire gain when you roll the proceeds into another qualifying property. And if the gift hasn’t happened yet, the strongest move is often to talk the owner out of gifting at all: heirs who receive property at death get a stepped-up basis that erases the accumulated gain entirely, while a lifetime gift saddles you with the donor’s original cost.

Why Gifted Property Comes With a Tax Problem

When someone gives you property, you don’t get a fresh start on the tax math. Your basis is whatever the donor’s adjusted basis was right before the gift: their original purchase price, plus improvements, minus any depreciation they claimed.1Office of the Law Revision Counsel. 26 U.S. Code 1015 – Basis of Property Acquired by Gifts and Transfers in Trust Tax people call this a carryover basis.

The impact is real. If your parents bought a house in 1985 for $80,000, put $20,000 into it, and gift it to you when it’s worth $500,000, your basis is $100,000. Sell it the next day for $500,000 and you owe capital gains tax on $400,000 of profit. Every dollar the property appreciated in the donor’s hands becomes your taxable gain.

One piece of good news travels with the property: you also inherit the donor’s holding period.2Office of the Law Revision Counsel. 26 U.S. Code 1223 – Holding Period of Property Because the donor almost certainly owned it for more than a year, any gain you recognize qualifies for the long-term capital gains rates of 0%, 15%, or 20% rather than ordinary income rates.3Internal Revenue Service. Topic No. 409, Capital Gains and Losses

Get every document the donor can find: the original closing statement, improvement receipts, depreciation schedules. If the donor’s basis can’t be documented and the IRS can’t reconstruct it, the statute directs the IRS to use the fair market value on the date the donor originally acquired the property, which can be far lower than what the donor actually paid.1Office of the Law Revision Counsel. 26 U.S. Code 1015 – Basis of Property Acquired by Gifts and Transfers in Trust

Move In and Use the Primary Residence Exclusion

If you plan to live in the gifted house, Section 121 is the most direct route to a low or zero tax bill. A single filer can exclude up to $250,000 of gain from the sale of a principal residence; married couples filing jointly can exclude up to $500,000.4Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence The exclusion applies to gifted property just as it does to a home you bought yourself.

To qualify, you must have owned and used the property as your principal residence for at least two years during the five-year window ending on the sale date.4Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence The two years don’t have to be consecutive. For a married couple claiming the $500,000 exclusion, either spouse must meet the ownership test and both must meet the use test.

The math often works out cleanly. Take that $100,000 carryover basis and a sale price of $350,000: a single filer’s $250,000 gain fits entirely inside the exclusion, and the federal capital gains tax is zero.

The Non-Qualified Use Trap

If you rent the property out before moving in, a proportional share of the gain becomes ineligible for the exclusion. The IRS allocates gain to “non-qualified use” using the ratio of non-qualifying time to total ownership, for periods after January 1, 2009.5CCH AnswerConnect. Exclusion of Gain From Sale of Principal Residence Rent it for four years, then live in it for six, and 40% of the gain is stuck outside the exclusion. If the plan is to eventually claim Section 121, move in as soon as you can after receiving the property.

Partial Exclusion for Early Sales

You can still get a prorated exclusion if you sell before hitting two years and the reason is a qualifying one: a job change that moves you at least 50 miles farther from the home, a health-related move, or certain unforeseeable events.6Internal Revenue Service. Publication 523, Selling Your Home The partial exclusion equals the full $250,000 or $500,000 multiplied by the fraction of the two-year requirement you actually met.

Use a 1031 Exchange for Investment Property

Section 121 is off the table if you never intend to live in the property. For a gifted rental or investment property, a Section 1031 like-kind exchange defers the full capital gain by reinvesting the proceeds in another qualifying property.7Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment

Both the property you sell and the one you buy must be real property held for business or investment use. Personal residences don’t qualify, and neither does property held for resale. Two deadlines are strict:8Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031

  • You must identify replacement properties in writing within 45 days of the sale.
  • You must close on the replacement within 180 days of the sale, or by your tax return due date with extensions, whichever comes first.

Touching the sale proceeds yourself blows up the exchange and makes the full gain taxable right away. A qualified intermediary holds the money between the two closings. The gain isn’t erased; it’s deferred through a reduced basis in the new property. Many investors chain 1031 exchanges through their lifetime and eventually pass the final property to heirs, who receive a stepped-up basis and permanently wipe out the accumulated deferred gain.

Have the Owner Hold the Property Until Death

If the gift hasn’t happened yet, this is often the single best tax move for the family, and it costs you nothing to raise the question. Property inherited at death gets a “stepped-up” basis equal to its fair market value on the date of death.9Office of the Law Revision Counsel. 26 U.S. Code 1014 – Basis of Property Acquired From a Decedent The lifetime appreciation is permanently erased from the tax ledger.

Same numbers as before: parents hold the house with a $100,000 basis until death when it’s worth $500,000. You inherit with a $500,000 basis. Sell for $500,000 next month, and the taxable gain is zero. Gifted during life, that same sale produces $400,000 of gain and easily $60,000 or more in federal tax. Families give property away out of generosity every day without understanding what it costs the recipient.

The step-up applies whether the property passes through a will, a living trust, or intestacy. An executor can also elect an alternate valuation date six months after death if the estate files a federal estate tax return and the alternate date lowers the total estate value.10Internal Revenue Service. Frequently Asked Questions – Gifts and Inheritances

Community Property States Get a Bigger Step-Up

How the property is titled affects how much step-up you get. When spouses own property as joint tenants in a common-law state, only the deceased spouse’s share steps up. If the couple owned the home 50/50, the survivor only gets a step-up on half.

Community property states are different. Under IRC 1014(b)(6), both halves of community property step up to fair market value when one spouse dies, including the surviving spouse’s share.9Office of the Law Revision Counsel. 26 U.S. Code 1014 – Basis of Property Acquired From a Decedent Nine states use community property rules: Arizona, California, Idaho, Louisiana, Nevada, New Mexico, Texas, Washington, and Wisconsin. A surviving spouse in one of these states who sells shortly after the first death can eliminate capital gains on the whole property.

Supporting Moves That Shrink the Bill

If none of the three main strategies fits, or if you’ll still owe something after using one, these tactics can reduce what’s left.

Offset the Gain With Losses

Selling gifted property in the same year you realize investment losses lets the losses cancel the gain dollar for dollar. Net capital losses beyond your gains can offset up to $3,000 of ordinary income ($1,500 if married filing separately), with the remainder carried forward.11Office of the Law Revision Counsel. 26 U.S. Code 1211 – Limitation on Capital Losses Timing a property sale to line up with a bad year in your portfolio is the simplest way to reduce the tax.

Spread the Gain With an Installment Sale

An installment sale under IRC 453 spreads gain recognition across the years you actually receive payments.12Office of the Law Revision Counsel. 26 USC 453 – Installment Method Any sale where at least one payment arrives after the tax year of sale qualifies. Spreading a large gain over several years can keep you in a lower capital gains bracket and below the income thresholds that trigger additional taxes.

Charitable Remainder Trust

Donating a highly appreciated gifted property to a charitable remainder trust can eliminate the upfront capital gains tax. The trust is tax-exempt, so it can sell the property without paying capital gains, and you get an income tax deduction for the present value of the eventual charitable remainder.13Internal Revenue Service. Charitable Remainder Trusts Distributions back to you as the income beneficiary are taxed in a set order (ordinary income first, then capital gains, then other income, then tax-free principal), so you don’t escape tax entirely; you defer and spread it. CRTs make sense when you have a big appreciated asset, want ongoing income, and have real charitable intent. They need an attorney and ongoing administration.

Watch Out for These Extra Taxes

Net Investment Income Tax

A large gain from selling gifted property can pull you into the 3.8% Net Investment Income Tax on top of the regular capital gains rate. NIIT applies to the lesser of your net investment income or the amount your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly).14Internal Revenue Service. Net Investment Income Tax These thresholds don’t adjust for inflation, so they catch more people every year.

Depreciation Recapture on Rentals

If the gifted property was a rental and depreciation was claimed on it (by the donor or by you), selling triggers depreciation recapture taxed at up to 25%, regardless of holding period. The carryover basis brings the donor’s accumulated depreciation exposure with it. Property inherited at death, by contrast, gets a stepped-up basis that wipes out both the capital gain and the recapture liability.

The Dual Basis Rule on Down-Market Gifts

Most guidance assumes the property has appreciated. If the fair market value at the time of the gift is lower than the donor’s basis, a dual basis rule applies. You use the donor’s basis to figure a gain, but the lower fair market value to figure a loss.15Internal Revenue Service. Property (Basis, Sale of Home, etc.) Sell for a price between the two numbers and you report neither. The rule exists to keep donors from handing built-in losses to recipients.

2026 Long-Term Capital Gains Rates

What you actually owe on a gifted-property sale depends on your taxable income and filing status. For 2026, long-term capital gains rates fall into three brackets:

  • 0% rate: taxable income up to $49,450 (single) or $98,900 (married filing jointly).
  • 15% rate: taxable income from $49,451 to $545,500 (single) or $98,901 to $613,700 (married filing jointly).
  • 20% rate: taxable income above $545,500 (single) or $613,700 (married filing jointly).

Short-term gains, on property held one year or less, are taxed at ordinary rates that reach 37%.3Internal Revenue Service. Topic No. 409, Capital Gains and Losses Because a gifted property carries over the donor’s holding period, it almost always qualifies for long-term treatment. Add the 3.8% NIIT for higher earners and the effective federal top rate on long-term gains reaches 23.8%. State income tax stacks on top of that.