Taking out a 401(k) loan can negatively affect your future finances because it prevents you from making contributions to your account or taking advantage of employer-matching contributions for the life of the loan, which could last 5 years. Additionally, the interest you earn on the loan may be less than if you’d just kept the money in your account.