You will have to pay the income tax on the withdrawal. If you were in a federally declared disaster area, up to $22,000 can be excluded from the penalty for early withdrawal. If it was not, you may be able to use the emergency personal expense, which would exclude $1,000 for the penalty.