Can I gift stocks with unrealized capital gains to charity to avoid taxes?
I've been holding some SPX index fund shares since the early 2000s, and they've done pretty well over the years. My cost basis is now less than 30% of what they're worth today, meaning about 71% of the value is unrealized capital gains. I'm thinking about making a donation to a charity I support, and I'm wondering if I can donate these shares directly to the organization instead of selling them first. Would this allow me to avoid realizing and reporting the capital gains as taxable income? If that's possible, can I then deduct the full current market value of these shares on my tax return as a charitable contribution? Or would I need to calculate the deduction differently? Also, are there any other tax implications or considerations I should know about before gifting appreciated securities to charity? I'm trying to maximize both my contribution and any potential tax benefits.
23 comments


Dmitry Petrov
Yes, donating appreciated stocks directly to charity is one of the most tax-efficient giving strategies! When you donate stocks or other investments that have gone up in value and that you've held for more than a year, you can avoid paying capital gains tax completely on those appreciated assets. Not only do you avoid the capital gains tax, but you can also deduct the full fair market value of the donated shares on your tax return as a charitable contribution (as long as the charity is a qualified 501(c)(3) organization). The deduction is generally limited to 30% of your adjusted gross income for securities, but you can carry forward any excess for up to five additional years. The charity can then sell the shares without paying any capital gains tax since they're tax-exempt. It's basically a win-win - you get a larger tax deduction than if you sold the shares and donated cash, and the charity receives the full value of your contribution.
0 coins
StarSurfer
•This seems almost too good to be true. Does this work for all kinds of investments or just publicly traded stocks? I have some investment real estate with big gains that I've been thinking about donating.
0 coins
Dmitry Petrov
•The strategy works best with publicly traded securities like stocks, bonds, and mutual funds because they're easily valued and transferred. For real estate and other non-publicly traded assets, the process is more complex. With real estate, you can still donate the property and potentially deduct the fair market value while avoiding capital gains tax, but you'll need a qualified appraisal to determine the value. There are also more administrative hurdles with transferring real estate to charities, and not all organizations are equipped to accept such gifts. Some prefer to work through donor-advised funds or specialized foundations for these more complex asset donations.
0 coins
Ava Martinez
I had a similar situation last year with some Amazon shares I'd held since 2009. I used https://taxr.ai to figure out the exact capital gains implications before making my donation. The tool analyzed my specific situation and confirmed that donating the shares directly would allow me to avoid capital gains while getting the full deduction. The platform also showed me how to properly document everything for my tax return - which was super helpful because my tax software wasn't very clear on how to report stock donations. It saved me a ton of time figuring out all the forms and schedules needed.
0 coins
Miguel Castro
•How does the service handle cost basis info if you've had multiple purchases of the same fund over time? I have SPY shares I've been buying since 2010 and honestly have no idea how to determine which specific shares I'd be donating.
0 coins
Zainab Abdulrahman
•I'm skeptical about these online tax tools. Did you have any issues with the accuracy? My accountant charges me $400/hr but at least I know he's getting everything right.
0 coins
Ava Martinez
•The platform handles multiple purchase dates really well. You can upload your transaction history or enter it manually, and it helps you select specific lots to donate that maximize your tax benefits - usually the ones with the lowest basis and longest holding period. Regarding accuracy, I was initially skeptical too, but I actually had my accountant review the results and he confirmed everything was correct. The nice thing is it provides detailed explanations citing the relevant tax code sections, so you can verify everything. I still use my accountant for complex matters, but this saved me from paying for simple questions and calculations.
0 coins
Zainab Abdulrahman
Wanted to follow up about my experience with https://taxr.ai after my skeptical comment above. I decided to try it for my donation of Microsoft shares that had tripled in value, and I'm actually impressed with how thorough it was. The tool immediately identified that I could use specific lot identification to donate my oldest shares with the lowest basis, which maximized my tax savings. It also provided clear instructions for my broker about which specific shares to transfer, and generated all the documentation I needed for my tax return including the proper forms for non-cash charitable contributions. My donation went smoothly, I avoided about $24,000 in capital gains taxes, and got a substantial deduction. Definitely less expensive and more efficient than my hourly accountant for this specific issue.
0 coins
Connor Byrne
One thing that hasn't been mentioned is the time factor when donating stocks. I tried calling the IRS last December to clarify some details about my stock donation, and it was IMPOSSIBLE to get through. I spent hours on hold and never reached anyone. I ended up using https://claimyr.com which got me connected to an IRS agent in about 15 minutes. You can see how it works here: https://youtu.be/_kiP6q8DX5c. The agent confirmed that I needed to get the donation completed by December 31st for it to count in that tax year, and that the documentation from the charity needed to specifically acknowledge receiving stock shares rather than a cash donation. This was super important because my first receipt just listed a dollar amount without specifying it was a stock donation, which could have caused problems during an audit.
0 coins
Yara Elias
•Wait how does this work? You pay a service to wait on hold with the IRS for you? Do they just call you when they get someone on the line?
0 coins
QuantumQuasar
•This sounds like a scam tbh. No way the IRS would allow a third party service to jump the line or get priority access to agents when millions of people can't get through.
0 coins
Connor Byrne
•It's actually pretty simple - they use an automated system that waits on hold for you. Once they reach an IRS agent, you get a call to connect you directly with that agent. There's no line jumping - they're just handling the hold time for you. The service was legitimately helpful because I had a time-sensitive question about stock donation documentation that needed an official answer. When the IRS agent explained the specific requirements for the donation receipt, it gave me time to contact the charity and get proper documentation before filing my taxes. Definitely not a scam - it just handles the frustrating hold time so you don't waste hours of your day.
0 coins
QuantumQuasar
I need to admit I was totally wrong about Claimyr being a scam. After my skeptical comment, I had an urgent question about my stock donation to my alma mater and couldn't reach the IRS after multiple attempts. Tried the service out of desperation, and within 20 minutes I was talking to an actual IRS representative who clarified exactly how to document the fair market value determination for my donation. This was crucial because I was using the wrong date for valuation (I was using the date I initiated the transfer rather than the date the charity received the shares). The IRS agent explained that using the wrong date could have resulted in an incorrect deduction amount. Would have spent days trying to get this information otherwise. Really changed my tax filing experience this year.
0 coins
Keisha Jackson
One thing to watch out for with stock donations - the charity needs to be set up to accept them! I tried donating some appreciated ETFs to a small local organization, and they had no idea how to handle it. Ended up having to use a donor-advised fund as an intermediary. Also, keep track of the exact transfer date because the value of the donation is based on the average of the high and low prices on the date the shares are received by the charity, not the date you initiate the transfer.
0 coins
Paolo Moretti
•How hard is it to set up a donor-advised fund? I've heard about them but don't really understand how they work or if they're only for really wealthy people.
0 coins
Keisha Jackson
•Setting up a donor-advised fund is surprisingly easy. Most major investment companies (Fidelity, Vanguard, Schwab) offer them with minimum initial contributions around $5,000-$25,000. You can open one online in about 15-20 minutes. They're definitely not just for the ultra-wealthy. They're great for anyone who wants tax benefits now but flexibility in distributing to charities over time. You make your contribution (cash, stocks, etc.), get your tax deduction immediately, and then recommend grants to qualified charities whenever you want. The fund handles all the administrative work and paperwork. I've had one for years and use it especially when I want to donate appreciated assets to smaller charities that aren't equipped to handle stock transfers.
0 coins
Amina Diop
Don't forget about QCDs (Qualified Charitable Distributions) if you're over 70½! You can donate directly from your IRA to charity up to $100k annually without counting as taxable income. Different from stock donations but another great tax strategy.
0 coins
Oliver Weber
•But doesn't that only work for cash donations from IRAs? The OP is asking specifically about appreciated securities outside retirement accounts to avoid capital gains.
0 coins
Luca Marino
Great question! You're absolutely right that donating appreciated securities directly to charity is one of the best tax strategies available. Just want to add a few practical tips from my experience: 1. Make sure to get a written acknowledgment from the charity that specifically states they received securities (not just cash), includes the date of transfer, and describes the securities donated. This is crucial for your tax records. 2. If you're donating a large amount, consider spreading it across multiple tax years to stay within the 30% AGI limitation for appreciated property donations. You can carry forward unused deductions for up to 5 years. 3. Consider donating your most highly appreciated shares first - the ones with the lowest cost basis give you the biggest tax benefit since you're avoiding the most capital gains tax. 4. Time the donation strategically if you're close to year-end. The deduction counts for the tax year when the charity receives the shares, not when you initiate the transfer. With your cost basis being only 30% of current value, you're looking at substantial tax savings. This strategy could save you thousands in capital gains taxes while maximizing your charitable impact!
0 coins
Dylan Cooper
•This is really helpful advice! I'm new to this community and considering a similar donation strategy. Quick question about the timing - if I initiate a stock transfer to a charity on December 30th but the charity doesn't receive it until January 3rd due to processing delays, which tax year does the deduction count for? Also, do most brokerages have standard procedures for these transfers, or do I need to give them specific instructions about how to handle it?
0 coins
Leo McDonald
•Great question about timing! The deduction counts for the tax year when the charity actually receives and has control of the securities, not when you initiate the transfer. So in your example, if the charity receives the shares on January 3rd, it would count for the following tax year even though you started the process in December. This is why it's important to start the transfer process well before year-end if you want the deduction for the current tax year. I usually recommend initiating transfers by mid-December to account for potential delays. Regarding brokerages, most have standard procedures for charitable stock transfers, but you'll definitely want to give them specific instructions. You'll need to provide the charity's brokerage account information (DTC number, account name, account number) and specify exactly which shares you want to transfer if you have multiple lots. Many brokerages have dedicated forms for charitable transfers that make the process smoother. It's worth calling them ahead of time to understand their specific requirements and timeline.
0 coins
Daniel White
This is exactly the situation I was in last year with some Berkshire Hathaway shares I'd held since 2005! The strategy worked perfectly - I donated shares worth about $50k with a cost basis of only $12k directly to my local food bank. A few things I learned that might help you: 1. Contact the charity first to make sure they can accept stock donations. Many smaller organizations aren't set up for this, but most established charities have procedures in place. 2. Your broker will need the charity's DTC number and account details. The charity should be able to provide this quickly if they're equipped to handle stock donations. 3. Keep detailed records of the transfer date, number of shares, and the stock price on that date. You'll need this for Form 8283 if your donation is over $500. 4. The fair market value is calculated as the average of the high and low trading prices on the date the charity receives the shares. In my case, I avoided about $5,700 in capital gains taxes (15% on the $38k gain) and got to deduct the full $50k market value. The food bank was thrilled because they received the full value instead of what would have been left after I paid capital gains tax on a sale. Definitely one of the most tax-efficient moves I've made!
0 coins
Liam Fitzgerald
•This is exactly the kind of real-world example I was hoping to see! Your experience with the Berkshire Hathaway donation is really encouraging. I'm curious about the Form 8283 you mentioned - is that something most people can handle themselves, or did you need professional help to fill it out correctly? Also, how long did the entire process take from when you contacted the food bank to when the shares were actually transferred and you had all the documentation you needed for your taxes?
0 coins