Unless you have a 401k ROTH, do not do this unless its a last resort. A 401k uses pre-tax money contributions. If you take out a loan on that 401k, you'll have to pay the loan back with post-tax money, and then the 401k will once again be taxed when you take out your disbursement. Furthermore, the money you withdraw will not gain interest based on any stock gains. Yeah you'll pay back interest, but again that's your money you're paying interest on, instead of getting it for "free" via the market. A 401k ROTH is a different proposition as the money is already taxed, but still don't recommend it unless you really need to. Best way to do this imo would be to open a credit card that has no interest for 18-24 months and pay it monthly that way. Save a 401k loan for a real emergency.