A gift of company stock to a charity, a donor-advised fund or a charitable remainder trust can shift that gain off your personal return and produce a deduction. It works only if the shares leave your hands while the sale can still fail, and only if the paperwork is right. Stated as of November 2026.
Can I give company stock to charity before a sale and keep the gain off my return?
A gift of appreciated company stock before a sale can keep that slice of gain off your personal return, because the charity owns the shares when the buyer pays. Section 170 allows a deduction, usually at fair market value for stock held more than a year. Everything turns on whether the sale was still uncertain.
The mechanics are simple: you transfer shares, the charity or the fund’s sponsoring organization goes on the books as owner, and the buyer later buys from that owner. You realize no gain on what you gave away. The deduction is capped by the section 170(b) ceilings, generally 30 percent of your contribution base for long-term appreciated stock given to a public charity or donor-advised fund, with the excess carried forward under section 170(d).
Two limits sit on top. Section 170(e)(1) cuts the deduction back to basis if you held the stock a year or less, and again if you give closely held stock to a private non-operating foundation, since it is not qualified appreciated stock. A donor-advised fund at a public charity avoids that second trap.
One structural point decides whether this is worth planning at all. The gain shifts only if the buyer is buying your shares. If the buyer is buying the company’s assets instead, which is ordinary at this size, the entity sells and that gain is taxed at the entity level or passed through for the period you held the stock. A charity holding shares does not move it.
The IRS attacks on three fronts: an incomplete transfer, gain already locked in, and defective substantiation. The first two cost the gain, the third the deduction.
Law: 26 U.S.C. 170(a), 170(b), 170(d), 170(e)(1).
What did Ferguson v. Commissioner decide about donating stock during a pending sale?
Ferguson v. Commissioner held that shareholders who gave appreciated stock to charities during a pending tender offer were taxed on the gain themselves. By the gift date their right to receive cash had, in the court’s word, “ripened.” The Ninth Circuit affirmed. The charities got the cash and the donors got the tax bill.
The rule is this. Once your right to receive income has ripened into a practical certainty, giving away the asset does not give away the income. Courts look at the realities and substance of events, not the labels on the documents. In Ferguson a merger agreement was signed and more than half the shares had been tendered when the gifts were completed. The donors said the offer could still be withdrawn. The court called that a formality.
That was a public company deal, and tender offer mechanics are not yours. The doctrine is not limited to public companies. The test that carries down to a private sale is Ferguson’s: had the shares become, in substance, a right to cash?
Law: Ferguson v. Commissioner, 174 F.3d 997 (9th Cir. 1999), aff’g 108 T.C. 244 (1997).
Why did the owner in Estate of Hoensheid lose both the gain shift and the deduction?
Estate of Hoensheid v. Commissioner involved an owner of a closely held company who transferred shares to a donor-advised fund shortly before closing. The Tax Court taxed him on the gain because the sale was virtually certain, and denied the deduction entirely because the valuation was not a qualified appraisal.
Three findings matter.
The first is the transfer date. The court fixed it by when the shares were actually delivered, not by the date on the assignment.
The second is timing. The sponsoring organization had no legal obligation to sell to the buyer. The court said so and taxed the owner anyway. By then negotiation was finished and the parties were moving to closing. An unsigned purchase agreement does not reset the clock.
The third is substantiation. The claimed deduction exceeded $500,000, so a qualified appraisal had to be attached to the return. The valuation came from a person connected to the transaction who lacked appraisal credentials, the report did not describe his qualifications, and it carried the wrong contribution date. The court found it substantially deficient, allowed no deduction and rejected reasonable cause. The penalty fell away only on a procedural defect in how the IRS approved it.
He paid tax on gain from shares he no longer owned, and deducted nothing for giving them away. That is the whole downside of this plan, delivered in a single case.
Law: Estate of Hoensheid v. Commissioner, T.C. Memo. 2023-34 (Mar. 15, 2023).
Does it help that the charity is not legally required to sell my shares?
A charity’s freedom to hold or sell helps, but it is not a safe harbor. Revenue Ruling 78-197 treats redemption proceeds as income to the donor only where the donee is legally bound, or can be compelled by the corporation, to surrender the shares. Outside redemptions, Hoensheid shows the inquiry runs broader.
The ruling followed Palmer v. Commissioner, where the Tax Court respected a gift of closely held stock to a private foundation the corporation later redeemed, because the foundation was not obligated to surrender the shares.
Rauenhorst v. Commissioner then held the IRS to that ruling. The donors assigned stock warrants to charities after a letter of intent had been signed, and the donees sold weeks later. The letter bound nobody to complete the sale. The Tax Court treated the ruling as a concession by the Commissioner and asked only whether the donees were obligated or could be compelled to sell when the warrants were assigned. They were not. The donors won.
Read that narrowly. It is not authority that a signed letter of intent is safe ground; the court reached that question only because the Commissioner had published the ruling, and later cases confine the concession to its facts. The rule is not “avoid a binding commitment.” It is “transfer while the outcome is genuinely in doubt, and create no side obligation to sell.”
Law: Rev. Rul. 78-197, 1978-1 C.B. 83; Palmer v. Commissioner, 62 T.C. 684 (1974), aff’d, 523 F.2d 1308 (8th Cir. 1975), acq. 1978-1 C.B. 2; Rauenhorst v. Commissioner, 119 T.C. 157 (2002).
How late in a sale process is too late to donate shares?
The later the transfer, the worse the facts. No statute draws the line, so courts weigh how close the deal was to certain on the day ownership actually changed. The table maps ordinary stages of a private sale against the factors Ferguson and Hoensheid weighed. It ranks risk, not results.
| Stage when the shares transfer | What the cases look at | Practical read |
|---|---|---|
| Before you engage a broker or go to market | No buyer, no price, no process | Strongest position. Deal risk is obvious. |
| Marketing underway, informal buyer interest only | No agreed price or terms, outcomes still open | Still strong. Document that no buyer is selected. |
| Letter of intent signed, diligence beginning | Price set, exclusivity running, deal not yet certain | Workable but weakening. The window is closing. |
| Diligence nearly complete, closing being scheduled | Realities and substance; practical certainty of cash | The Hoensheid zone. High risk. |
| Purchase agreement signed, or days before closing | Shares represent a right to cash | Assume the gain is yours. |
Most owners walk into the same trap. They decide on charitable giving after the letter of intent, once the tax bill is concrete. By then the deal is coasting to signature, which is exactly when the doctrine bites.
I ask for the signed letter of intent, the broker’s process timeline and the board or member consents before I ask what anyone thinks the shares are worth.
What paperwork does the IRS require for a gift of private company stock?
A gift of privately held stock generally requires a qualified appraisal by a qualified appraiser, a contemporaneous written acknowledgment from the recipient, and Form 8283, Section B, filed with your return. Private company stock is not a publicly traded security, so the appraisal rules apply. Stated as of November 2026.
- Qualified appraisal. Required where the claimed deduction for nonpublicly traded stock exceeds $10,000. Between $5,000 and $10,000 you complete Section B but need no appraisal. Above $500,000, attach the appraisal itself. The fee cannot be a percentage of appraised value.
- Qualified appraiser. Verifiable education and experience valuing this type of property, stated in the report, with a declaration that they qualify. Your banker or accountant is not automatically that person.
- Appraisal timing. Signed and dated no earlier than 60 days before the contribution date and no later than the due date, with extensions, of the return claiming the deduction. The contribution date must be the real one.
- Written acknowledgment. Required at $250 or more, describing the property and stating whether goods or services were given in exchange, obtained by the earlier of filing or the due date.
- Donor-advised fund extra. The acknowledgment must also state that the sponsoring organization has exclusive legal control over the contributed assets. Section B carries the donee acknowledgment and the declaration of appraiser.
Each item is independent. Perfect timing plus a deficient appraisal still means no deduction.
Law: 26 U.S.C. 170(f)(8), 170(f)(11), 170(f)(18); 26 C.F.R. 1.170A-16, 1.170A-17; IRS Form 8283 and instructions.
Does my company being an S corporation or an LLC change the plan?
Entity type changes which charitable vehicle is usable. A tax-exempt organization described in section 501(c)(3) is a permitted S corporation shareholder, but a charitable remainder trust is not. Funding such a trust with S corporation stock terminates the S election. That fact alone rules out the most discussed structure for many owners.
A charity or donor-advised fund holding S corporation stock takes its share of the corporation’s income, and gain on sale of that stock, as unrelated business taxable income under section 512(e). It pays tax on that. Some sponsors take the shares anyway and price the tax into what the fund receives. Ask in writing what the organization will accept, and read your transfer restrictions first.
If the business is an LLC taxed as a partnership, the charity inherits its own unrelated business income questions, and your deduction drops to the extent the interest holds ordinary income assets. Debt allocated to a gifted interest can turn the gift into a part sale.
I read the stock ledger and the transfer restrictions in the operating or shareholders agreement before I read anything the charity sends over.
Law: 26 U.S.C. 1361(b)(1)(B), 1361(c)(6), 512(e), 664, 170(e)(1).
What changed for charitable deductions under the law enacted in July 2025?
Public Law 119-21, enacted July 4, 2025, added two limits on individual charitable deductions for tax years beginning after December 31, 2025. The first is a floor of 0.5 percent of your contribution base under section 170(b)(1)(I). The second reduces itemized deductions for top-bracket taxpayers under section 68. Both apply to 2026.
The floor disallows contributions up to 0.5 percent of your contribution base, generally adjusted gross income. That amount carries forward only where your contributions also exceed the applicable section 170(b) ceiling that year. Otherwise it is lost. In a sale year the base is large, so the floor is too.
The section 68 rule cuts otherwise allowable itemized deductions by two thirty-sevenths of the lesser of total itemized deductions or the excess of taxable income, computed as the statute directs, over the top bracket threshold. A top-bracket taxpayer’s deductions are then worth about 35 cents on the dollar, not 37.
These provisions are new and year-specific. Confirm the current-year arithmetic with your tax advisor before you sign anything.
Law: Pub. L. 119-21, secs. 70111, 70425 (July 4, 2025); 26 U.S.C. 170(b)(1)(I), 68.
What should I do next if I want to give shares before I sell?
Charitable planning belongs in the pre-market phase of a sale, not the diligence phase. The deduction and the gain shift both depend on completing the transfer while the sale can still fall apart, and on an appraisal commissioned early enough to be independent. Three steps, in order.
- Decide before you go to market. Fix the percentage you intend to give, and the recipient, before a broker contacts buyers. Deal risk is highest then.
- Engage the appraiser early and separately. Hire a valuation professional whose education and experience valuing closely held business interests can be stated in the report. Not the person running your sale. No percentage-of-value fee.
- Complete the transfer, not just the intent. Sign the assignment, deliver the certificates, update the stock ledger or membership register, obtain the acknowledgment with the exclusive-control language for a donor-advised fund, and keep the consents.
If you are past a signed letter of intent with diligence nearly finished, price the risk honestly and do not plan around a tax result the facts no longer support.
Give the shares while the deal can still die. That is the whole rule, and it is the one piece of this plan you cannot fix afterward.
Keep reading
The Seller’s LibraryThe built-in gains tax runs five years from conversionThe DocketA federal court can freeze your no-fault arbitrations.The Seller’s LibraryYour deal costs create tax deductions the buyer may keep
Have a lawyer read it before you sign.
A sale is decided in a handful of documents you sign exactly once — the letter of intent, the working capital definition, the indemnity. There is no rush. When you want those read properly, we are here.

Before founding Prencipe International, Joe practiced at the top law firms in the world, including Freshfields Bruckhaus Deringer, Baker McKenzie, Morgan Lewis & Bockius, and served at the U.S. Securities and Exchange Commission. He has spent his career on high-stakes disputes and transactions for businesses that cannot afford to lose. He represents owners selling the company they spent a career building -- reading the letter of intent before it is signed, and the purchase agreement while there is still room to change it.
LinkedIn →
