Take my advice: DO NOT cash out your 401k!! Here’s why.
Just before I got married, I cashed out 1/2 of my 401k from a previous employer. I thought, “We need to be able to pay for the caterer, the florist, the band and the photographer. Not to mention the honeymoon!” We didn’t have cash saved for all of that, but I saw the nest egg had plenty.
Upon cashing out the funds, I was taxed (at 20%), I was penalized (another 10%) and I had to claim that money as income on the next year’s taxes. Let’s just say it was a hard time to learn a 30% lesson of loss. Keep the money in the account, and DO NOT touch it until you reach of age where it is appropriate to take distributions.