If the information for direct deposit is for a closed or invalid account the IRS will mail you a refund check to the address listed on your tax return. It will delay the process as the bank will first need to reject the funds and then the IRS will issue the check. You can check the status of this process on Where's My Refund.