Question: who earns the interest on a 401k loan?
Answer: Any interest charged on the outstanding loan balance is repaid by the participant into the participant's own 401(k) account, so technically, this also is a transfer from one of your pockets to another, not a borrowing expense or loss.