if you pull cash from a 401(k) prior to age 59 1/2, you will owe taxes on the withdrawal plus a 10% penalty.

with a loan, you will lose the effects of compounding the money already earned and will limit your future returns, on the cash withdrawn, to the intertest that you pay the plan back, after taxes.

consult a pro, will be the best money you ever spent.