A loan from your 401(k) or other qualified employer plan avoids being taxed as a distribution only if it meets every requirement in Internal Revenue Code Section 72(p): a capped loan amount, a repayment schedule of no more than five years, and substantially level payments made at least quarterly. Miss any one of those, and the 401(k) loan rules under IRC 72(p) treat the outstanding balance as if you had taken a withdrawal, with income tax and possibly a 10% early-withdrawal penalty attached.
The rules are strict, but they are also mechanical. Once you know where the lines are, staying inside them is straightforward.
Which Plans Can Offer Loans
Section 72(p) covers loans from qualified employer plans: 401(k)s, 403(b)s, profit-sharing plans, and governmental 457(b) plans. The plan document itself has to authorize loans; the tax code permits them but does not require any plan to offer them.
IRAs are excluded. Borrowing from a traditional or Roth IRA is a prohibited transaction, and doing it can strip the entire IRA of its tax-advantaged status. The Section 72(p) loan framework does not apply to IRAs at all, so anything you read about plan loans stops at the IRA door.
How Much You Can Borrow
The maximum you can borrow without triggering a taxable event is the lesser of two figures. The first is $50,000. The second is the greater of half your vested account balance or $10,000. That $10,000 floor is what lets participants with smaller balances still borrow a meaningful amount: with a $16,000 vested balance, half is $8,000, but you can still borrow up to $10,000.
The $50,000 ceiling is not a clean cap. It gets reduced by the difference between your highest outstanding loan balance during the previous 12 months and your current balance on the day you take the new loan. The reduction exists to stop participants from repaying a loan and immediately re-borrowing the full amount in a rolling cycle.
Aggregation Across Related Employers
If you participate in more than one plan run by the same employer, or by employers in a controlled group or affiliated service group, the outstanding balances across all of those plans get added together for the $50,000 limit. You cannot stack a $50,000 loan from a 401(k) on top of another $50,000 loan from a related profit-sharing plan. For this purpose the IRS treats the related plans as one.
How the Loan Must Be Repaid
The dollar limit is the first hurdle. The repayment terms are the second, and the loan agreement itself has to satisfy them at origination. Fixing the paperwork later does not save a loan that was structured wrong from day one.
Five-Year Term
By its written terms, the loan must require full repayment within five years of the date it was made. A six-year loan fails the test the moment it is signed, even if you plan to pay it off in three.
Substantially Level Amortization
Payments must be substantially level over the life of the loan and made no less frequently than quarterly. Most plans deduct from each paycheck, which clears the quarterly threshold comfortably. What the rule forbids is a balloon payment at the end, an interest-only period at the front, or gaps of several months between payments. Each installment must include principal and interest, so the balance draws down steadily.
Interest Rate
Plan loans must carry a reasonable rate of interest. The IRS position is that the rate cannot be more favorable than what a commercial lender would offer for a similar loan. There is no single mandated number; many plans set the rate at prime plus one or two percentage points. Because the interest you pay flows back into your own account, the rate matters more for compliance than for the true cost of the loan.
No Credit-Card Loans
Section 72(p)(2)(D) bars loans made through credit cards or similar revolving arrangements. A qualifying plan loan is a discrete, fixed-amount transaction with a defined repayment schedule. An open-ended line of credit against your retirement balance does not count.
The Principal Residence Exception
The five-year rule has one carve-out: a loan used to buy a home that will serve as your principal residence within a reasonable time. For these loans the plan can set a much longer term, and many plans allow 10, 15, or even 30 years. The level-amortization requirement still applies for whatever term the plan sets.
The exception is narrow. It covers the acquisition of a principal residence, not home improvements, not refinancing, and not the purchase of a second home or vacation property. Plan administrators typically ask for documentation showing the funds are going to a qualifying home purchase. The dollar limits and level-payment rules apply in full; only the five-year deadline gives way.
When Payments Can Pause
Two situations let you stop paying without blowing up the loan.
Leave of Absence
If you take a bona fide leave of absence, either unpaid or paid at a rate too low to cover your loan installments, the level-amortization requirement is suspended for up to one year. Interest keeps accruing. When you return to work or the year ends, whichever comes first, payments resume at a level high enough to finish the loan by the original five-year deadline. The clock does not stop, so you either make larger payments going forward or a lump-sum catch-up.
Military Service
Active-duty military service is treated more generously. Payments can be suspended for the full period of service, even if it runs longer than a year. When the service member returns, the repayment deadline is extended by the length of the military service period.
Cure Periods for Missed Payments
Plans are not required to give a grace period on a missed payment, but many do. The maximum cure period allowed by regulation is the end of the calendar quarter after the quarter in which the payment was due. A payment missed on February 15 could be cured, at the outside, through June 30. Catch up within the window and the loan stays in good standing. Miss it and the whole outstanding balance, plus accrued interest, becomes a deemed distribution as of the last day of the cure period. Some plans set a shorter window, and some offer none, so the plan document controls.
What Happens if the Loan Fails the Rules
When any of the requirements fail, the outstanding balance is treated as a deemed distribution. The full amount of principal and accrued interest is included in your gross income for that year and taxed at your ordinary income rate. The plan administrator reports the amount on Form 1099-R.
If you are under 59½ when the deemed distribution hits, the 10% early-withdrawal penalty under Section 72(t) applies on top of the income tax. The standard exceptions to that penalty, such as disability, can apply, but most people caught by a deemed distribution do not qualify for one.
You Cannot Roll a Deemed Distribution Over
This is the part that surprises people. A deemed distribution is a tax event only. No money actually leaves the plan; the balance stays there as an outstanding loan. Because nothing was physically distributed, there is nothing to deposit into an IRA, and the 60-day rollover mechanism does not apply. You owe the tax and there is no way to reverse it.
The Double-Taxation Trap
After a deemed distribution, you have paid income tax on the outstanding balance. But the plan may still require you to keep making payments on the loan, and those after-tax dollars go back into a pre-tax account. When you eventually take a real distribution in retirement, that money is taxed as ordinary income again. Some plans track the resulting basis so you get relief at distribution, but many do not, and the recordkeeping burden typically lands on the participant.
Leaving Your Job With a Loan Outstanding
A plan loan offset is a different animal from a deemed distribution, and the two get confused often and expensively. An offset happens when you separate from service or the plan terminates, and the plan reduces your account balance to pay off the outstanding loan. Unlike a deemed distribution, an offset is an actual distribution of funds for tax purposes.
Because it is a real distribution, it can be rolled over. If the offset qualifies as a qualified plan loan offset (QPLO), meaning it was triggered by plan termination or severance from employment, you have until the tax filing deadline for that year, including extensions, to roll the offset amount into an IRA or another eligible plan. For a standard, non-QPLO offset, the ordinary 60-day rollover window applies.
The rollover does not have to come from the plan itself. If your offset was $20,000 and you want to avoid tax on the full amount, you deposit $20,000 into an IRA out of your own funds by the deadline. Partial rollovers work too; whatever you do not roll over gets taxed.
Spousal Consent
Plans that provide a qualified joint and survivor annuity, which includes most defined benefit plans and some 401(k) plans, require your spouse’s written consent before your account balance can be used as security for a loan. Under Section 417(a)(4), that consent has to be obtained during the 90-day period ending on the date the loan is secured.
A profit-sharing or 401(k) plan that does not offer annuity-form distributions generally does not require spousal consent under federal law. Some plan documents impose their own consent requirement anyway, so the plan’s own terms are the final word.