On top of that you're repaying the loan with after tax dollars which will be taxed when you withdraw the money. You're basically trading pre-tax dollars for after tax dollars that will now be taxed a second time. Also, with some plans, you can't make any contributions while you have a loan out...