• 6 mins read
  • Published

Donating Stock Offers a Tax Edge Over Selling for Investors

Jane Quinn Financial markets and personal finance editor FinancialSumo

Post by Jane Quinn

Donating Stock Offers a Tax Edge Over Selling for Investors FinancialSumo © financialsumo.com
Donating Stock Offers a Tax Edge Over Selling for Investors © financialsumo.com

Investors sitting on big gains in tech and AI stocks face steep tax bills if they sell. Vanguard and Fidelity now point to a donation strategy that can erase capital gains and reset cost basis for future growth

Investors planning to sell appreciated stocks at year-end to avoid capital gains tax may face an unexpected setback: the true deadline for tax benefits arrives weeks before December 31. Missing this window can result in a larger tax bill, as the IRS determines eligibility based on when shares reach the charity or donor-advised fund (DAF), not when the sale is initiated. According to TheStreet, both Vanguard and Fidelity are advising clients to consider a direct donation strategy that can eliminate capital gains tax-provided the transfer is completed on time.

Rather than selling appreciated shares and incurring capital gains tax, investors can transfer those shares directly to a DAF. This approach allows for a deduction equal to the full market value of the donated shares and avoids tax on the appreciation. For investors who purchased tech or AI stocks years ago, this can mean saving thousands of dollars per transaction.

For long-term appreciated stocks donated to a donor-advised fund, the deduction is generally capped at 30% of adjusted gross income, and any excess can be carried forward for up to five years.

Council on Foundations

Mechanics and Timing

The IRS recognizes the deduction only in the year the shares are received by the charity or DAF. Transfers between brokerages typically require five to ten business days, and late December holidays can further reduce this window. If the transfer settles after December 31, the deduction applies to the following tax year, with no exceptions. Publicly traded stocks valued under $500,000 do not require a formal appraisal, but the process and timing can still challenge last-minute donors.

Fidelity's guidance adds another layer: after donating the lowest-cost-basis shares, investors may use cash to repurchase the same stock, thereby reestablishing their position at a higher cost basis. This resets the embedded gains, reducing future tax liability on subsequent sales. The wash-sale rule, which prevents loss deductions on repurchased shares, does not apply to gifts, so this donate-and-repurchase strategy is permitted under current law.

Tax Impact and Practical Example

For example, an investor who bought $20,000 of stock two decades ago that is now worth $50,000 would face approximately $7,140 in combined federal capital gains tax and Medicare surtax on the $30,000 gain if selling and donating the cash, based on current rates. Donating the shares directly eliminates this tax and provides a deduction for the full $50,000 value. For concentrated positions in high-growth stocks such as Nvidia, donating the lowest-basis lots maximizes the deduction and removes the largest embedded gains.

The IRS requires a separate written acknowledgment from the sponsoring organization of a donor-advised fund, confirming that it has full legal control over the contributed assets. This documentation is essential for substantiating the charitable deduction.

To ensure the intended tax outcome, investors must specify which tax lots to donate; otherwise, the default first-in, first-out method may leave the largest gains untapped. Brokerages require clear instructions, and the IRS bases the deduction on the settlement date, not the initiation date. Missing the deadline means waiting another year to claim the benefit.

Policy Shifts and New Hurdles

Beginning in 2026, the One Big Beautiful Bill Act introduces a 0.5% adjusted gross income (AGI) floor for itemized charitable deductions. Only contributions exceeding this threshold are deductible, and married joint filers must surpass a $32,200 standard deduction to itemize. Donors can consolidate several years of planned giving into a single large DAF contribution to meet both requirements in one year. The deduction for appreciated securities remains capped at 30% of AGI, with any excess eligible for a five-year carryforward.

For investors seeking to maintain exposure to favored stocks while reducing future tax exposure, the donate-and-repurchase strategy provides an opportunity to reset cost basis without triggering the wash-sale rule or losing market participation. However, the process is time-sensitive and requires careful execution. The IRS does not permit retroactive deductions if the transfer settles late, and failing to meet the AGI floor or standard deduction threshold can negate the benefit.

Editorial Analysis

Vanguard and Fidelity's recommendations reflect a shift in strategy for investors with significant embedded gains. The donate-and-repurchase approach is a structured use of the tax code, not a loophole, and demands careful planning and timely action. For those who have benefited from the rise in AI and tech stocks, this method offers a way to realize gains, support charitable causes, and reset for future growth without incurring unnecessary tax. Ignoring the timing or new AGI rules can result in lost opportunities, while proactive planning can turn a potential tax burden into a strategic advantage.

According to IRS data for tax year 2024, the top federal long-term capital gains rate is 20%, with an additional 3.8% Medicare surtax for high earners. The standard deduction for married joint filers will be $32,200 in 2026, and the AGI floor for charitable deductions is set at 0.5% under the One Big Beautiful Bill Act. These thresholds underscore the importance of timing and documentation for donors using appreciated stock.

Donor-advised funds have become a key tool for tax-efficient charitable giving. Unlike cash donations, contributing appreciated securities allows investors to avoid capital gains tax and claim a deduction for the full market value. However, DAFs are not suitable for every household; they require diligent recordkeeping, a clear giving strategy, and sufficient taxable gains to justify the process. For investors with highly appreciated assets, the DAF approach can provide both tax relief and philanthropic impact-if executed with care.

For further details on the timing and valuation of stock gifts, the Council on Foundations guidance notes that the tax value of a stock donation is determined by the date the gift is considered complete for federal tax purposes, which is critical for year-end planning.

Related articles