Donor-Advised Fund Timing at Business Sale: Pre-Close Math
The single most powerful pre-sale charitable strategy in the tax code is the pre-close contribution of appreciated stock to a Donor-Advised Fund. IRC sec. 170(b)(1)(C) lets a donor deduct the full fair market value of long-term appreciated property (up to 30 percent of AGI for cash, 20 percent for capital-gain property to a private foundation; 30 percent for cash to a DAF or public charity, 30 percent for capital-gain property), and the donor pays zero capital gains tax on the contributed shares. On a $5M contribution of stock with $50K of basis, the founder simultaneously eliminates $1.18M of federal capital gains tax AND gets a $5M itemized deduction worth up to $1.85M of additional tax savings at the 37 percent ordinary bracket. The catch: the contribution must occur BEFORE a binding sale agreement is in place. Under the anticipatory-assignment-of-income doctrine (Lucas v. Earl, Helvering v. Horst, and Rev. Rul. 78-197), if the stock is contributed AFTER the founder has fixed the right to sell, the IRS imputes the gain back to the founder and the strategy collapses. Timing is everything.
The Donor-Advised Fund contribution of appreciated pre-sale stock is one of the most leveraged moves in the tax code for charitably-inclined founders. A $5M contribution of stock with $50K of basis produces approximately $3M of combined federal tax savings — roughly $1.18M of capital gains tax avoided plus $1.85M of itemized-deduction value at the 37 percent bracket. The founder gives $5M to charity and gets back $3M of tax savings, for a net cost of $2M. Compared to giving $2M in cash post-sale (no capital gains avoided, deduction worth $740K at 37 percent), the pre-sale stock contribution produces 4 to 5 times the charitable impact for the same out-of-pocket cost.
The strategy depends entirely on timing. Contributed before a binding sale agreement, the gain disappears and the FMV deduction is real. Contributed after the LOI is signed or after a definitive agreement is in place, the IRS invokes the anticipatory-assignment-of-income doctrine and recharacterizes the contribution as a sale by the donor followed by a cash contribution — collapsing the entire tax benefit. Most founders learn about the timing rule from their tax advisor 60 days before close, after the LOI has been signed, at which point the strategy is unavailable.
The sec. 170 mechanics: FMV deduction without recognizing gain
IRC sec. 170(a) allows a deduction for charitable contributions made to qualified organizations. For long-term capital-gain property (assets held more than one year that would generate long-term capital gain if sold), the deduction equals the property's fair market value at the contribution date — NOT the donor's basis. Sec. 170(e) carves out specific exceptions for short-term property and certain types of property (inventory, ordinary-income property), but appreciated long-term capital-gain stock contributed to a public charity (or DAF, which is treated as a public charity) gets the full FMV deduction.
The taxpayer does not recognize gain on the appreciation — Treas. Reg. sec. 1.170A-1(c)(1) and the cases interpreting it (e.g., Rev. Rul. 55-138, Pal v. Commissioner) confirm that the contribution itself is not a realization event. The charity receives the appreciated stock at the FMV, can sell it tax-free as a 501(c)(3) organization, and the donor has effectively transferred the embedded gain to a tax-exempt entity.
The combined federal tax savings on a $5M contribution of stock with $50K of basis to a DAF:
- Embedded gain avoided: $4,950,000 × 23.8% = $1,178,100
- Itemized deduction value at 37% ordinary bracket (assuming high AGI): $5,000,000 × 37% = $1,850,000
- Combined federal tax savings: $3,028,100
- Net cost of $5M charitable contribution: $5,000,000 − $3,028,100 = $1,971,900
The anticipatory-assignment-of-income trap
The IRS and courts use the anticipatory-assignment-of-income doctrine to prevent donors from achieving the favorable tax result by contributing assets after the income is essentially fixed. The leading cases:
- Lucas v. Earl (281 U.S. 111). The original anticipatory-assignment case: a taxpayer who assigned future earned income to another could not escape tax on those earnings.
- Helvering v. Horst (311 U.S. 112). Extended Lucas to detached interest coupons; the donor who detaches and gifts an interest coupon is taxed on the interest as if the coupon had not been gifted.
- Rev. Rul. 78-197. Applied the doctrine to charitable contributions of stock subject to a tender offer: if the donor had "effective control over the disposition" of the stock at the time of contribution, the gain is imputed to the donor.
- Ferguson v. Commissioner (174 F.3d 997, 9th Cir. 1999). Held that stock contributed to a DAF after a tender-offer agreement was substantially certain to close triggered anticipatory assignment. The Ferguson taxpayers had contributed shares 30 days before the tender offer's expiration; the court treated the gain as the donors'.
- Rauenhorst v. Commissioner (119 T.C. 157). Held that contribution of stock subject to a tender offer that was conditioned on shareholder approval was NOT anticipatory assignment because the sale was still uncertain at the contribution date. Distinguishes Ferguson by emphasizing the genuine uncertainty test.
The IRS's test, distilled from these authorities: at the time of contribution, was the sale "substantially certain" to close? If yes, anticipatory assignment applies and the gain is imputed to the donor. If no — if the donor still had a real ability to retract the contribution and sell the stock themselves, or if the deal genuinely could fall through — the contribution is respected.
Timing recommendations: safest to riskiest
- Safest: 12+ months before any sale discussion. Contribute the stock to the DAF well before any thought of sale. No buyer is engaged, no investment banker is hired, no LOI exists. The contribution is unambiguously charitable; the sale (if it occurs later) is a separate transaction. The DAF (which becomes the owner) decides whether to sell.
- Safe: 6 to 12 months before close. Sale discussions may be underway but no binding agreement is in place. The founder retains genuine ability to call off the sale. The DAF is a beneficial owner with real discretion over whether to sell. The IRS has not successfully challenged contributions in this window where the contribution preceded the LOI.
- Risky: 3 to 6 months before close, after LOI but before definitive agreement. The LOI typically contains break-up provisions and is non-binding on price and other terms. Courts have split on whether contribution after LOI but before definitive agreement triggers anticipatory assignment. The defense requires showing the deal was still genuinely uncertain — financing contingencies, regulatory approvals, due diligence outcomes.
- Dangerous: After definitive purchase agreement. Once the definitive agreement is signed, the sale is substantially certain (only closing conditions remain). Contributions in this window are routinely challenged and typically lose.
- Failed: After closing or escrow funding. The sale has occurred; the founder is contributing the cash proceeds, not the stock. The capital gain has already been recognized.
AGI limits and carryforward planning
The 30 percent of AGI limit on long-term capital-gain property contributions can constrain the immediate benefit of a large pre-sale DAF gift. For a founder with $1M of AGI in the contribution year, the deduction is limited to $300,000 in year one, with the remaining $4.7M carrying forward for use in years two through six.
The strategic interaction with the sale year: if the contribution is made in the same year as the sale, the founder's AGI typically explodes (capital gains from the sale flow through to AGI). A $20M sale produces $20M of AGI (or close to it, depending on basis). At $20M AGI, the 30 percent limit is $6M — easily large enough to absorb a $5M contribution in a single year.
For founders making the contribution well before the sale year (recommended for anti-assignment-of-income reasons), the smaller pre-sale AGI may limit the year-of-contribution deduction. The remaining deduction carries forward and can be used against the sale-year AGI. The five-year carryforward window under sec. 170(d)(1) is generous but not unlimited — for very large contributions (e.g., $20M-plus), the carryforward may not fully absorb the deduction unless the founder has high AGI in subsequent years.
A simple model on a $5M stock contribution to a DAF, founder AGI of $1M in contribution year, then $20M in sale year (year +2):
- Year 1 (contribution): AGI $1M, 30% limit = $300K. Deduction taken: $300K. Carryforward: $4.7M
- Year 2 (sale): AGI $20M, 30% limit = $6M. Carryforward used: $4.7M. Year 2 deduction: $4.7M. Total deduction: $5M
- Total federal tax savings at 37%: $1.85M
- Plus capital gains avoided at contribution: $1.18M
Worked example: $30M business sale with $5M pre-sale DAF contribution
Rachel founded BioOptics LLC, a Delaware C-corp, in 2018 with $200K of basis. The company has grown to a position where strategic buyers are interested. In 2025, Rachel has $1.5M of AGI from her salary and dividends, no current sale discussions, but expects to consider a sale in the next 2 to 3 years.
Rachel's tax advisor recommends contributing $5M of stock to a DAF in 2025, well before any sale process begins. Rachel's basis allocated to the contributed shares is approximately $33,333 (proportional to her overall basis). FMV at contribution: $5M based on recent secondary market valuation.
Year of contribution (2025)
- FMV of contributed stock: $5,000,000
- Embedded gain: $5,000,000 − $33,333 = $4,966,667
- Capital gain recognized to Rachel: $0 (charitable contribution, not a sale)
- Rachel's 2025 AGI: $1,500,000
- 30% AGI limit on LTCG property contributions: $450,000
- Deduction in 2025: $450,000
- Carryforward to 2026-2030: $4,550,000
- 2025 federal tax savings: $450,000 × 37% = $166,500
Year of sale (2027) — sale closes at $30M total deal value
- Rachel sells remaining shares for ~$25M (since the DAF owned $5M of pre-sale value)
- Rachel's basis in retained shares: $166,667
- Capital gain: $25M − $166,667 = $24,833,333
- Federal tax on capital gain at 23.8%: $5,910,333
- Plus other AGI (salary, dividends): $1.5M
- Total 2027 AGI: ~$26.3M
- 30% AGI limit: ~$7.9M
- Carryforward deduction used in 2027: $4,550,000 (full carryforward)
- 2027 federal tax savings from carryforward: $4,550,000 × 37% = $1,683,500
DAF perspective: $5M sells with the rest of the company
The DAF's portion of the company (the $5M of contributed shares) is sold along with the rest of the company in 2027. Because the DAF is a 501(c)(3) public charity (or treated as one), the sale is tax-free at the entity level. The DAF receives $5M in cash and Rachel can recommend grants from the DAF to operating charities over the next 20-plus years.
Cumulative federal tax savings
- Capital gains avoided on $5M contribution: $4,966,667 × 23.8% = $1,181,867
- Itemized deduction value across 2025 and 2027: $5M × 37% = $1,850,000
- Total federal tax savings: $3,031,867
- Net cost of $5M charity: $1,968,133
Counterfactual: $5M cash contribution post-close
If Rachel had waited until after the sale closed and donated $5M of cash to charity:
- Capital gains paid on full $30M sale (no DAF reduction): $7M × 23.8% = $1.67M more
- Cash contribution of $5M to DAF: $5M deduction at 37% = $1.85M tax savings (same as stock route)
- Net cost of charity: $5M minus $1.85M = $3.15M
The pre-sale stock contribution saves Rachel approximately $1.18M more than a post-sale cash contribution of the same dollar amount. That savings comes directly from avoiding capital gains on the contributed shares.
DAF mechanics: what happens after the contribution
A Donor-Advised Fund is a charitable account at a sponsoring organization (Fidelity Charitable, Schwab Charitable, Vanguard Charitable, National Philanthropic Trust, the largest DAF sponsors). The donor contributes cash or appreciated securities, takes the immediate deduction, and then recommends grants to operating charities over time. The DAF sponsor has legal control of the funds; the donor has "advisory privileges" but cannot direct the funds back to themselves.
Key features:
- Investment growth. Funds in the DAF grow tax-free. A $5M contribution invested in equities at 7 percent over 20 years grows to approximately $19.3M of charitable purchasing power.
- Recommended grants. The donor recommends grants to qualified 501(c)(3) operating charities. The DAF sponsor reviews and approves. Anonymous grants are typically permitted.
- No required payout. Unlike private foundations (which must distribute 5 percent annually under sec. 4942), DAFs have no minimum distribution requirement. The donor can grow the assets and recommend grants over decades.
- Successor advisors. The donor can name successor advisors (often children or a family foundation) to continue recommending grants after the donor's death. Most DAF sponsors allow 1 to 2 generations of successors.
- Lower administrative cost than private foundation. DAF sponsor fees are typically 0.6 to 1 percent annually plus investment expenses. Private foundations require separate tax returns, board governance, and minimum distribution administration.
Common pitfalls and how to avoid them
- Contributing after the LOI is signed. The single most common error. The LOI typically establishes the deal's major terms even though it is non-binding on price. Courts have not been sympathetic to contributions made after a substantially developed LOI. Contribute before the LOI is signed.
- Pre-arranged sale at the DAF. If the contribution is made under an understanding that the DAF will sell the stock to a specific buyer at a specific price, the IRS treats the transaction as a sale by the donor followed by a cash contribution. The DAF must have genuine discretion over whether to sell, when to sell, and at what price.
- Short-term capital-gain property. Sec. 170(e)(1)(A) limits the deduction for short-term property (held less than one year) to the donor's basis, not FMV. The strategy only works for long-term capital-gain stock.
- Contributing to a private foundation instead of a DAF. Private foundations are subject to a 20 percent AGI limit (vs. 30 percent for DAFs) and the deduction for appreciated property is limited to basis under sec. 170(e)(5). The DAF route is dramatically more favorable for appreciated stock.
- Failing to obtain a qualified appraisal. Sec. 170(f)(11) requires a qualified appraisal for non-cash contributions exceeding $5,000 (some specifics apply for publicly traded securities). For privately held stock, an independent appraisal is mandatory. The appraisal must be performed by a qualified appraiser within 60 days before the contribution date.
- Form 8283. Charitable contributions of property exceeding $500 require Form 8283 attached to the donor's tax return. For contributions exceeding $5,000, Section B of Form 8283 must be completed with appraisal details and signed by both the appraiser and the donee charity. For contributions of privately held stock exceeding $10,000, a qualified appraisal is required.
Key takeaways
- Contributing appreciated stock to a Donor-Advised Fund BEFORE a binding sale agreement under IRC sec. 170 avoids capital gains entirely AND generates a FMV deduction up to 30 percent of AGI. On a $5M contribution this is approximately $3M of combined federal tax savings.
- The anticipatory-assignment-of-income doctrine (Lucas v. Earl, Rev. Rul. 78-197, Ferguson v. Commissioner) collapses the strategy if the contribution is made after the sale is substantially certain. The safest timing is 6 to 12 months before close, before any LOI is signed.
- The 30 percent AGI limit on long-term capital-gain property contributions to a public charity or DAF can constrain the year-one deduction. A five-year carryforward under sec. 170(d) lets the donor use the deduction against future high-AGI years (the sale year typically absorbs the carryforward).
- DAFs offer lower cost, simpler administration, and no minimum payout requirement compared to private foundations. For most charitably-inclined founders contributing $1M-$50M, the DAF route dominates the foundation route on both tax efficiency and operational simplicity.
- The strategy combines well with CRTs (which add a lifetime income stream at a lower immediate deduction), with QSBS planning (contributed shares do not consume the sec. 1202 exclusion), and with post-sale estate planning (the contribution reduces the donor's taxable estate).
- Pre-sale stock contribution requires a qualified appraisal (sec. 170(f)(11)), Form 8283 with appraiser signature, and bona-fide DAF discretion over the contributed shares. Cutting corners on any of these invites IRS challenge and may collapse the deduction.
Join the 2026 tax newsletter
Decision checklists + key 2026 federal/state numbers. Free, one click.
Frequently asked
Contributing appreciated long-term capital-gain property to a public charity or DAF under IRC sec. 170(b)(1)(C) generates a charitable deduction equal to the full fair market value of the property, with no capital gain recognized to the donor. The deduction is limited to 30 percent of the donor's adjusted gross income for the year, with any excess carried forward for up to five years. For a founder contributing $5M of pre-sale stock with $50K of basis, the federal tax benefit is approximately $1.18M of capital gains tax avoided (23.8% on the $4.95M gain) plus a $5M deduction worth $1.85M at the 37% bracket — a combined tax savings of approximately $3.03M, in exchange for the $5M of stock given to charity. The donor must contribute the stock BEFORE a binding sale agreement is in place; contributions made after the LOI is signed or after a definitive purchase agreement is executed trigger the anticipatory-assignment-of-income doctrine and the gain is imputed back to the donor under Rev. Rul. 78-197.
The anticipatory-assignment-of-income doctrine (Lucas v. Earl, 281 U.S. 111; Helvering v. Horst, 311 U.S. 112) prevents a taxpayer from avoiding tax on income by assigning the right to receive that income to another party. For pre-sale stock contributions to a DAF, the IRS applies the doctrine via Rev. Rul. 78-197 and the Ferguson v. Commissioner (174 F.3d 997) case: if at the time of the charitable contribution the sale is so far advanced that the stock is effectively a 'right to receive cash,' the IRS will impute the capital gain to the donor and the DAF receives only the cash equivalent. The trigger points the IRS scrutinizes: (1) whether a binding sale agreement was executed at the time of contribution, (2) whether the sale was substantially certain, (3) whether the donee charity had any meaningful ability to walk away from the sale or hold the stock long-term, and (4) the elapsed time between contribution and sale. Contributions made 30 to 90 days before a closing where the LOI is already signed and the deal is in advanced diligence are routinely challenged. Contributions made BEFORE the LOI, when the sale is still uncertain, are generally respected. The Ferguson case held that contribution was anticipatory when made at a point where the tender offer was complete and ownership transition was effectively guaranteed.
IRC sec. 170(b)(1)(C)(i) limits the deduction for contributions of long-term capital-gain property to a public charity (including a Donor-Advised Fund) to 30 percent of the donor's contribution base (essentially AGI). For cash contributions to a DAF or public charity, the limit is 60 percent of AGI. For long-term capital-gain property contributed to a private non-operating foundation, the limit is 20 percent of AGI, and the deduction is based on basis rather than FMV under sec. 170(e)(5) — making the public-charity/DAF route dramatically more favorable for appreciated stock. Excess contributions over the AGI limit carry forward for up to five years under sec. 170(d)(1). For a founder with $2M of AGI in the contribution year (including the sale gain), a $5M stock contribution generates a current-year deduction of $600,000 (30% of AGI) with $4.4M carried forward to use against AGI in years two through six. If the sale itself produces high AGI (e.g., $20M of capital gain), the AGI limit is much higher and the full $5M contribution may be usable in the contribution year.
The safest timing is BEFORE the LOI (letter of intent) is signed and before any term sheet or written sale agreement is in place. At that point, the sale is uncertain — the founder may decide not to sell, the buyer may walk away, or the deal terms may change materially. Rev. Rul. 78-197 requires that the sale not be substantially fixed at the time of contribution. The most defensive strategy: contribute the stock 6 to 12 months before any sale discussion begins, before any buyer outreach, before any investment-banker engagement. This is the timing recommended by most ESOP and DAF advisors. The next safest strategy: contribute after preliminary discussions but before any term sheet, with the founder retaining genuine ability to walk away from the deal — typically 3 to 6 months before the eventual close. Contribution after the LOI is signed is risky; contribution after the definitive purchase agreement is in place almost certainly triggers anticipatory assignment. For founders considering a future sale within 12 to 24 months, the recommendation is to make the DAF contribution NOW, well before deal discussions begin.
DAF contributions of QSBS-qualified stock are unique because the sec. 1202 exclusion does not apply to the contributed shares — the DAF (a tax-exempt charity) does not need an exclusion since it pays no tax on the sale. The exclusion remains available for the founder's RETAINED shares. For a founder with $30M of QSBS stock and a $10M sec. 1202 cap, contributing $5M of stock to a DAF before sale leaves the founder with $25M of QSBS for which the full $10M exclusion remains available. The DAF route effectively shifts $5M of gain (which would have been taxed at 23.8% if outside the QSBS cap) to a tax-exempt entity. On state conformity: states that do not conform to sec. 1202 (California, New Jersey, Pennsylvania, Mississippi, Alabama) still tax the founder's gain on retained shares but do not tax the DAF's gain on contributed shares because the DAF is exempt from state income tax. For a California founder with $20M of gain above the QSBS exclusion, contributing $5M of stock to a DAF before sale eliminates $665K of California tax (13.3% on $5M) in addition to the federal benefit. The DAF strategy and QSBS exclusion are complementary, not competing.
Related guides
Charitable Remainder Trust at $10M+ Sale: Defer Gain Plus Income Stream
The CRT alternative to a DAF — same pre-sale contribution mechanics, but adds a lifetime income stream and smaller immediate deduction. Read together with the DAF strategy.
Asset Sale vs Stock Sale: Founder vs Buyer Negotiation
The DAF strategy works best in a stock sale where the contributed shares can be sold cleanly. Understand the deal-structure framework before sequencing the charitable contribution.
Post-Sale Wealth Deployment Playbook
The post-sale playbook intersects with the DAF strategy. A DAF created before close gives the founder a charitable grant-making vehicle for the next 20-plus years using pre-sale-funded principal.
QSBS Section 1202 Exclusion Explained
For founders with QSBS-qualified stock, the DAF contribution interacts with the sec. 1202 exclusion — contributed shares do not consume the exclusion, leaving more room for retained shares.
Federal Estate Tax Sunset 2025 Planning
Pre-sale DAF contributions reduce the founder's taxable estate. The strategy combines with estate planning to address both income-tax and estate-tax exposure.
Join the Life Money USA newsletter
Decision checklists, 2026 federal + state numbers, and our glossary. One click, free.
Join the newsletter