Ground rule first: this page describes the general federal framework, not advice for your return. The interplay of gains, brackets, state tax, and the AGI cap is exactly what CPAs are for — bring yours in early.
The situation this is built for
You own more than one property. One of them is being sold — a rental you’re exiting, a business building, appreciated acreage — and the gain will be large. Somewhere else in the portfolio sits a property you’ve wanted out of for years: the lot that won’t sell, the inherited parcel nobody visits, the land whose taxes you resent annually. Most owners treat those as two unrelated problems. Tax-wise, they’re a matched pair.
How the offset works
A charitable deduction isn’t chained to the asset that produced your income. Donate the unwanted property to a 501(c)(3) in the same tax year as the sale, and its fair market value becomes a deduction against that year’s income — including the capital gain. And the cap that governs appreciated-property deductions — 30% of AGI, detailed on our tax benefits page — works in your favor in a sale year, because the gain inflates AGI and therefore inflates the cap.
Worked example
An owner sells a rental for a $250,000 long-term gain, putting total AGI at $350,000. The same year, she donates an unrelated parcel appraised at $60,000 that had been listed twice without an offer. Her 30%-of-AGI cap is $105,000, so the full $60,000 deducts immediately. Between federal income tax at her bracket and the state deduction, the donation is worth roughly $22,000 — from land whose realistic cash-buyer offer was about $25,000, minus the years of taxes she’s no longer paying and the listing cycle she never has to repeat. The gain didn’t disappear, but a meaningful slice of its tax did, and a dead asset left the books doing it.
Which property should you donate?
When you hold several candidates, the ordering usually follows two rules:
- Donate the most appreciated. Donation means no sale, which means the built-in gain on that property is never taxed at all — the deduction comes on top. Selling the high-basis property instead keeps its taxable gain small.
- Donate the least liquid. The market pays full price for your good property and punishes the difficult one. The deduction doesn’t discriminate: a landlocked lot appraised honestly at $60,000 deducts at $60,000, even if every cash buyer offered half that. Illiquidity costs you in a sale and costs you nothing in a donation.
The frequent conclusion: sell the property buyers actually want, donate the one they don’t. Our donate-vs-sell math covers the single-property version of this decision.
Timing: the December 31 wall
The donation offsets the year in which it’s complete— deed executed and delivered, not merely intended. Deed preparation, multi-owner signatures, and county recording take weeks (the process timeline), so a donation started in December is a gamble. If a large sale is closing this year, start the donation conversation by early fall. If the sale already happened this year, start now — there’s usually still time, and the free review will tell you honestly if there isn’t.
Variations worth knowing
- Selling part, donating part of the same land — the split-parcel strategy, covered in its own guide, including the sequencing rule about donating before a binding contract exists.
- Spreading with the carryforward. A donation bigger than one year’s cap isn’t wasted — the excess carries forward up to five years, useful when a windfall year is followed by ordinary ones.
- Entity-owned property. C corporations, S corporations, and LLCs each route the deduction differently (notes here) — the strategy survives, the percentages change.
Start with what you own
Use the inquiry form and describe both sides: the sale creating the gain (rough size and closing date) and the property you’d consider donating. We’ll review the donation side free within a business day, so you and your CPA can decide with a real, accepted property on the table instead of a hypothetical. (CPAs and attorneys: we work directly with advisors — here’s what your due-diligence file gets.)