Donor-Advised Funds: How Retirees Turn a Big Tax Bill Into a Charitable Legacy

Selling appreciated stock in retirement can quietly trigger a chain reaction of taxes, Medicare surcharges, and lost deductions that most retirees never see coming until the bill arrives.

Published October 26, 2026, 4:00am ET · 4 min read

Tax Master desk. Editor: Vilma Rios.

This post may contain links from our sponsors and affiliates, and Flywheel Publishing may receive compensation for actions taken through them.

Three people, two older adults and a financial advisor, sit around a round wooden table. The financial advisor, seen from behind, wears a grey suit and glasses. The older man, with a grey beard and a plaid shirt, holds documents and looks at the smiling older woman with dreadlocks in a grey sweater. A silver laptop, a dark travel mug, a small green plant, and a black smartphone are present on the table.
A diverse older couple engages in a discussion with their financial advisor, carefully considering critical retirement choices. Their conversation reflects the complexities of pension options and their long-term impact on financial well-being. © kate_sept2004 / E+ via Getty Images

Consider a composite retired couple, both 72. They own $100,000 of stock they bought decades ago for $20,000, and every year they write $10,000 in checks to their church and the local food bank. Now they want to trim the position. If they sell first, they set off a chain of taxes and Medicare surcharges worth about $20,230.

A cleaner path runs through a donor-advised fund. If they give the shares instead of cash, that one decision produces a deduction, wipes out the capital gains tax and leaves a giving account their children can keep running.

Plenty of retirees face the same choice. Households headed by someone 70 or older hold 40.5% of all U.S. household stock and mutual fund shares held outside workplace retirement plans, according to Federal Reserve data for 2026 Q2.

How a Donor-Advised Fund Turns Old Stock Into a Deduction

The tax code defines a donor-advised fund in Section 4966(d)(2). It’s an account held at a sponsoring charity. You donate now, take the deduction now and recommend grants to charities over the years. To claim the deduction, you need a contemporaneous written acknowledgment from the sponsor saying it has exclusive legal control over the assets, per IRS Publication 526.

Two rules make the strategy work. If you give stock you’ve held more than a year, you deduct its full market value and the gain is never taxed. For gifts to public charities, including fund sponsors, Section 170(b)(1)(C) caps that deduction at 30% of adjusted gross income (AGI). Anything over the cap carries forward for up to 5 years.

Selling First Costs This Couple About $20,230

The assumptions are: tax year 2026, married filing jointly, and $200,000 of AGI from pensions, IRA required minimum distributions and taxable Social Security. Selling the shares adds an $80,000 long-term gain, which raises AGI to $280,000.

Cost of selling first Amount
15% capital gains tax on $80,000 $12,000
3.8% net investment income tax $1,140
Lost senior deduction ($6,000 taxed at 22%) $1,320
2028 Part B surcharge, two people $4,869.60
2028 Part D surcharge, two people $900
Total $20,229.60

The investment income surtax applies to AGI above $250,000 on joint returns, and that threshold isn’t indexed for inflation. The sale also wipes out the new $6,000 senior deduction, which is reduced by 6% of income above $150,000. At $200,000, each spouse keeps $3,000 of it. At $280,000, both lose all of it.

Medicare prices premiums off your income from two years earlier, so 2026 income sets 2028 premiums. Under 2026 brackets, $280,000 lands above the $274,000 line. That raises each spouse’s Part B premium from $202.90 to $405.80 a month.

Giving the Shares Instead Swings Year One by More Than $25,000

Now say the couple moves all $100,000 of stock into a donor-advised fund in 2026. There’s no sale and no gain. AGI stays at $200,000, under the first Medicare surcharge line of $218,000, and they keep their partial senior deduction.

They can deduct $60,000 this year, and the remaining $40,000 carries forward. A new 0.5% floor under Section 170(b)(1)(I) trims $1,000, which leaves $59,000. Compare that with the 2026 standard deduction of $32,200 plus the add-ons for being 65 or older. Itemizing gives them $23,500 more in deductions.

Their taxable income falls in the 22% bracket, which in 2026 starts above $100,800 for joint filers. That makes the extra deductions worth $5,170. Add that to the costs they avoided, and year one comes out $25,399.60 better. The fund keeps sending $10,000 grants every year, just as the checks did.

Keep in mind that the deduction reduces taxable income but leaves AGI where it was. What protects their Medicare premiums is keeping the gain off the return in the first place.

Three Mistakes That Undo a Donor-Advised Fund Gift

  • Sending a QCD to the fund. Qualified charitable distributions from an IRA after age 70½ stay out of income entirely, but Section 408(d)(8)(B)(i) bars sending them to donor-advised funds. Give directly to charities from the IRA and put stock in the fund.
  • Getting something back. If a grant gives you or your family a more-than-incidental benefit, Section 4967 levies a tax equal to 125% of that benefit. Grants to individuals also count as taxable distributions under Section 4966(c)(1)(A).
  • Donating losing positions. If a stock has fallen, selling it first lets the owner claim the capital loss and give the cash.

Naming Successor Advisors Keeps the Giving Going

Most sponsors let you name successor advisors, so your children can keep recommending grants after you’re gone. With the 2026 estate tax exclusion at $15,000,000, few retirees will owe estate tax. For most families, the return from these funds comes from the income tax savings.

How much to give, which shares to use and when to make the gift are worth working through with a CPA or fiduciary advisor before December 31. We walked through donor-advised funds, QCDs and appreciated-stock gifts together in a free guide to tax-smart charitable giving for anyone considering the full menu.

Contact [email protected] for any questions or corrections.

Vilma Rios

Vilma Rios is a tax professional and tax content contributor with more than 15 years of experience in tax and accounting. She specializes in federal tax research, tax education, and translating complex tax rules into clear, practical information for individuals, families, and small-business owners.
Vilma is a Content Tax Contributor II with the National Association of Tax Professionals (NATP), where she contributes to tax education and professional content. She has also presented tax information through webinars, including Spanish-language tax education, and has appeared on Telemundo 47 discussing tax topics and helping viewers understand important tax-filing requirements.
Her experience also includes tax and accounting work, tax research, IRS-related matters, and public tax education. While in college, Vilma volunteered in an IRS-sponsored tax assistance program and was recognized for her community service by local and state officials.
Known as “Your Tax Geek,” Vilma is passionate about making taxes easier to understand and helping people navigate an increasingly complex tax system.

All articles →