Select your local site for products and services by region

Americas

Asia Pacific

Europe

Location not listed?

Tax management

Tax strategy: Donate appreciated stock

August 11, 2025 - 7 min

In March of every year, I have a ritual of digging through my center console looking for donation slips from Goodwill. There’s a donation center about a mile away from our house, so every few months I stop by to drop off kids’ clothes as we make room for the next size up, grab a donation slip, and stuff it in the console. Those little pieces of paper are valuable during tax time, as the IRS lets taxpayers deduct charitable contributions.

While some charitable organizations, like Goodwill, take donations in-kind, most prefer cash donations. They’re also happy to accept marketable securities, which can offer a bigger tax break to donors when appreciated securities are donated in lieu of cash. Taxpayers can avoid paying the capital gains tax on the security donated and also deduct its current market value instead of what they paid for it.

 

The Devil’s in the donation details

The most important thing to know about this rule, and this may be news to some, is that this applies only to securities held for over a year. If you bought a stock last week, it doubles, and you wanted to donate it, you’ll get to deduct only your cost basis (although the charity will get the full market value). Since the short-term capital gains rate is higher than the long-term rate, being able to donate short-term winners would be a better deal for the taxpayer, but the IRS isn’t that generous.

The example in Table 1 shows what a $10,000 donation would look like under three different scenarios. Starting from the left is the simple cash donation. Assuming the taxpayer is in the top 37% tax bracket, he or she will get to itemize a $3,700 charitable contribution deduction on Schedule A. If instead, the taxpayer sold $10,000 in stock and donated the proceeds, he or she would still get the $3,700 deduction but would have a tax bill of $1,190, paying 23.8% in long-term capital gains tax on the $5,000 appreciated value (assuming the stock doubled).

The ideal tax-efficient scenario is illustrated in the right-hand column. Donate $10,000 worth of shares, avoid paying $1,190 in long-term capital gains tax and get the $3,700 deduction. When the charity receives the shares, it will liquidate immediately and use the cash for operations or invest according to its own endowment asset allocation, avoiding gains tax as a tax-exempt entity.

 

Table 1 – $10,000 donation: Three scenarios

Source: Natixis Investment Managers Solutions. For illustrative purpose only. Assumes the stock has a cost basis of $5,000 and would otherwise receive long-term gains treatment. Assumes 37% income tax rate and that the $10,000 charitable contribution reduces income by the same amount. Assumes 23.8% (20% capital gains tax + 3.8% net investment income tax) paid on $5,000 capital gain.

 

Choosing the best shares to donate

If an investor wants to donate securities, which shares should they donate? If the funding source is an S&P 500® Direct Indexing account, the taxpayer will have about 150 stocks to select from and multiple tax lots in each.

The most tax-efficient way is to sort the tax lots (i.e., not just the aggregate stock) by unrealized long-term capital gains. And then determine how many shares are required to meet the charitable funding goal. In Table 2, we assume a $15,000 donation is desired. If we just looked for the stock with the largest unrealized gain by percentage, we’d select O’Reilly Automotive with an 89% unrealized gain as the most beneficial stock to donate.

 

Table 2 – Portfolio stocks with highest unrealized gains

Source: Natixis Investment Managers Solutions

 

But we need to focus on the tax lots instead. When you peel back the onion one more layer, you see in Table 3 that there are actually 56 shares of Adobe that have a larger embedded gain, even though Adobe, in aggregate, wasn’t in the top five based on percentage unrealized gains.

 

Table 3 – Portfolio tax lots with highest unrealized gains

Source: Natixis Investment Managers Solutions

For a $15,000 donation, about half the Adobe shares from the June 10, 2013, lot will do the trick. Specifically identifying these shares with the custodian and directing that they be transferred to the charity will provide the maximum tax benefit by avoiding the realization of nearly $13,000 in taxable income.

 

Evaluating other choices

If the investor isn’t that concerned about optimal tax efficiency, however, he or she might just look at the tax lots with a market value near $15,000 as shown in Table 4. In that case, they’d exclude Apple because it doesn’t have a gain. The Microsoft shares from April 20, 2023, also aren’t a good option, because those gains are still shorter term in nature. Donating all of those shares would provide the taxpayer only with a deduction equal to the cost basis of $11,729 instead of the full $17,288 market value. Of the remaining options, the 245 Mondelez shares purchased October 30, 2008, would be the best choice, with a 74% unrealized gain. Again, not optimal, but maybe a little easier administratively.

 

Table 4 – Portfolio tax lots with market value in the $15,000 range

Source: Natixis Investment Managers Solutions

 

The direct indexing advantage

Investors using direct indexing strategies are accustomed to the tax efficiency of separately managed accounts (SMAs), where they own individual stocks and with different tax lots. These tax lots – a record of the security and number of shares purchased on a specific date – allow portfolio managers to systematically tax loss harvest throughout the year to offset current and future portfolio gains.

The cash raised from taking tax losses is used to create a new basis in a different position. As equity markets rise over time, this has the effect of creating a portfolio of long-term winners with embedded unrealized gains. These long-term winners are ripe for being donated. And if the client can add cash back into the account to replenish the donated security, he or she can keep the direct indexing tax loss harvesting engine running longer.

Performing due diligence on charitable organizations is beyond the scope of this article. But suffice it to say: Make sure the organization is a registered charity so that you can get the tax write-off. Organizations such as Charity Navigator, GuideStar and Charity Watch provide resources to determine how effective the organization is in extracting value from each dollar donated, i.e., more goes to the intended purpose and less goes to overhead or fundraising costs. And if you want to get further into the weeds, the IRS makes Form 990 available for inspection – that’s the tax return that charities must file.

 

Caveat: For itemizers only

The Tax Cuts and Jobs Act of 2017 limited the number of taxpayers benefiting from the ability to donate appreciated shares by raising the standard deduction. The Tax Foundation estimates that raising the standard deduction removed 46 million itemizers. To be able to deduct a charitable contribution on Schedule A, you need to be itemizing deductions. In 2025, that means total itemized deductions must exceed the standard deduction of $30,000 for married couples filing jointly. However, if a taxpayer can’t meet that threshold in a particular year, he or she can bunch donations in one tax year to meet it. For example, instead of donating $5,000 per year and not exceeding the standard deduction threshold, the taxpayer can donate $15,000 in year one and nothing in years two and three. A donor-advised fund can be helpful in executing a bunching strategy.

Another detail to consider is that long-term capital gains property deductions, like marketable securities, are limited to 30% of adjusted gross income (AGI). So, if a taxpayer’s AGI is $400,000 he or she can only deduct $120,000 in charitable contributions of property. However, if charitable contributions exceed the 30% limit for the year, the excess contributions can be carried forward and deducted over the next five years.

Donating appreciated long-term stock can be very beneficial to both taxpayers and the charitable organization receiving the shares. We like to say that tax loss harvesting isn’t just an end-of-year activity – and the same holds true for charitable donations. Consider donating stock throughout the year when gains exist, and keep good records for when tax time rolls around.

Natixis Investment Managers | Solutions

Natixis Investment Managers Solutions provides design, development and execution of portfolio strategies tailored to clients’ specific investment objectives and unique portfolio constraints.

CFA® and Chartered Financial Analyst® are registered trademarks owned by the CFA Institute.

Tax loss harvesting is a strategy for selling securities that have lost value in order to offset taxes on capital gains.

The S&P 500® is widely regarded as the best single gauge of large-cap U.S. equities. The index includes 500 leading companies and covers approximately 80% of available market capitalization.

Capital gain is a rise in the value of a capital asset (investment or real estate) that gives it a higher worth than the purchase price. Capital loss is the financial loss incurred when a capital asset is sold for less than its original purchase price.

An unrealized gain is an increase in the value of an asset or investment that an investor holds, such as an open stock position. An unrealized loss is a decrease in the value of an ongoing investment.

A tax lot is a record of all transactions and their tax implications (dates of purchase and sale, cost basis, sale price) involving a particular security in a portfolio.

This material is provided for informational purposes only and should not be construed as investment advice. Investors should not make choices solely on the content contained herein, nor should they rely on this information to apply to their specific situation or any specific investments under consideration. This is not a solicitation to buy or sell any specific security.

Any opinions or forecasts contained herein reflect the subjective judgments and assumptions of the authors only and do not necessarily reflect the views of Natixis Investment Managers, or any of its affiliates. There can be no assurance that developments will transpire as forecasted and actual results will be different.

Although Natixis Investment Managers Solutions believes the information provided in this material to be reliable, it does not guarantee the accuracy, adequacy, or completeness of such information.

NIM-07312025-etx8sk7e