if it's an employer 401k, the plan may permit loans to participants. if so, you'll have to make payments including interest and it must be repaid in 5 years otherwise any non-repaid amount becomes taxable. the advantage of a loan is that it is not taxable and there is no early withdrawal penalty. speak to your human resource department.