At 62 He Borrowed $50,000 From His Own 401(k) for the Roof, Paid Himself Back at 9% Over Five Years, and the IRS Never Got to Call It a Withdrawal

Most homeowners reach for a home equity loan or a credit card when a major repair hits, but a provision buried in the tax code offers a third path that keeps the IRS completely out of the picture, as long…

Published October 18, 2026, 2:22pm ET · 4 min read

Life After Work desk. Editor: David Beren.

This post may contain links from our sponsors and affiliates, and Flywheel Publishing may receive compensation for actions taken through them.

Financial concept showing yellow blocks labeled 401k and loan beside a white and blue calculator against a bright blue background illustrating the decision-making process for retirement fund borrowing.
© Niz art Photodesign / Shutterstock.com

If you need it, a 401(k) loan lets you borrow up to $50,000 from your own account. You pay the interest back into your own balance, and you owe no income tax on the money as long as you follow the repayment rules. That is how a 62-year-old homeowner can pay for a $50,000 roof, repay himself at 9% over five years, and keep the IRS from ever considering the money as a withdrawal. Plans rarely advertise the 401(k) loan rule, yet it sits in the tax code where anyone can read it.

How a 401(k) Loan Stays Off Your Tax Return

The tax code starts with a harsh default, and any amount a participant gets as a loan from a qualified employer plan is considered a distribution. Then it carves out an exception. A loan escapes distribution treatment if it remains under the dollar cap, is repaid within five years, and is paid down in substantially level installments at least quarterly.

Every dollar of the 9% interest goes back into the borrower’s own account. For comparison, the average credit card APR was 21.19% as of August 1, 2026, and the 5-year Treasury yielded 4.89% on October 16, 2026.

Section 72(p) Is the Code Provision Behind It

The default rule is in 26 U.S.C. § 72(p)(1)(A). The exception is in 26 U.S.C. § 72(p)(2). Under subparagraph (A), the loan plus all other outstanding plan loans cannot exceed the lesser of $50,000 or the greater of half the vested balance or $10,000. Subparagraph (B) requires repayment within 5 years, except for loans used to buy a principal residence.

Subparagraph (C) requires substantially level amortization and at least quarterly payments. IRS Publication 575 lays out the same limits for participants (Pub. 575). The law sets the $50,000 cap with no inflation adjustment, so the same figure applies in 2026.

Who Can Borrow and Who Gets Left Out

Loans are an optional plan feature. Only participants whose plan document includes a loan provision can use them. Borrowing the full $50,000 under the half-of-vested-balance test takes a vested balance of at least $100,000. IRAs are excluded. Pledging an IRA as security for a loan is a prohibited transaction (Pub. 590-A). A roof replacement falls under the five-year limit because the longer home-loan term covers only loans used to buy a dwelling that will serve as the principal residence.

Five Steps to Borrow From Your 401(k) Without Triggering Tax

  1. Check your summary plan description to confirm the plan allows loans, and find the interest rate it charges. The plan sets that rate.
  2. Figure your cap. It is the lesser of $50,000 or half your vested balance (with a $10,000 floor). The $50,000 shrinks by your highest outstanding loan balance during the prior 12 months, minus the balance on the day of the new loan (§ 72(p)(2)(A)(i)).
  3. Pick a term of five years or less for any purpose other than buying a principal residence.
  4. Set up repayment through payroll deduction so installments come at least quarterly and stay level.
  5. Know your plan’s cure period. A plan may let a missed payment be made up as late as the last day of the calendar quarter following the quarter in which the payment was due.

Leaving Your Job Can Turn the Loan Into Taxable Income

If a borrower leaves the employer with a balance still owed, the plan typically cuts the account by the unpaid amount, which counts as a distribution. Under 26 U.S.C. § 402(c)(3)(C), a qualified plan loan offset caused by severance from employment or plan termination can be rolled over until the due date (including extensions) of that year’s tax return. A borrower who cannot replace the cash by then owes income tax on the unpaid balance.

At 62, the homeowner is past age 59½, so § 72(t)(2)(A)(i) exempts him from the 10% additional tax on early distributions. Ordinary income tax still applies. For 2026, the 24% bracket starts at $105,700 for single filers.

Two quieter costs come with the loan. Interest payments come out of after-tax wages and go into a pretax account, so those dollars get taxed a second time when you withdraw them in retirement. And the $50,000 sits outside the market for up to five years, making only the loan rate. Before a loan closes, the main variables to check are the plan’s interest rate, its cure-period policy, and whether a job change is likely before the final payment.

Contact [email protected] for any questions or corrections.

David Beren

David Beren has been a Flywheel Publishing contributor since 2022. Writing for 24/7 Wall St. since 2023, David loves to write about topics of all shapes and sizes. As a technology expert, David focuses heavily on consumer electronics brands, automobiles, and general technology. He has previously written for LifeWire, formerly About.com. As a part-time freelance writer, David’s “day job” has been working on and leading social media for multiple Fortune 100 brands. David loves the flexibility of this field and its ability to reach customers exactly where they like to spend their time. Additionally, David previously published his own blog, TmoNews.com, which reached 3 million readers in its first year. In addition to freelance and social media work, David loves to spend time with his family and children and relive the glory days of video game consoles by playing any retro game console he can get his hands on.

All articles →