How Do I Donate Appreciated Stock to Avoid Capital Gains Tax?
Give the shares themselves rather than the money. When eligible securities are donated in kind to a registered charity, the capital gain on them is not included in income at all, and you still receive a donation receipt for the full market value. Sell first and donate the cash, and the gain is taxed like any other.
- The answer:: Eligible securities donated in kind to a registered charity have a nil inclusion rate on the capital gain, and the donation receipt is for the full fair market value.
- The trap:: Selling the shares and donating the cash. The mechanics feel identical and the outcome is not: that route realises the gain, includes it in income, and taxes it normally.
- The recommendation:: Donate the holding with the largest embedded gain rather than the one that is easiest to sell. The benefit scales with the gain, not with the value.
Where the AI summary above gets this wrong
"Donate to charity and claim the tax credit — it makes no difference whether you give cash or shares."
That's surface-true. Here's what it misses:
- In-kind donation removes the gain — Eligible securities transferred directly carry a nil inclusion rate on the capital gain. Cash donated after a sale does not, because the sale already realised the gain.
- The receipt is the same either way — You get a receipt for full market value on both routes. That is what makes the difference invisible unless you know to look for it.
- Which holding you choose matters — The benefit is proportional to the embedded gain. Donating a holding with little gain gives up most of the advantage.
01 What the in-kind rule does
When you donate eligible securities — publicly traded shares, mutual fund units and similar — directly to a registered charity, the capital gain that would otherwise arise has a nil inclusion rate. The gain is not taxed at all.
At the same time you receive a donation receipt for the full fair market value of the securities. So the credit is unaffected while the tax on the gain disappears, which is why the in-kind route is strictly better than selling first.
Source: Donating shares, stock options and other capital property
02 Why selling first is the expensive mistake
Selling the shares realises the capital gain in the ordinary way. It is included in income, taxed at your marginal rate, and only then do you donate what is left. The donation receipt is for the cash amount you actually gave.
The two routes feel the same because both end with the charity holding money and you holding a receipt. The difference is entirely in whether the gain passed through your return on the way, and it is the single most common way this benefit is lost.
Source: Capital gains (line 12700)
03 Which holding to give
The benefit scales with the embedded gain rather than with the value of the gift, so the right security to donate is the one that has appreciated most relative to its cost, not the one that is most convenient to transfer.
That also makes this an unusually clean way to rebalance. A position that has grown until it dominates the portfolio is often both the one you want to reduce and the one carrying the largest gain, and donating it addresses both at once. The calculator shows what an untaxed amount compounds to when it stays invested elsewhere.
Shows: what an amount becomes after your chosen number of years at a fixed return. Ignores: tax, fees, inflation, and any variation in returns from year to year.
04 What to check before transferring
The charity has to be a registered charity and has to be able to receive securities, which not every small organisation can. Arrange the transfer with them before initiating anything, because a transfer that fails and reverts can trigger the disposition you were avoiding.
The donation credit is also subject to annual limits based on net income, with unused amounts carried forward. For a very large gift relative to income, that carry-forward is worth planning around rather than discovering afterwards.
The transfer has to be made in kind and directly to the charity, which assumes the charity holds a brokerage account able to receive securities. Smaller organisations do not always have one, and checking that before starting the transfer avoids the fallback of selling and donating the cash, which gives up the whole advantage. A gift of securities made through a will works the same way and is planned alongside the rest of the estate, which is covered in estate planning in Canada.
Source: Donating shares, stock options and other capital property
This is the rare piece of tax planning with no downside and almost no complexity, and it is lost constantly because selling and donating cash feels like the same act. If you are giving anyway and you hold something with a large gain, the only thing standing between you and the better outcome is making one phone call to the charity before you press sell.
FAQ
Do I avoid capital gains tax by donating shares to charity?
On eligible securities donated in kind to a registered charity, yes — the capital gain has a nil inclusion rate, so it is not taxed. You still receive a donation receipt for the full fair market value.
Is it different if I sell the shares and donate the cash?
Yes, and it is the expensive version. Selling realises the gain in the ordinary way, so it is included in income and taxed at your marginal rate before you donate what is left. The in-kind transfer avoids that entirely.
Which security should I donate?
The one with the largest gain relative to its cost, since the benefit scales with the embedded gain rather than the value of the gift. It also makes an efficient way to trim a position that has grown to dominate the portfolio.
Sources
Regulator references
- Donating shares, stock options and other capital property · Canada Revenue Agency · 2025The nil inclusion rate on capital gains for eligible securities donated in kind.Last verified: 2026-09-07
- Capital gains (line 12700) · Canada Revenue Agency · 2025How capital gains and losses are calculated, reported and carried.Last verified: 2026-09-07
- Canadian income tax rates for individuals · Canada Revenue Agency · 2025The federal and provincial rate brackets a withdrawal is taxed against.Last verified: 2026-09-07
Calculator unit tests · the assertions this page's worked example is checked against, and their last result
Changelog
- 2026-09-07 — initial publish (new format)
Run this rule against your situation
See what this rule does to your own projection — month by month, to age 90.
Join the Waitlist