$500,000. Even though you only physically received $400,000, the IRS considers the $100,000 withheld for taxes to be part of your distribution. If you only deposit $400,000, the IRS will treat the remaining $100,000 as a permanent withdrawal. You'll be able to get the $100,000 back as a tax refund (assuming you were not underpaid for unrelated income).