A 401(k) loan will not affect your mortgage or mortgage application. A 401(k) loan has no effect on either your debt-to-income ratio or your credit score, two big factors that influence mortgage lenders. In fact, some buyers use 401(k) loan funds as a down payment on a home.