There is no credit check when you get a 401(k) loan. It will not hurt your credit. Your payments are not reported to the credit bureaus and do not affect your debt-to-income ratio.