<prompt> Human: I have just over 17,500 in student loans. I have paid off most of my 6.8 loans roughly 12,000 and the 17,500 that is remaining is split 8,900 at 3.4, 4100 at 4.3, 3,100 at 5.6, and 1,400 at 6.8. I just started my career in Feb. 2015 and saved aggressively into my Bogleheads style 401k thinking that the interestit would make would far offset interest lost on the loans. Now, of course, with my 401k at -3 for the year, Im having second thoughts.Does it make any sense to take out a 401k loan to pay off my student loans? I would then be completely debt free save for paying myself back into the 401k, which would be easy with payroll deductions and a 6 company match. Im super intrigued with this idea, but im sure there are reasons why its foolish?  <response>: If you lose your job the entire balance of the loan becomes due immediately or you end up paying penalties and taxes. 