Donating Appreciated Stock: Avoid Capital Gains Tax Legally
Donating long-held stock skips capital gains tax and earns a fair market value deduction. See the 30% AGI limit, Form 8283 rules, DAFs and QCDs compared.

Donating Appreciated Stock Beats Writing a Check in Almost Every Scenario
Most generous donors make their gifts the expensive way without realizing it. They sell appreciated shares first, pay the capital gains tax, and donate the leftover cash. The IRS allows a far better sequence that rewards both the donor and the charity.
Giving long-held securities directly eliminates the embedded tax entirely. The charity receives the full value, sells tax-free, and the donor claims a fair market value deduction. Nobody in the transaction ever owes capital gains tax on the appreciation.
This guide covers the mechanics, the AGI limits, the paperwork thresholds, and the timing rules. It also compares the two popular alternatives, donor-advised funds and qualified charitable distributions. Each section reflects the rules governing 2026 returns.
The official rules live in Topic 506 and Publication 526. This guide translates them into decisions you can act on. Keep both open when the paperwork thresholds start mattering.
One framing thought before the details begin. This strategy only works while the shares remain unsold and unpledged elsewhere. Once a sale contract exists, the tax consequences attach and the window closes.
The Double Benefit Explained in Plain Language
Appreciated stock carries two tax consequences when sold. The first is the capital gains tax on the profit itself. The second arrives through the 3.8 percent surtax on net investment income for higher earners.
Donating the shares instead sidesteps both charges completely. A qualified charity sells the stock without any tax because exempt organizations do not file for gains. The built-in profit simply disappears from your taxable life.
The deduction side then adds a second layer of value. Long-term capital gain property donated to a public charity deducts at fair market value. Itemizers convert an untaxed gain into a full charitable deduction in the same year.
Cash donations never deliver this pairing. A dollar of cash carries no embedded gain, so there is nothing to avoid. The deduction exists, but the capital gains advantage belongs exclusively to appreciated property.
A Worked Example: Selling First Versus Donating Directly
Numbers make the comparison vivid faster than any rule recital. Consider Rachel, who owns stock worth $10,000 with a $3,000 cost basis. She held the shares for four years, and her marginal rate sits at 24%.
Path one has her selling the shares and donating the proceeds. The $7,000 gain triggers $1,050 of long-term capital gains tax at 15%. She donates the remaining $8,950 and deducts that amount.
Path two transfers the shares directly to the charity. Rachel deducts the full $10,000 fair market value instead. The $1,050 capital gains tax never materializes, and the charity nets $10,000 rather than $8,950.
Add the pieces and the gap widens further. The direct gift saves roughly $1,050 in avoided tax plus the extra $1,050 of deduction value at her 24% bracket. Total advantage approaches $2,100 on a single $10,000 gift.
Scale that arithmetic across a retirement portfolio and the stakes become serious. Donors moving six-figure positions into a giving plan routinely save five figures. Our capital gains calculator helps model your own version of Rachel's choice.
Which Assets and Which Charities Qualify
The best treatment applies to long-term capital gain property going to the right kind of charity. Public charities, donor-advised funds, and most religious or educational institutions qualify as fifty-percent organizations. Private foundations follow stricter rules that reduce the appeal.
| Recipient | Deduction basis | AGI limit |
|---|---|---|
| Public charity, long-term stock | Fair market value | 30% of AGI |
| Private foundation, publicly traded stock | Usually fair market value with conditions | 20% of AGI |
| Cash to a public charity | Amount given | 60% of AGI |
| Short-term appreciated property | Cost basis only | 50% of AGI |
Holding period determines the quality of the deduction. Shares owned more than one year carry the fair market value privilege. Shares owned twelve months or less deduct only at basis, which erases most of the benefit.
Unrealized losses create the opposite trap entirely. Selling a losing position first converts the loss into a deductible capital loss.
Donating cash afterward still earns the deduction, and the harvested loss offsets other gains. Never donate a losing stock directly to charity.
Other appreciated assets carry the same logic with extra friction. Mutual fund shares transfer cleanly through most brokers with the same rules.
Cryptocurrency gifts raise valuation and substantiation questions that most charities decline. Real estate demands appraisals and acceptance review, so charities screen carefully.
The 30% Limit and the Five-Year Carryforward
The fair market value deduction for capital gain property faces a 30% of AGI ceiling. Donors with very large gifts relative to income cannot deduct everything in one year. The tax code provides a clean relief valve for that situation.
Excess deductions carry forward for up to five additional tax years. Each future year applies the same 30% test until the balance exhausts. Big gifts eventually get their full deduction as long as giving continues within the window.
An alternative election exists for unusually high-income years. Donors can elect to deduct at cost basis instead of fair market value. That election moves the gift into the 50% AGI bucket and can accelerate the deduction.
Most donors should model both paths before filing. The election trades deduction size for speed, and the right answer depends on your income curve. High earners expecting a down year often prefer waiting out the carryforward instead.
Deductions also require itemizing to matter at all. The 2026 standard deduction sits near $16,100 for singles and $32,200 for joint filers. Bunching several years of gifts into one tax year often beats spreading them out.
State treatment deserves its own quick check. Some states follow the federal deduction limits, while others apply their own caps. A handful of states even tax the avoided gain differently than the IRS does.
Form 8283 and the Appraisal Requirements
Paperwork thresholds arrive quickly with securities. Any noncash charitable deduction above $500 requires Form 8283. Section A covers the stock donations most individuals make.
The form asks for the charity's details, the acquisition dates, and the basis. Your broker's transfer confirmation plus the filing statement usually completes Section A cleanly. Missing forms are the leading reason stock donations lose their deduction.
Gifts above $5,000 in value need a qualified appraisal and Section B. Publicly traded stock enjoys an exception from the appraisal requirement in most cases. Closely held business shares do not, and those gifts demand professional valuation.
Timing of the appraisal matters for nonpublic assets. The appraisal must be dated no earlier than sixty days before the donation. The qualified appraiser signs Section B, and the charity acknowledges the receipt separately.
One more acknowledgment rule catches donors every year. Gifts of $250 or more require a contemporaneous written acknowledgment from the charity. The letter must state whether the charity provided any goods or services in return.
Basis documentation comes from your brokerage records rather than the charity. Pull the original purchase confirmations before the transfer, especially for legacy positions. Reconstructing basis five years later during an examination is miserable work.
Donor-Advised Funds: Deduct Now, Recommend Grants Later
A donor-advised fund separates the deduction from the distribution decision. You contribute appreciated stock to the fund account and claim the deduction immediately. Recommendations to actual charities can follow over months or years.
The structure solves two practical problems at once. Bunching multiple years of giving into one itemized year becomes painless. Selling a business or receiving a bonus no longer forces immediate charity selection.
Sponsoring organizations handle the administration, receipts, and grant processing. Most accept in-kind stock transfers with minimal friction and no fees on contributions. The broader strategy roundup places these funds among the most flexible tools.
Legacy positions work especially well inside these funds. Concentrated company stock with tiny basis transfers at full current value. The fund then diversifies its holdings while your deduction reflects the market price.
Two cautions keep the strategy clean. Assets inside the fund belong to the sponsoring charity, so recommendations are advisory rather than commands. Grants also must go to qualified charities, avoiding any attempt to benefit yourself.
The Qualified Charitable Distribution Alternative After 70½
Retirees have an even more powerful cousin of this strategy. A qualified charitable distribution sends IRA money directly to charity. The distribution never appears in income, and no deduction is needed.
The 2026 limit stands at $111,000 per IRA owner aged 70½ or older. Qualified distributions also satisfy required minimum distributions without adding taxable income. Our retiree capital gains guide covers the surrounding planning.
Publication 590-B carries the official QCD rules. The strategy works best for retirees taking the standard deduction, where a charitable deduction would go unused. Donating appreciated stock still wins for nonretirement portfolios.
Many retirees combine both tools across their accounts. The QCD handles the IRA side and suppresses RMD income. Appreciated stock from the brokerage account covers larger one-time gifts with fair value deductions.
Sequence matters when both options apply in the same year. Run the QCD first up to the planned giving budget. Only then move appreciated shares for the remaining charitable goals.
Timing Rules: Making the Deduction Land This Year
Charitable deductions follow a delivery rule, not an intention rule. Stock counts as donated when ownership actually transfers to the charity. December intentions frequently become January deductions when transfers stall.
Electronic transfer through your broker is the reliable path. A handwritten certificate reregistration can take weeks and misses year-end deadlines routinely. Ask the charity for its DTC transfer instructions in November rather than late December.
Settlement timing also matters for mutual fund shares. Fund companies may need several business days to process a redemption-side transfer. Mutual fund purchases near a distribution date can accidentally buy taxable income too.
Estimated tax planning should absorb the savings as well. Avoided capital gains tax reduces the January 15 payment for large December gifts. Our quarterly payment guide keeps the two systems synchronized.
Mistakes That Cost Donors Real Money
Charitable stock giving punishes sloppy execution more than ignorance. The errors below appear constantly in practice and practitioners can recite them from memory. A five-minute checklist prevents all of them.
- Selling shares first and donating cash, which donates away the entire advantage.
- Donating losing positions instead of harvesting the loss and giving cash.
- Missing Form 8283 above $500 and losing the deduction at filing.
- Skipping the charity's acknowledgment letter for gifts of $250 or more.
- Starting transfers in late December and missing the delivery deadline.
- Forgetting the five-year carryforward and abandoning excess deductions.
One more boundary deserves emphasis before closing. Donations must go to qualified organizations with tax-exempt status. Gifts to individuals, crowdfunding pages, or foreign charities without equivalence fail the deduction test entirely.
The strategy itself remains one of the cleanest wins in the tax code. Appreciation vanishes, the deduction arrives at full value, and the charity receives more money. Few planning moves reward everyone involved this completely.
Wasim Akram
Wasim researches and writes every article on TaxGainsCalc, covering capital gains tax for everyday investors. Every figure is checked against primary IRS sources before it goes live.


