Question: are 401k loans based on credit?
Answer: Borrowing from your own 401(k) doesn't require a credit check, so it shouldn't affect your credit. As long as you have a vested account balance in your 401(k), and if your plan permits loans, you can likely be allowed to borrow against it.