A 401k loan, literally means you are borrowing from yourself. When you pay back the money, you do so with interest you will also get the interest.  However, you will still have to pay tax on the income.