Skip to main content

The Money Overview

Give appreciated stock to charity and skip the capital-gains tax entirely

Investors sitting on years of stock gains face a straightforward choice every tax season: sell the shares and hand a slice to the IRS, or donate them directly to a qualifying charity and owe nothing on the appreciation. Under the federal tax code, donors of long-term appreciated stock can generally deduct the full fair market value of the gift while bypassing capital-gains tax on the built-in profit. The mechanic is well established in statute, but it takes on fresh relevance as equity portfolios carry large unrealized gains and the 2026 filing window approaches.

How the stock-donation tax break works under Section 170

The core rule is simple. When a taxpayer donates property other than cash, the deduction generally starts at fair market value at the time of the contribution, as set out in IRS charitable contribution guidance. If the property has appreciated, adjustments may apply, but for publicly traded stock held longer than one year, the most favorable treatment kicks in. The donor claims the full market price as a deduction and never recognizes the capital gain that would have been taxable in a sale.

The statutory definition matters here. Under 26 U.S.C. Section 170(e)(5)(B), “qualified appreciated stock” means publicly quoted stock that is capital gain property. That distinction separates shares listed on major exchanges from closely held business interests or collectibles, which face tighter rules and potential valuation haircuts. A nonpartisan analysis by the Congressional Research Service, available through a Congress report, confirms that donors may deduct the value of most appreciated assets without including capital gains in income.

The benefit is not unlimited. Federal regulations impose a 30% of adjusted gross income ceiling on deductions for contributions of long-term capital gain property in any single tax year. Excess amounts can be carried forward for up to five additional years, but the annual cap means high-value gifts may take several filing cycles to absorb fully. That 30% threshold, codified in 26 CFR Section 1.170A-8, is lower than the 60% AGI limit available for cash donations, creating a real tradeoff for donors choosing between the two forms of giving.

Why the avoided tax amplifies charitable giving

The economic logic is direct. Consider a donor with shares worth $50,000 that were purchased for $10,000. Selling those shares first would trigger federal capital-gains tax on the $40,000 profit, reducing the amount available to give. Donating the shares outright preserves the full $50,000 for the charity and generates a $50,000 deduction, subject to the 30% AGI cap. The tax savings on the avoided gain effectively subsidizes a larger gift than the donor could make with after-tax cash proceeds.

This structure also changes how donors think about their portfolios. Appreciated stock that might otherwise be hard to part with-because of the tax bill tied to a sale-can become a preferred funding source for philanthropy. In many cases, donors then use available cash to repurchase similar holdings, effectively resetting their tax basis while maintaining their market exposure. The combination of a deduction and permanently avoided gain can produce a lower after-tax cost of giving, particularly for taxpayers in higher brackets.

The role of donor-advised funds

Donor-advised funds have become a common vehicle for executing these transfers. The IRS describes a donor-advised fund as a separately identified account maintained by a sponsoring public charity, with the donor retaining advisory privileges over distributions. When appreciated stock is contributed to such a fund, the donor generally secures the deduction in the year of the gift, assuming all other requirements are met, even if grants to operating charities occur later.

This timing flexibility can be especially valuable around years with unusually high income, such as a business sale or large bonus. Donors can “front-load” several years of anticipated giving into a single contribution of appreciated securities, maximizing use of the itemized deduction in that peak year while mapping out grants to nonprofits over a longer period. The sponsoring organization typically handles liquidation of the stock, simplifying administration and ensuring that capital gains are realized inside a tax-exempt entity rather than on the donor’s return.

Practical guardrails for taxpayers

Despite its appeal, the strategy comes with guardrails. To qualify for the favorable treatment, the stock must generally be held for more than one year; short-term holdings are typically limited to a deduction at cost basis, erasing the advantage of donating appreciation. The recipient must be an eligible charitable organization, and donors need proper written acknowledgments for larger gifts to substantiate deductions.

Taxpayers also need to weigh whether they will itemize deductions for the year in question, since the benefit of a stock donation is realized through itemizing rather than the standard deduction. Coordination with other charitable contributions matters as well, because the 30% AGI ceiling for capital gain property interacts with the higher limit for cash gifts. In some cases, splitting support between appreciated stock and cash can optimize overall tax results while meeting philanthropic goals.

For investors with substantial unrealized gains and consistent charitable intentions, donating long-term appreciated stock remains one of the most efficient ways to align tax planning with giving. The rules are technical, but the underlying trade is clear: shift appreciated assets directly to charity, let the nonprofit bear no tax on the gain, and use the deduction to reduce the donor’s taxable income within the statutory limits.

Free for readers: The free Retirement Shield newsletter sends plain-English help keeping more of your money in retirement — the scams to dodge, the benefits you’re owed, and what’s changing with Social Security and Medicare, a couple times a week. Get the free newsletter.