Older investors who have held a stock or fund for years often sit on a large paper gain they are reluctant to touch, because selling it means handing a slice to the tax collector. For anyone who already gives to charity, there is a way to move that appreciated investment without ever paying the capital-gains bill. Donating the shares directly, rather than selling them and giving the cash, lets the full value reach the charity and still produces a deduction for the giver.
Why giving the shares beats giving the cash
The mechanics turn on one difference. When an investor sells a stock that has grown in value and held it longer than a year, the profit is a long-term capital gain and is taxed, a treatment the IRS spells out in its guidance on capital gains and losses. Selling first, then donating what is left, means the gift is smaller because tax has already come out of it.
Handing the shares themselves to a qualified charity skips that step entirely. The charity, as a tax-exempt organization, can sell the stock without owing capital-gains tax, so the whole value goes to work. The donor, meanwhile, generally deducts the fair market value of the shares on the day of the gift, not the lower price originally paid for them. The result is two benefits from a single move: the embedded gain is never taxed, and the deduction reflects the full current value.
Free retirement updates: In retirement, a single number in the right column, from a capital-gains rate to a required distribution, can move hundreds of dollars a year. The Retirement Shield newsletter explains those numbers in plain English, at no cost. Get the one number that can save real money each month.
The rules that make the deduction hold up
The strategy only works within the boundaries the IRS sets. The security must be long-term, meaning held more than a year; donating a stock owned for less than that limits the deduction to what was paid for it, erasing the advantage. The recipient must be a qualified organization, the kind of public charity described in the IRS rules on charitable contribution deductions. And the write-off is available only to taxpayers who itemize; those who take the standard deduction get no separate benefit from the gift itself, though they still avoid the capital-gains tax on the appreciation.
There are ceilings, too. Deductions for appreciated property given to public charities are capped at a percentage of adjusted gross income each year, with any excess carried forward to future years. A gift above a set dollar amount requires a written acknowledgment from the charity, and larger noncash gifts can require a qualified appraisal. The charity’s own paperwork and a broker’s transfer record are what document the value, so the transfer should be made directly from the brokerage account to the charity rather than routed through a sale.
Where the move fits a retiree’s wider plan
For older savers, the tactic does more than fund a favorite cause. It is a way to trim a concentrated position, an oversized holding in a single company or fund, without triggering the tax bill a sale would create. A retiree who has watched one stock balloon into an outsized share of the portfolio can give some of it away, reduce that risk, and support a charity, all in one transaction.
The approach also pairs with tools built for regular givers. A donor-advised fund lets someone contribute appreciated shares in a single year, claim the deduction that year, and then recommend grants to charities over time. That can be useful for a household bunching several years of giving into one year to clear the itemizing threshold. The core tax treatment is the same: the appreciated security goes in, the capital-gains tax is avoided, and the fair-market-value deduction applies in the year of the contribution.
The mistake that quietly wastes the benefit
The most common error is selling the stock first. Once an investor sells, the capital-gains tax is locked in, and donating the after-tax cash captures only the deduction, not the tax savings on the gain. The order matters: the shares have to leave the account as shares. Investors weighing the move typically confirm the holding period, verify the charity’s tax-exempt status, and coordinate the transfer with both the broker and the receiving organization before year-end, since the gift counts for the tax year in which the shares actually change hands.
The tactic also has a natural counterpart worth knowing. Appreciated shares are what belong in a charitable gift; investments sitting at a loss are not. A holding that has fallen below its purchase price is better sold, so the loss can offset other taxable gains, with the resulting cash then donated. Matching the right asset to the right move, giving the winners and selling the losers, is what turns ordinary generosity into an efficient part of a retiree’s tax planning.
Used correctly, it is one of the few strategies that rewards patience with an investment. The longer a stock has grown, the larger the untaxed gain, and the more a direct donation delivers, both to the cause and to the giver’s own tax return.
This article was researched and drafted with the assistance of AI and reviewed by The Financial Wire editorial team.
More Financial Reading
- How many CDs can you park at 1 bank? FDIC rules you must know
- What really happens to your joint savings account when you die?



