For appreciated publicly traded stock held more than one year in a taxable account, transferring shares directly to an eligible charity can avoid realizing the gain yourself and may support a fair-market-value deduction. Selling first generally realizes your gain, even if you then donate the cash. Holding period, recipient type, deduction limits and transfer acceptance can change the comparison.
Compare the two actual transactions
Our donor-advised fund overview describes contributing appreciated assets to a sponsor. This question concerns a direct gift to a charity, not whether you should open a DAF. First confirm that the shares are in a nonretirement account. Retirement distributions, employer-stock special rules and sales already arranged need separate analysis.
With a sale-first approach, you sell shares and receive proceeds. The sale generally creates a capital gain equal to proceeds minus adjusted basis, subject to the applicable tax rules. A later cash donation is a separate transaction. It may generate a deduction, but does not automatically cancel the gain or produce a dollar-for-dollar tax offset.
With a direct transfer, you give the shares without first selling them yourself. IRS Publication 526 explains the treatment of capital-gain property and deductions. For eligible long-term shares given to an appropriate public charity, the starting deduction can generally be fair market value, subject to limits and required records. Do not treat that as a guaranteed current-year deduction.
Use basis and holding period in the comparison
For a simplified hypothetical example, shares are worth $20,000 and have an adjusted basis of $8,000. If sold personally, the $12,000 gain is generally recognized. Donating all $20,000 of proceeds does not make the sale disappear. A direct gift of qualifying long-term shares avoids that donor sale, while the potential charitable deduction is evaluated separately.
The example does not assume a tax rate, itemization benefit or full current-year deduction. Compare both paths using the same gift value, the donor's actual income and the recipient's classification. Fees and any other transaction restrictions also belong in the comparison. A tax preparer should model the overall result rather than multiplying a headline deduction by an assumed bracket.
Stock held one year or less generally does not receive the same deduction treatment. Publication 526 explains reductions for ordinary-income property, including short-term gain that would arise on a sale. The deduction for appreciated short-term shares is generally reduced by that gain, often leaving basis rather than full market value. Verify acquisition dates for the specific lots.
A transferred gift does not erase basis records. Our carryover-basis glossary explains the general concept, but the charitable deduction follows its own valuation rules. If the shares have fallen below basis rather than appreciated, the comparison is different and is outside this page's appreciated-stock example. Do not apply the example mechanically to every holding.
Confirm acceptance and completion
Contact the charity before instructing the broker. Obtain verified receiving-account instructions, identify the exact share class and ask whether restrictions or acceptance policies apply. Confirm instructions through a trusted contact to reduce the risk of a fraudulent account change. Do not send securities to an unverified email address's account details.
Ask both institutions about processing time, the completed-gift date and acknowledgment. Submitting a request near year-end is not proof the gift was completed by December 31. IRS Publication 561 describes securities valuation; the deductible value is not necessarily your screen price when you started the request. Keep transfer confirmations, lot records and required Form 8283 reporting.
Beginning in 2026, itemizers also face a charitable-deduction floor under Public Law 119-21. Recipient and income-percentage limits remain relevant. RJP's beneficiary and charitable planning service can discuss goals and coordination; independent tax professionals compare tax outcomes. These federal considerations apply to Arizona donors, with state treatment reviewed separately. This is not a recommendation to sell or retain a particular investment. Sources checked October 22, 2026.