How do I avoid capital gains tax on gifted property?

My aunt gifted me her rental condo earlier this year. No money changed hands. I got the deed, she filed a gift tax return apparently. Now I'm thinking about selling it because I don't want to be a landlord. Someone told me I inherited her old cost basis, which is way lower than what the condo is worth now — she bought it in like 2003. So if I sell, I'm looking at a huge capital gain on property I never actually paid for. Is there a way to avoid capital gains tax on gifted property, or at least reduce what I owe? I already looked at the IRS page on basis of assets but I didn't fully understand how the gifted basis rules work in my situation. I'm not sure if holding it longer changes anything either.

41 comments

The bad news first: gifted property does not get a stepped-up basis. You take the donor's adjusted basis as your own basis for calculating gain. That is confirmed in Publication 551 — if the fair market value at the gift was equal to or more than the donor's adjusted basis, your basis is her adjusted basis. So yes, you're carrying her 2003 purchase price (adjusted for any depreciation she claimed, improvements she made, etc.). Selling quickly versus holding longer does not change your basis. It only changes whether your gain is short-term or long-term — and long-term rates are lower, which matters if you're close to that one-year mark.

Leah F.

Author

Holding period question — does mine start from when she gifted it to me, or from when she originally bought it in 2003?

For gifted property your holding period includes the donor's holding period. Publication 550 is explicit on this: when your basis in a gift is figured from the donor's adjusted basis, your holding period includes the donor's holding period. So you're already long-term since her 2003 purchase date carries over to you.

One real lever you have is making it your primary residence before you sell. If you live in it as your main home for at least 24 months out of the 5 years before the sale, you may qualify for the home sale exclusion under Publication 523. That exclusion can shelter a substantial gain. The 24 months don't have to be consecutive. Whether the excluded amount covers your gain depends on the numbers — Publication 523's eligibility test walks you through it.

Leah F.

Author

Moving in is actually on the table. I live close by. So if I moved in and stayed 2 years I could potentially exclude a big chunk of the gain?

Correct. You'd need to meet both the ownership and residence tests described in Publication 523 — 24 months of ownership and 24 months of use as your main home in the 5 years before sale. Since the gift transferred ownership to you, your ownership period started at the gift date. Plan accordingly on timing.

Leah F.

Author

That 2-year clock is going to be the deciding factor for me honestly.

Don't forget she may have claimed depreciation on that rental for 20+ years. Her adjusted basis could be significantly lower than her original purchase price because of accumulated depreciation deductions. The gain from that depreciation is generally taxed as unrecaptured section 1250 gain at up to 25% when you sell, reported on Form 4797 and feeding into Schedule D. It's worth finding out her actual adjusted basis before you assume what your gain will be.

Leah F.

Author

I hadn't thought about the depreciation recapture angle. Where would I find what her adjusted depreciation was?

She'd have it on her prior-year tax returns, specifically on Form 4562 or the depreciation schedules her preparer ran. Ask her for those. The total accumulated depreciation reduces her adjusted basis, which is now your basis.

I uploaded my gift deed and her old depreciation schedules to taxr.ai and had it walk through the basis calculation step by step for my situation — it mapped out the donor's original cost, added improvements, subtracted the accumulated depreciation, and showed me what adjusted basis I was actually starting with. Really clarified the numbers before I talked to a CPA. The main options on avoiding the gain are the primary residence move-in strategy, a 1031 exchange into another rental, or just holding and deferring. Each one has conditions attached.

Leah F.

Author

1031 exchange — I've heard of that but assumed it was for investors doing big deals. Does it apply here?

It applies when you're exchanging real property held for business or investment, like a rental, for other like-kind real property. It no longer covers other investment property such as stock. The IRS rules on this are in Publication 544 and the Form 8824 instructions. Timing is strict — there are identification and exchange deadlines that run from the sale date. If you're not planning to stay a landlord it may not fit, but it's worth asking a CPA or enrolled agent whether it makes sense given your basis situation.

Worth saying plainly: there is no clean way to sell gifted property and legally avoid a capital gain if the property appreciated significantly under the donor. The strategies people mention — primary residence exclusion, 1031 exchange, charitable donation — all have requirements and trade-offs. The primary residence path is the most accessible for someone in your situation, but it requires you to actually live there. A CPA can run the numbers on each path before you commit.

Leah F.

Author

This is the honest answer I needed. I think the residence route is what I'll actually look into.

If your aunt had gifted it to you at death instead of during her lifetime, you'd have gotten a stepped-up basis to the fair market value at her date of death. That's the inherited property rule in Publication 551. That would have wiped out the appreciation. It's too late for your situation but it explains why the timing of a gift matters enormously for tax purposes.

This is the part most people don't realize until after the gift is done. Lifetime gifts of appreciated property almost always transfer the tax burden to the recipient.

The residence exclusion path: when you do eventually sell after meeting the 24-month use test, you report the sale on Form 8949 Part II (long-term) with code H in column (f) and the excluded gain as a negative number in column (g), then it flows to Schedule D. If you received a Form 1099-S you must file Form 8949 even if no tax is due. That's per the Instructions for Form 8949.

Leah F.

Author

Good to know the reporting mechanics now. I'll need to track the exact dates I'm living there carefully.

Correct — keep a paper trail: utility bills, driver's license address, voter registration. The IRS looks at facts and circumstances to establish that the home was your main home during those 24 months.

Had a similar gifted-property situation with a family member's stock. Showed Taxr my 1099-B and the original gift documentation and it compared the broker's reported basis against the donor's actual adjusted basis line by line and flagged where they differed — then I took that summary to my enrolled agent. For gifted property the broker often doesn't have the right basis at all. Worth verifying whatever your brokerage or title company shows against the actual donor records.

Step one for me was getting the actual adjusted basis confirmed in writing from my aunt. Without that number nothing else can be calculated correctly.

Charitable donation is another path some people explore — donating appreciated property to a qualified charity lets you potentially deduct the fair market value and avoid recognizing the capital gain. But you lose the asset entirely and your deduction is subject to AGI-based limits. That's a significant trade-off. Only makes sense if you were planning to give substantially to charity anyway.

Worth adding: a donor-advised fund can receive the property and let you recommend grants over time. But same point — you give up the asset. For someone who wants cash out of the property this doesn't work.

If you decide to sell before the two-year residence mark you just report it normally on Form 8949, using her adjusted basis as your cost basis in column (e). The gain is long-term because her holding period carries to you. It goes to Schedule D and gets taxed at long-term capital gains rates. There's no workaround that avoids reporting it — the question is only whether any exclusion applies.

Leah F.

Author

So if I sell before the 2 years are up there's no exclusion at all? Not even a partial one?

A partial exclusion may apply if the main reason for the sale was a change in workplace location, a health issue, or an unforeseeable event as defined in Publication 523. If none of those apply, you generally don't qualify for a partial exclusion just from moving in for less than 24 months.

Something people miss: her adjusted basis includes not just purchase price but also closing costs, capital improvements, minus accumulated depreciation. So the number you need isn't just what she paid in 2003. Get her full depreciation schedule and any receipts for major improvements. A bigger basis means a smaller gain.

Leah F.

Author

She said she did a full kitchen renovation around 2015. That would add to basis?

Yes, capital improvements add to basis. Routine repairs don't. A kitchen renovation that added value and extended useful life generally qualifies as a capital improvement under Publication 551's rules. Get the receipts or contractor invoices if possible.

Don't overlook state taxes either. Capital gains treatment varies by state — some states tax all capital gains as ordinary income, some have no income tax at all. The federal exclusion and long-term rates don't automatically carry over at the state level. If the condo is in a high-tax state that matters a lot.

State basis rules can also differ from federal. Worth a quick check with a local CPA or enrolled agent who knows that state's rules specifically.

When I was sorting out gifted shares I uploaded the donor's old brokerage statements and my current 1099-B to Taxr and it prepared a side-by-side showing the broker-reported basis versus the correct gifted basis, with an adjustment column ready to enter in column (g) of Form 8949 — saved a lot of back-and-forth with my preparer. The code B adjustment approach on Form 8949 is exactly what you'd use if your 1099-S or brokerage shows the wrong basis.

Leah F.

Author

That's the part I was confused about — how to actually enter a corrected basis on the form. Good to know column (g) is where adjustments go.

Right — when basis is reported to the IRS (box D or A checked) you enter what the form shows in column (e), then adjust in column (g) with code B. The Instructions for Form 8949 at irs.gov/instructions/i8949 walk through the negative-adjustment mechanics exactly.

If you go the primary residence route, note that Publication 523 says a home acquired through a section 1031 like-kind exchange in the past 5 years is not eligible for the exclusion. Since you received this as a gift (not a 1031 exchange) that restriction doesn't apply to you. Just flagging it because it trips people up when they mix these strategies.

Good point. The 1031-then-exclusion restriction is one of the sharper anti-abuse rules in this area. Gift recipients don't face it, but anyone thinking of doing a 1031 first and then moving in needs to track that 5-year window carefully.

Practically speaking your next steps are: get her adjusted basis confirmed (original cost plus improvements minus depreciation), decide whether the residence strategy pencils out given the exclusion amount versus your expected gain, and talk to a CPA or enrolled agent before you sign anything. A large gain on a rental property with recapture is exactly the kind of situation where a professional review is worth it.

Leah F.

Author

This is the clearest summary of what I actually need to do. Getting the basis number first makes sense before I decide anything else.

One thing worth confirming: if she paid gift tax on the transfer, part of that gift tax may add to your basis. Publication 551 covers this — the basis increase is limited to the gift tax attributable to the net appreciation in the property. Ask her preparer exactly what was reported and whether any basis add-back applies.

Step I took: got a written memo from the donor's CPA confirming the adjusted basis calculation including the gift tax basis adjustment. Having it in writing protected me when my own preparer needed to verify it.