Designating a charity as the recipient of your IRA or 401(k) is a simple process—just fill out a beneficiary form from your plan administrator. While you may withdraw the funds, pay the taxes, and donate the balance, this typically provides limited tax advantages. https://www.federalpensionadvisors.com/post/beneficiary-for-401k-chairty