401k Loan: When It Makes Sense (and When It Doesn't)

What to do with your 401k when you leave a job

Key Takeaways

How a 401k Loan Works

A 401k loan lets you borrow from your own account. The legal limit is the lesser of $50,000 or 50% of your vested balance, reduced by your highest outstanding loan balance during the past 12 months. Most plans require repayment through payroll deductions over a maximum term of five years (longer terms are allowed for a primary residence). The interest rate is typically the prime rate plus one or two points, and here is the key feature: the interest you pay goes back into your own account, not to a bank. That sounds like a free lunch, but there are two serious costs. First, the borrowed money is out of the market — while you owe $20,000, that $20,000 is not compounding. Second, the interest is paid with after-tax dollars and will be taxed again when you withdraw it in retirement: a double tax that economists call the "double taxation" problem of 401k loans.

When a Loan Makes Sense

When It Does Not

Action Steps

  1. Check your plan's loan rules (minimum amount, fees, repayment term) in the summary plan description.
  2. Run the math: compare the loan interest you pay yourself against the market return you give up.
  3. If you take a loan, set up automatic repayment at the shortest term you can afford.
  4. Before changing jobs, know your plan's repayment deadline — and have a plan to repay in full if needed.

Worked Example: A $20,000 Loan

Consider borrowing $20,000 at 5% for five years while the market earns 7%. You repay $22,645 including interest — the interest goes into your account, which sounds great. But the $20,000 that was compounding at 7% in the market now compounds at your 5% loan rate inside the account, while your payments are made with after-tax dollars that will be taxed again at withdrawal. The net drag versus not borrowing is roughly the 2% spread on $20,000 over five years plus the double taxation of the interest — on the order of $2,000-$3,000 in lost wealth for a "cheap" loan. The loan still beats a credit card at 20% by a wide margin, but it is not free money. Use it to eliminate genuinely expensive debt or bridge a true emergency, repay early if you can, and never borrow when a job change is likely.

Try Our Interactive Calculator

See exactly how this affects YOUR finances with our free tool.

Use the Calculator →

Loan Repayment Traps

The most common way a 401k loan goes wrong is the job-change deadline. If you leave your employer with an outstanding loan, you typically have until the due date of your federal income tax return (including extensions) for that year to repay the full balance. Miss it, and the IRS treats the outstanding amount as a deemed distribution — taxable income plus the 10% early-withdrawal penalty if you are under 59½. If you cannot repay, you still owe the tax on money you never actually received, which can be a serious cash-flow shock. A second trap is the double-tax effect: loan repayments come from after-tax dollars, and the same money is taxed again when withdrawn in retirement. A third is opportunity cost — borrowed money misses market gains, and the 5-6% interest you pay yourself rarely matches a 7-10% market return. Only borrow for genuine emergencies or to clear debt above 10% interest.

Disclaimer: This content is for informational and educational purposes only. It does not constitute financial advice. Always consult a qualified financial professional before making investment decisions.