Skip to content

401(k) Loan Calculator

The part of your account you own outright, including your contributions and the vested share of employer contributions. Your plan statement shows it.

How much you want to borrow. The calculator checks it against the legal maximum for your balance and loan history.

What you still owe on all loans from this employer's plans. Leave at 0 if you have no outstanding plan loan.

The highest total you owed on plan loans at any point in the 12 months before today. Leave blank if it equals your current outstanding balance. A loan you already repaid still counts here.

A general loan must be repaid within 5 years. A loan to buy your principal residence may run longer, if your plan allows it.

Whole years: 1 to 5 for a general loan, 1 to 15 for a home-purchase loan.

Most plans charge prime plus 1%. Prime was 7.00% in November 2026, so the default is 8.00%. The interest goes back into your own account.

What the borrowed money would have earned left invested. Used only for the missed-growth figure. 7% is a common planning assumption.

The rate on a personal loan of the same size and term. The default 11.90% is the Federal Reserve average for 24-month bank personal loans, August 2026.

Your 401(k) loan

How the numbers were worked out

      This tool estimates your maximum 401(k) loan, monthly payment, missed investment growth, and true cost against a personal loan from the numbers you enter, for general guidance only. It is not financial advice. Your plan may set lower limits, allow only one loan at a time, or not offer the $10,000 floor. Check your plan's loan rules and your loan agreement, and talk to a financial advisor, before borrowing from your retirement account.
      You can borrow the lesser of $50,000, reduced by the gap between your highest loan balance in the last 12 months and what you still owe, or the greater of half your vested balance or $10,000, minus your outstanding loans. With an $80,000 vested balance and no loan history, the maximum is $40,000, and a $20,000 loan over 5 years at 8% costs $405.53 a month. Enter your balance and loan history above for your maximum, payment, missed growth, and true-cost comparison.

      Last reviewed: 21 November 2026. Reviewed annually each January; next review due 19 May 2027.

      How to use the 401(k) Loan Calculator

      A 401(k) loan lets you borrow from your own retirement account and pay the interest back to yourself. That sounds like free money, and it is not. The amount you can borrow is capped by a federal formula most calculators get wrong, the borrowed money stops growing while it is out of the market, and if you leave your job the whole balance can come due at once. This calculator answers the four questions that matter: how much can I borrow, what will the payments be, what does the loan really cost, and would a personal loan be cheaper. Enter your vested balance, your loan history, the amount you want, and the rates, and it works out the legal maximum under IRC Section 72(p), the monthly payment, the missed investment growth, and a true-cost comparison against a personal loan of the same size.

      The calculator is built on the IRS rules, not on the simplified version most sites print. The headline rule, half your vested balance or $50,000, whichever is less, is only two thirds of the law. The missing third is the $10,000 floor: if half your vested balance is less than $10,000, the law lets you borrow up to $10,000 anyway. Most calculators omit it, and the people it helps most are the ones with the smallest balances. The calculator also applies the 12-month lookback, which cuts the $50,000 ceiling by the gap between your highest loan balance in the last year and what you still owe, including loans you already repaid. Both rules come straight from the IRS guidance, and the worked examples below use the IRS's own numbers.

      To get your result, follow these steps:

      1. Enter your vested 401(k) balance. This is the part of your account you own outright: your own contributions plus the vested share of employer contributions. Unvested employer money does not count. Your plan statement shows the vested balance separately from the total balance. Using the total balance overstates your limit, sometimes by a lot, if you joined the plan recently. If you are not sure of the figure, our 401k Calculator helps you track the balance and its growth over time.
      2. Enter the loan amount you want. How much you want to borrow. The calculator checks it against the legal maximum for your balance and loan history. If the amount is over the maximum, it tells you the maximum and by how much you overshot, instead of showing a schedule for a loan the law does not allow.
      3. Enter your current outstanding plan loans. What you still owe on all loans from this employer's plans, added together. The $50,000 ceiling and the 50% limit apply to all your loans from the employer combined, not to each loan separately. Leave it at 0 if you have no outstanding plan loan.
      4. Enter your highest loan balance in the last 12 months. The highest total you owed on plan loans at any point in the 12 months before today. Leave it blank if it equals your current outstanding balance. This field is the one people skip, and skipping it is how borrowers get surprised: a loan you already repaid still counts here, and it can cut your new limit by thousands. The section on the 12-month lookback below shows the IRS example where repaying a loan first barely helps.
      5. Choose the loan purpose. A general loan must be repaid within 5 years. A loan to buy your principal residence may run longer, if your plan allows it. The purpose does not change the maximum amount, only the longest term the calculator will accept.
      6. Enter the repayment term in whole years. From 1 to 5 years for a general loan, or 1 to 15 years for a home-purchase loan. A longer term means a smaller monthly payment and more total interest. For a home-purchase loan, the term is set by your plan, not by the tax code: common plan limits are 10 or 15 years, so check yours before counting on the longer term.
      7. Enter the 401(k) loan interest rate. Most plans charge prime plus 1%. The prime rate was 7.00% in November 2026, so the default is 8.00%. The rate is fixed for the life of the loan at most plans. The interest goes back into your own account, which is the feature that makes a 401(k) loan different from every other kind of borrowing, and the comparison below shows exactly how much that feature is worth.
      8. Enter the expected annual investment return. What the borrowed money would have earned left invested. Used only for the missed-growth figure. The default is 7% a year. US equities returned about 6.6% a year after inflation from 1900 to 2024, and about 10% a year before inflation, so 7% is a middle-of-the-road planning assumption for a mixed portfolio. Enter the return you expect after fees. Our Compound Interest Calculator shows how different return assumptions change a lump sum over time.
      9. Enter a personal loan APR for comparison. The rate on a personal loan of the same size and term, so the calculator can compare the two honestly. The default 11.90% is the Federal Reserve average for 24-month personal loans at commercial banks in August 2026, the latest reading in the November 6, 2026 release. Your own rate depends on your credit: excellent credit can be much lower, fair credit much higher. Enter the rate you were actually quoted if you have one. Our Personal Loan Calculator prices a bank loan in detail.

      The tool updates as you type, so you can try different numbers quickly. Try the example buttons under the form: the defaults show an $80,000 vested balance borrowing $20,000 over 5 years; the second shows the $10,000 floor at work on a $15,000 balance; the third is the IRS's own second-loan example; the fourth is a $50,000 home-purchase loan over 15 years; and the fifth shows a borrower who repaid a $50,000 loan this year and cannot borrow again yet. The five examples show the five shapes the answer takes: a plain loan, the floor, a second loan, a home loan, and a blocked loan.

      Read the full result, not just the headline. The headline leads with your maximum loan and your monthly payment. The cards show the maximum, the payment, the interest that goes back to yourself, the missed growth, the total repaid, and the balance after 12 months. The comparison table puts the 401(k) loan and a personal loan side by side, with the true cost of each. The guidance explains the result in plain language, the warnings flag the risks that need a second look, the steps print the full working so you can check every figure, and the year-by-year table shows the balance falling over the life of the loan.

      How it works

      The calculator runs four calculations in order: your legal maximum, your repayment schedule, your missed growth, and the personal loan comparison. Each one uses the result of the one before it, and the steps section on the page prints all four so you can check them against your own arithmetic.

      Step 1: your legal maximum under IRC Section 72(p)

      The maximum comes from IRC Section 72(p)(2)(A), and it is a two-limit test with a floor. The new loan plus all your other outstanding plan loans may not exceed the lesser of two limits. The first limit is $50,000, reduced by the excess of your highest outstanding loan balance during the 12 months ending the day before the new loan over your outstanding balance on the day of the new loan. The second limit is the greater of 50% of your vested balance or $10,000. Then the new loan itself is that total limit minus your current outstanding balance. In symbols, with V for vested balance, H for highest balance in the last 12 months, and O for outstanding balance:

      Total limit = lesser of ($50,000 - (H - O)) and (greater of (V / 2) or $10,000). New loan maximum = total limit - O, floored at zero.

      Three features of that formula catch people out. First, the $10,000 floor: a $15,000 vested balance gives a limit of $10,000, not $7,500, because the greater of $7,500 and $10,000 is $10,000. Second, the lookback: a loan you repaid six months ago still cuts the $50,000 ceiling, because the reduction uses the highest balance in the last 12 months, not the current one. Third, the total limit covers all your loans together, so a second loan is the total limit minus what you already owe, not a fresh $50,000. The calculator applies all three, and the steps print each one.

      One more cap applies that the statute does not spell out but arithmetic demands: the loan cannot exceed your vested balance itself. A $5,000 vested balance gives a balance limit of $10,000 under the floor, but the plan cannot lend $10,000 out of an account that holds $5,000. The calculator caps the total limit at the vested balance and says so in the guidance when that cap binds.

      Step 2: your repayment schedule

      The schedule is a standard level-payment amortization: the same monthly payment every month, with interest charged on the remaining balance each month. The monthly payment comes from the amortization formula, payment = P times i divided by (1 minus (1 plus i) to the power of negative n), where P is the loan amount, i is the monthly interest rate, and n is the number of months. Interest each month is the remaining balance times the monthly rate, rounded to the cent, and the rest of the payment is principal. The final payment is adjusted by a few cents so the balance lands exactly on zero. The IRS requires level amortized payments at least quarterly, and most plans deduct repayments from your paycheck; the monthly figure here is the equivalent.

      The interest on a 401(k) loan is not paid to a lender. It goes back into your own account, which is why the result calls it "interest back to yourself" rather than a cost. But it is still real money out of your paycheck: the repayments are made with after-tax dollars, and the interest is taxed again when you withdraw it in retirement. That double taxation is the hidden cost of the interest, and it is one reason the true-cost comparison counts the interest as a cost even though it lands in your own account.

      Step 3: your missed growth

      While the loan is outstanding, the borrowed money is out of the market. The missed-growth figure measures that cost honestly, in two parts. First, the loan amount left invested at your expected return for the full term: $20,000 at 7% for 5 years would be worth $28,051.03. Second, your repayments reinvested month by month at the same return as they flow back into the account: the same $20,000 loan repaid at 8% grows back to $29,032.89 over the same 5 years. The missed growth is the first figure minus the second. In this example it is negative $981.86, which means the loan leaves the account ahead by $981.86, because the 8% interest you pay yourself beats the 7% the market would have paid. That is a real result, not a trick: when the loan rate is higher than the expected return, the loan grows the account faster than leaving the money invested. When the return is higher than the loan rate, the missed growth is positive, and it is the true cost of borrowing from yourself.

      The missed-growth figure assumes a steady return every month. Real markets do not grow steadily, and a loan taken just before a market rally costs more in missed growth than the same loan taken before a flat year. The figure is a planning estimate, not a forecast, and the guidance warns you when your assumed return is above 10%, which is above the long-run US equity average of about 7% a year after inflation.

      Step 4: the personal loan comparison

      The comparison puts the same amount on the same term at the personal loan rate you entered, and works out the monthly payment and total interest paid to the lender. Then it compares true costs. The true cost of the personal loan is the interest paid to the lender, money gone for good. The true cost of the 401(k) loan is the interest you pay yourself plus the missed growth: the interest is real out-of-pocket cost even though it lands in your account, and the missed growth is the account shortfall. The 401(k) loan wins when its true cost is lower, the personal loan wins when its interest is lower, and the result says which one wins and by how much. The worked examples below show both outcomes.

      Worked example 1: the defaults, a plain loan

      $80,000 vested balance, no outstanding loans, borrow $20,000 over 5 years at 8%, expected return 7%, personal loan rate 11.90%.

      • Half of vested balance: $80,000.00 / 2 = $40,000.00. Balance limit: the greater of $40,000.00 and $10,000.00 is $40,000.00
      • Dollar limit: $50,000.00, with no reduction, because there are no loans in the last 12 months
      • Total loan limit: the lesser of $50,000.00 and $40,000.00 is $40,000.00. New loan available: $40,000.00
      • Monthly payment: $20,000.00 at 8% over 60 months = $405.53 a month. First payment: $133.33 interest, $272.20 principal. Last payment: $405.35
      • Total repaid: $24,331.62. Interest paid back to yourself: $4,331.62. Year 1: $1,477.51 interest, $3,388.85 principal. Balance after 12 months: $16,611.15
      • Missed growth: $20,000.00 left invested at 7% for 5 years would be worth $28,051.03; repayments reinvested reach $29,032.89. The gap is negative $981.86, so the loan leaves the account ahead by $981.86
      • Personal loan: $20,000.00 at 11.90% over 60 months costs $443.88 a month and $6,632.76 in interest to the lender
      • True cost of the 401(k) loan: $4,331.62 of interest plus negative $981.86 of missed growth = $3,349.76, against $6,632.76 of interest on the personal loan. The 401(k) loan comes out $3,283.00 ahead

      The 401(k) loan wins here for two reasons at once: its rate is lower than the personal loan rate, and the interest it charges goes back to the borrower. Either reason alone would be worth something; together they are worth $3,283.00 over 5 years.

      Worked example 2: the $10,000 floor

      $15,000 vested balance, no outstanding loans, borrow $10,000 over 5 years at 8%, expected return 7%, personal loan rate 11.90%.

      • Half of vested balance: $15,000.00 / 2 = $7,500.00. Balance limit: the greater of $7,500.00 and $10,000.00 is $10,000.00, because the $10,000 floor applies
      • Dollar limit: $50,000.00, with no reduction. Total loan limit: the lesser of $50,000.00 and $10,000.00 is $10,000.00
      • Monthly payment: $10,000.00 at 8% over 60 months = $202.76 a month. Total repaid: $12,165.92. Interest paid back to yourself: $2,165.92
      • Balance after 12 months: $8,305.67. Year 1: $738.79 interest, $1,694.33 principal
      • Personal loan: $10,000.00 at 11.90% over 60 months costs $221.94 a month and $3,316.36 in interest. True cost of the 401(k) loan: $1,674.94. The 401(k) loan comes out $1,641.42 ahead

      Without the floor, this borrower could borrow only $7,500. The floor adds $2,500, a third more, and it is the difference between covering the expense and not covering it. Most calculators would show $7,500 and stop. The warning on the result is honest too: the floor is optional for plans, so check that your plan offers it before counting on it.

      Worked example 3: the IRS second-loan example

      Jim has an $80,000 vested balance. He borrowed $27,000 eight months ago and still owes $18,000. How much can he borrow as a second loan? This is the IRS's own example, from its retirement plan loan FAQs, and the calculator reproduces it exactly.

      • Half of vested balance: $80,000.00 / 2 = $40,000.00. Balance limit: $40,000.00
      • Dollar limit: $50,000.00 - ($27,000.00 - $18,000.00) = $41,000.00
      • Total loan limit: the lesser of $41,000.00 and $40,000.00 is $40,000.00. New loan available: $40,000.00 - $18,000.00 = $22,000.00
      • Monthly payment: $22,000.00 at 8% over 60 months = $446.08 a month. Total repaid: $26,764.85. Interest paid back to yourself: $4,764.85
      • Balance after 12 months: $18,272.33. True cost of the 401(k) loan: $3,684.78, against $7,295.92 of interest on a personal loan. The 401(k) loan comes out $3,611.14 ahead

      The IRS also answers the follow-up question: would it help Jim to repay the first loan before asking for the second? Almost no. If he repaid the $18,000 first, his highest balance in the last 12 months would still be $27,000, so the dollar limit would be $50,000.00 - ($27,000.00 - $0.00) = $23,000.00, and the total limit would be the lesser of $23,000.00 and $40,000.00, which is $23,000.00. Repaying $18,000 to gain $1,000 of borrowing room is a bad trade, and the IRS says so plainly: there is not a significant advantage in repaying the first loan first.

      Worked example 4: a home-purchase loan over 15 years

      $200,000 vested balance, no outstanding loans, borrow $50,000 over 15 years at 8% to buy a main home, expected return 7%, personal loan rate 11.90%.

      • Half of vested balance: $200,000.00 / 2 = $100,000.00. Balance limit: $100,000.00. Dollar limit: $50,000.00. Total loan limit: the lesser of the two is $50,000.00
      • Monthly payment: $50,000.00 at 8% over 180 months = $477.83 a month. Total repaid: $86,008.08. Interest paid back to yourself: $36,008.08
      • Year 1: $3,934.98 interest, $1,798.98 principal. Balance after 12 months: $48,201.02. After a full year of payments, only $1,798.98 of principal is gone
      • The personal loan comparison uses the same 15-year term for both loans. A 15-year personal loan is unusual: most personal loans run 2 to 7 years. Treat the home-loan comparison as illustrative, not as a quote for a loan you could actually get

      The 15-year term cuts the monthly payment from $1,013.82 on a 5-year term to $477.83, but the total interest rises from $10,829.18 to $36,008.08. The longer term buys affordability month to month and costs far more in total. That trade-off is the same on every loan, and it is why the result shows the total repaid next to the monthly payment.

      What your result means

      The headline is the maximum loan and the monthly payment, but the rest of the result is where the decision happens. Each part answers a different question, and together they tell you whether the loan is allowed, what it costs, and whether another way of borrowing would be cheaper.

      The three statuses

      A loan within the limit. Your requested amount is at or below the maximum, and the result shows the full schedule, the missed growth, and the comparison. If the amount equals the maximum exactly, the warnings say so: there is no room for a second loan until this one is paid down and the 12-month window moves on.

      Over the limit. Your requested amount is above the maximum, and the result shows the maximum, the amount requested, and the excess. There is no schedule, because the loan as requested is not allowed. Lower the amount to the maximum or less to see the schedule. If the lookback is cutting your limit, the guidance says that waiting until the highest balance falls out of the 12-month window can raise it.

      No loan available. The maximum is zero. There are three reasons, and the result names the one that applies. An empty vested balance means there is nothing to borrow from. A loan history in the last 12 months can cut the $50,000 ceiling to nothing: if a $50,000 balance existed at any time in the last year, no new loan is allowed until that balance falls out of the window, even if the old loan is fully repaid. Or outstanding loans can already use up the whole limit. Each reason has a different fix, and the first step is knowing which one you are in.

      Which limit binds

      The guidance always names the limit that sets your maximum, because the fix depends on it. If the $50,000 ceiling binds, a bigger balance will not help: the ceiling is the ceiling. If half your vested balance binds, a bigger balance raises the limit dollar for dollar, at 50 cents per dollar of balance. If the $10,000 floor binds, the limit stays at $10,000 until your vested balance passes $20,000, and your plan must offer the floor at all. If your whole vested balance binds, the account is simply too small to lend more than it holds. The steps print all three limits so you can see which one is doing the work.

      True cost: the number that decides

      The monthly payment is not the cost of the loan. The cost is the interest plus the missed growth, and the comparison table puts that figure next to the personal loan interest so the decision is a single subtraction. In the default example, the 401(k) loan costs $3,349.76 in true cost against $6,632.76 of personal loan interest. But the answer flips when the inputs change: with a 15% expected return and a 6% personal loan rate, the same $20,000 loan has $4,307.70 of missed growth, a true cost of $8,639.32, and the personal loan comes out $5,439.97 ahead. The 401(k) loan is usually cheaper, and it is not always cheaper, and the difference is the return you assume and the rate you can actually get elsewhere.

      The $10,000 floor most calculators omit

      The $10,000 floor is the most commonly omitted rule in 401(k) loan calculators, and it is written into the statute in plain language. IRC Section 72(p)(2)(A) sets the balance limit as the greater of 50% of the vested balance or $10,000. The IRS states it the same way in its loan FAQs: the maximum amount the plan can permit as a loan is the greater of $10,000 or 50% of your vested account balance, or $50,000, whichever is less. The IRS retirement topics page adds the example: if 50% of the vested account balance is less than $10,000, the participant may borrow up to $10,000.

      Vested balance50% of balanceMaximum loan (with the floor)What a calculator without the floor shows
      $5,000$2,500$5,000$2,500
      $10,000$5,000$10,000$5,000
      $15,000$7,500$10,000$7,500
      $19,999$9,999.50$10,000$9,999.50
      $20,000$10,000$10,000$10,000
      $40,000$20,000$20,000$20,000

      The floor stops mattering at a $20,000 vested balance, where half the balance reaches $10,000 on its own. Below that, the floor is worth up to $5,000 of extra borrowing room, and it is worth the most to the people with the least saved. Two cautions belong with it. First, the floor is optional for plans: the IRS says plans are not required to include this exception, so a plan may cap loans at 50% regardless. Second, the floor cannot exceed the vested balance: a $5,000 balance caps the loan at $5,000, because the money comes out of the account. The calculator applies both cautions and warns you about the first whenever the floor sets your limit.

      The 12-month lookback

      The lookback is the rule that surprises borrowers most, because it counts money you no longer owe. The $50,000 ceiling is reduced by the excess of your highest outstanding balance during the 12 months ending the day before the new loan over your outstanding balance on the day of the new loan. A loan you repaid eleven months ago still cuts the ceiling, because the highest balance in the window is what counts, not the current one.

      The IRS gives two examples, and both are worth reading in full. Participant A had a $100,000 vested balance and took a $40,000 loan on January 1, 2005, to be paid in 20 quarterly installments of $2,491. On January 1, 2006, when the outstanding balance was $33,322, Participant A wanted another loan. The difference between the highest balance for the preceding year ($40,000) and the outstanding balance on the day of the loan ($33,322) is $6,678. The new loan plus the outstanding loan cannot be more than $43,322 ($50,000 minus $6,678), so the maximum new loan is $10,000 ($43,322 minus $33,322). Note that the balance limit never binds here: half of $100,000 is $50,000, which is above the reduced ceiling of $43,322.

      The second example is Jim, covered in worked example 3 above: an $80,000 balance, a $27,000 loan eight months ago, $18,000 still owed, and a second loan maximum of $22,000. The lesson of both examples is the same: the lookback punishes recent borrowing, and repaying early barely helps, because the highest balance in the window does not fall when you repay. The only cure is time. Each month that passes drops an older month out of the window, and the limit rises as the highest balance falls out.

      The lookback also has a hard edge the IRS states in its issue snapshot on multiple plan loans: if a balance of $50,000 existed at any time during the prior one-year period, a new loan is not permitted, even if the prior loan was completely repaid. A borrower who took the maximum loan and repaid it in full still has to wait out the year. The calculator applies that edge and warns you when it is the reason no loan is available.

      The interest rate: prime plus 1%

      Most 401(k) plans set the loan rate at prime plus 1%, fixed for the life of the loan. Prime here means the bank prime loan rate published in the Federal Reserve H.15 release, the rate posted by a majority of the top 25 US banks. The H.15 release of November 20, 2026 shows the bank prime loan rate at 7.00% on every business day from November 13 to November 19, 2026, so the calculator defaults to 8.00%. Prime was 7.50% in March 2026 and 7.00% in November 2026, after the Federal Reserve raised its target range to 3.75% to 4.00% in September 2026 and held it there at its October 28 meeting.

      The prime-plus-1% rule is a plan convention, not a law. The tax code requires only that the loan bear a reasonable rate of interest, and plans are free to set their own. Some charge prime plus 2%, some charge a fixed rate, and a few charge prime flat. Your loan agreement states the rate, and the rate in the agreement is the one that governs, not the default here. If your plan charges a different rate, enter it: the payment, the interest, and the comparison all follow the rate you enter.

      The rate matters twice. It sets the monthly payment, and it sets the interest that flows back into your account. A higher loan rate means a higher payment and more interest paid to yourself. That second effect is why the missed-growth figure can go negative: at an 8% loan rate and a 7% expected return, the loan grows the account faster than the market would have. It also means the comparison against a personal loan depends on both rates at once, and a plan charging prime plus 2% can lose to a cheap personal loan where a plan charging prime plus 1% would win.

      What happens if you leave your job

      The separation risk is the sharpest edge of a 401(k) loan, and it is the reason the warnings on every result lead with it. If you leave your job, retire, or are laid off before the loan is repaid, most plans require the outstanding balance to be repaid by a deadline, often within 60 to 90 days, or the unpaid balance is treated as a distribution. The result shows the balance after 12 months so the exposure is concrete: on the default $20,000 loan, you would still owe $16,611.15 after a year of payments.

      If the balance is not repaid, the tax consequences are real. A loan that is not paid back according to its terms is treated as a taxable distribution of the entire outstanding balance, a deemed distribution, and the amount is added to your taxable income for the year. If you are under 59 and a half, a 10% additional tax applies on top of the income tax, unless an exception applies. A deemed distribution cannot be rolled over into another retirement plan. The IRS rules give a plan until the end of the calendar quarter following the quarter in which a payment was missed before the loan is treated as a distribution, so a missed June payment becomes a distribution at the end of September, not the day it was missed.

      There is one escape route, and it has a generous deadline. If the plan offsets your account by the unpaid loan balance when you leave, the offset amount is treated as an actual distribution for rollover purposes, and since January 1, 2018, you have until the due date, including extensions, for filing the federal income tax return for the year the offset occurs to roll that amount into an eligible retirement plan or IRA. That is months, not the usual 60 days. The catch is that you need the cash from somewhere else to make the rollover, because the money was already spent. A rollover of the offset amount avoids the tax and the 10% additional tax entirely.

      Two more rules belong here. A plan may suspend repayments while you are on military service, and it may suspend them during a leave of absence of up to one year, but on return you must make up the missed payments, by larger payments or a lump sum at the end, so the term does not exceed the original 5 years. And loan repayments are not plan contributions: they do not count toward the annual contribution limit, and they are not tax-deductible. If you stop contributing while you repay the loan, the missed contributions are a second cost the calculator does not model, because it depends on your contribution rate. Our Retirement Calculator shows what a pause in contributions does to a retirement balance over decades.

      401(k) loan versus personal loan

      The comparison is closer than most people expect, because the 401(k) loan has one big advantage and one big hidden cost. The advantage is the interest: on a 401(k) loan it goes back to you, while on a personal loan it goes to a lender. The hidden cost is the missed growth, which can be larger than the interest saved when the market is strong or the personal loan rate is low. The table below compares the two on the default $20,000 loan over 5 years.

      Figure401(k) loanPersonal loan
      Amount borrowed$20,000.00$20,000.00
      Interest rate8.00%11.90%
      Monthly payment$405.53$443.88
      Total repaid$24,331.62$26,632.76
      Interest paid$4,331.62$6,632.76
      Where the interest goesBack into your own accountTo the lender, gone for good
      Missed investment growthNegative $981.86 (account ahead)$0.00
      True cost of borrowing$3,349.76$6,632.76

      The 401(k) loan wins this round by $3,283.00. But the table hides three differences that do not fit in a column. First, the personal loan leaves your retirement account untouched, so the money keeps growing and there is no separation risk: losing your job does not make a personal loan due. Second, the personal loan requires a credit check and an application, while a 401(k) loan generally does not, and a 401(k) loan does not appear on your credit report. Third, the personal loan rate is a market rate that depends on your credit, while the 401(k) loan rate is the same for everyone in the plan. A borrower with excellent credit might be offered a personal loan at 7% or 8%, which changes the comparison entirely. Enter the rate you were actually quoted, not the average, before deciding.

      The comparison also leaves out fees on both sides. Many plans charge a loan origination fee and an annual maintenance fee, and many personal loans charge an origination fee of 1% to 8% of the amount borrowed. The calculator does not model fees, so add them to the true cost on the side that charges them. A $1,000 origination fee on a personal loan narrows the gap in the example above by almost a third.

      There is one more alternative worth a line: a hardship withdrawal. Unlike a loan, a hardship withdrawal does not have to be repaid, but it is taxable income in the year it is taken, it attracts the 10% additional tax if you are under 59 and a half, and the money leaves the account permanently, with no chance to grow back. A loan is almost always the better choice when the need is temporary and the amount is within the loan limit. Hardship withdrawals also require a demonstration of need, while loans do not: as long as the plan provides for loans, the purpose of the loan is irrelevant under the tax rules.

      Common mistakes

      Using the total balance instead of the vested balance. The limit runs on the vested balance, which excludes unvested employer contributions. A new employee with a $40,000 total balance and a $25,000 vested balance can borrow $12,500, not $20,000. Your plan statement shows both figures; use the vested one.

      Forgetting the 12-month lookback. The highest balance in the last 12 months cuts the $50,000 ceiling, even if that loan is repaid. Borrowers who took a loan last year and paid it off are the ones most often surprised. Enter the highest balance honestly, and the calculator will show the real limit.

      Assuming the $10,000 floor is automatic. The floor is in the statute, but plans are not required to offer it. A plan that caps loans at 50% of the vested balance is within its rights. Check your plan's loan rules before counting on the floor, especially if your balance is under $20,000.

      Counting the interest as free. The interest goes back into your own account, but it is paid with after-tax dollars from your paycheck, and it is taxed again when you withdraw it in retirement. It is cheaper than paying interest to a lender, and it is not free. The true-cost figure counts it as a cost for exactly that reason.

      Ignoring the missed growth. The borrowed money stops growing while it is out of the account. At a 7% return over 5 years, $20,000 of missed growth is worth $8,051.03 before repayments are counted, and the repayments only partly make it up. The missed-growth figure is the cost most borrowers never see, because no statement shows it.

      Borrowing the maximum without a cushion. A maximum loan leaves no room for a second loan until the first is paid down and the 12-month window moves on. If another expense arrives next year, the only options are a personal loan or a hardship withdrawal. Borrow what you need, not what the formula allows.

      Stopping contributions while repaying. Some plans suspend contributions during a loan, and some borrowers stop contributing to afford the payments. The missed contributions cost more than the loan interest over a long horizon, because the contributions would have grown for decades. Keep contributing if the plan allows it and the budget stretches.

      Forgetting the job risk. The loan is safe while the job is safe. A layoff, a resignation, or a retirement turns the outstanding balance into a tax bill unless it is repaid or rolled over by the tax filing deadline. If your job is uncertain, a personal loan, which does not come due when you leave, may be the safer choice even when it costs more on paper.

      Comparing monthly payments instead of true costs. A longer term always lowers the monthly payment and raises the total cost. A 15-year $50,000 loan costs $477.83 a month against $1,013.82 on a 5-year term, but the total interest rises from $10,829.18 to $36,008.08. Compare the true cost, not the payment.

      Frequently asked questions

      How much can I borrow from my 401(k)?

      Under IRC Section 72(p), your new loan plus all outstanding plan loans may not exceed the lesser of $50,000, reduced by the gap between your highest loan balance in the last 12 months and your current outstanding balance, or the greater of 50% of your vested balance or $10,000. Then subtract your current outstanding balance. With an $80,000 vested balance and no loan history, the maximum is $40,000. With a $15,000 vested balance, the $10,000 floor lifts the maximum to $10,000, not $7,500. Your plan may set lower limits, and the $10,000 floor is optional for plans.

      What is the $10,000 floor on 401(k) loans?

      The $10,000 floor is the rule that the balance limit is the greater of 50% of your vested balance or $10,000. If half your vested balance is less than $10,000, the law lets you borrow up to $10,000 anyway. A $15,000 vested balance gives a $10,000 maximum instead of $7,500, and a $10,000 balance gives $10,000 instead of $5,000. The floor stops mattering at a $20,000 vested balance, where half the balance reaches $10,000 on its own. Two cautions: plans are not required to offer the floor, and the loan cannot exceed the vested balance itself, so a $5,000 balance caps the loan at $5,000.

      How does the 12-month lookback affect my 401(k) loan limit?

      The $50,000 ceiling is reduced by the excess of your highest outstanding loan balance during the 12 months ending the day before the new loan over your outstanding balance on the day of the new loan. A loan you already repaid still counts, because the highest balance in the window is what matters. In the IRS example, a borrower with a $100,000 balance, a $40,000 loan a year ago, and $33,322 still owed could borrow only $10,000 more, because the ceiling fell to $43,322. If a $50,000 balance existed at any time in the last year, no new loan is allowed until that balance falls out of the window, even if the old loan is fully repaid.

      What is the interest rate on a 401(k) loan?

      Most plans charge prime plus 1%, fixed for the life of the loan. The bank prime loan rate was 7.00% in November 2026, according to the Federal Reserve H.15 release, so the typical rate is 8.00%. Prime was 7.50% in March 2026. The prime-plus-1% rule is a plan convention, not a law: the tax code requires only a reasonable rate, and some plans charge prime plus 2% or a fixed rate. Your loan agreement states the rate that governs. The interest goes back into your own account, not to a lender.

      How long do I have to repay a 401(k) loan?

      A general 401(k) loan must be repaid within 5 years, in level amortized payments made at least quarterly. A loan used to buy your principal residence may run longer, if your plan allows it: common plan limits are 10 or 15 years. The longer term is set by your plan, not by the tax code, so terms vary. A plan may suspend repayments during military service, and it may suspend them during a leave of absence of up to one year, but the missed payments must be made up so the term does not exceed the original 5 years.

      What happens to my 401(k) loan if I leave my job?

      Most plans require the outstanding balance to be repaid by a deadline after you leave, often within 60 to 90 days. If it is not repaid, the unpaid balance is treated as a taxable distribution, plus a 10% additional tax if you are under 59 and a half. But if the plan offsets your account by the unpaid balance, you have until the tax filing deadline, including extensions, for the year of the offset to roll that amount into an eligible retirement plan or IRA, which avoids the tax entirely. The catch is that you need the cash from somewhere else to make the rollover.

      Is a 401(k) loan better than a personal loan?

      Usually, but not always. The 401(k) loan wins when its true cost, the interest you pay yourself plus the missed investment growth, is lower than the interest a lender would charge. On a $20,000 loan over 5 years at 8% against a personal loan at 11.90%, the 401(k) loan comes out $3,283.00 ahead. But with a 15% expected return and a 6% personal loan rate, the same loan costs $8,639.32 in true cost against $3,199.35 of personal loan interest, and the personal loan wins by $5,439.97. The personal loan also has no separation risk and leaves your retirement account untouched. Enter the rate you were actually quoted and the return you expect before deciding.

      Does a 401(k) loan affect my credit score or my taxes?

      A 401(k) loan generally does not appear on your credit report and does not affect your credit score, because there is no credit check and no lender reporting the loan. For taxes, a loan that meets the rules is not a taxable distribution: no income tax is due when you borrow, and no tax is due on the repayments. But the repayments are made with after-tax dollars, and the interest is taxed again when you withdraw it in retirement. If the loan defaults or is not repaid after you leave your job, the outstanding balance becomes taxable income, plus a 10% additional tax if you are under 59 and a half.

      Sources

      • Internal Revenue Service, Retirement plans FAQs regarding loans, questions 4 through 8. The maximum loan formula, the $10,000 floor, the 12-month lookback, the 5-year term, the home-purchase exception, deemed distributions, plan loan offsets and the rollover deadline, and the Jim and Participant A examples. Retirement plans FAQs regarding loans.
      • Internal Revenue Service, Retirement Topics: Loans. The maximum is 50% of the vested account balance or $50,000, whichever is less, with the $10,000 exception when 50% of the balance is less than $10,000, and the note that plans are not required to include the exception. Retirement Topics: Loans.
      • Internal Revenue Service, Issue Snapshot: Borrowing limits for participants with multiple plan loans. The full text of IRC Section 72(p)(2)(A), the multiple-loan calculation, and the note that a $50,000 balance at any time in the prior year blocks a new loan even if the prior loan was fully repaid.
      • Internal Revenue Service, 401(k) plan fix-it guide: Participant loans. The Section 72(p) requirements in summary form: legally enforceable agreement, amount limits, level amortized payments at least quarterly, repayment within 5 years except for a main home purchase.
      • Board of Governors of the Federal Reserve System, H.15 Selected Interest Rates, release of November 20, 2026. Bank prime loan rate 7.00% on every business day from November 13 to November 19, 2026. The prime rate is the rate posted by a majority of the top 25 insured US-chartered commercial banks. H.15 Selected Interest Rates.
      • Board of Governors of the Federal Reserve System, G.19 Consumer Credit, release of November 6, 2026. Average rate on 24-month personal loans at commercial banks, 11.90%, for August 2026, the latest reading in that release. Personal loan rates are collected quarterly, in the middle month of each quarter.
      • 26 U.S.C. Section 72(p)(2), via the IRS guidance above. Paragraph (A) sets the amount limits, paragraph (B) sets the 5-year term and the principal residence exception, and paragraph (C) requires substantially level amortization with payments at least quarterly.

      Figures in this article were verified against the sources above on 21 November 2026. The prime rate and the personal loan average are dated figures that change with each release: prime is checked against the H.15 release, and the personal loan average against the G.19 release. The $50,000 ceiling, the $10,000 floor, and the 5-year term are statutory figures under IRC Section 72(p) that change only when Congress changes the law. The worked examples were recomputed from the calculator's own engine and checked against the IRS examples by hand.