I highly recommend not to. If you take your money out before 59 1/2, there is a 10% penalty. If you take a loan out, considering it is before tax contribution, the money that you return back to your account is after tax money. So, when you withdraw, you will need to pay tax again, so you pay tax twice. No smart!!!