If you have highly appreciated, low-basis shares and charitable giving is already part of your financial plan—yes, this can be a smart move. By donating shares directly to a charity or donor-advised fund, you avoid realizing the capital gain entirely and receive a deduction for the full fair market value. The charity sells the shares tax-free. It’s one of the most tax-efficient ways to handle shares that would otherwise generate a large tax bill at sale.