How Much You Can Borrow From Your 401k and What It Costs
The IRS lets you borrow up to 50% of your vested balance, with a $50,000 cap
The amount you can borrow from your 401k depends on how much money you have actually vested — the portion that belongs to you after your employer's waiting period. The IRS allows you to borrow the lesser of two amounts: 50% of your vested balance, or $50,000. If your vested balance is $80,000, you can borrow up to $40,000. If it is $120,000, you still cannot borrow more than $50,000.
Your plan document may set a lower limit. Some employers cap loans at $10,000 or $25,000 regardless of what the IRS permits. Check with your plan administrator — usually your HR department or the company that manages your 401k — to find out what your specific plan allows.
The $50,000 limit resets each calendar year. If you borrowed $30,000 in January and repaid it by June, you can borrow another $50,000 in July. If you still owe $30,000 in July, you can borrow only $20,000 more that year.
Key Takeaways
- You can borrow up to 50% of your vested 401k balance, capped at $50,000 per year, but your employer's plan may allow less.
- You must repay the loan within five years for general loans, or within the term of your mortgage if you borrow to buy a primary home.
- You pay interest to yourself, but the interest rate is typically 1% to 2% above the prime rate, and you pay it with after-tax dollars.
- If you leave your job, most plans require you to repay the full loan balance within 60 to 90 days or face taxes and penalties on the unpaid amount.
- Loans reduce the money growing tax-free in your account and can cost you thousands in lost growth over decades.
How the repayment timeline works
A standard 401k loan must be repaid within five years. You make payments quarterly or monthly — your plan administrator sets the schedule — and you pay interest on top of the principal. The interest rate varies by plan and lender; most fall between 1% and 2% above the prime rate, which means your rate might be 8% to 10% depending on current market conditions.
If you borrow money specifically to buy or build a primary residence, some plans allow a longer repayment period, sometimes up to 15 or 30 years. You will need to document that the loan is for a home purchase. This option is not available for investment property, vacation homes, or refinancing an existing mortgage.
You make loan payments with after-tax dollars — money that has already been taxed as income. This is different from your regular 401k contributions, which are pre-tax. The interest you pay goes back into your 401k account, so in theory you are paying yourself, but you are paying with money the IRS has already taxed.
What happens if you leave your job
If you quit, are laid off, or are fired while you have an outstanding 401k loan, your plan typically requires you to repay the entire remaining balance within 60 to 90 days. The exact important date is in your plan document. If you do not repay it in time, the unpaid amount is treated as a distribution — meaning you owe income tax on it, plus a 10% early withdrawal penalty if you are under 59½.
Example: You borrowed $30,000 and still owe $25,000 when you leave your job. Your plan gives you 90 days to repay it. If you cannot come up with $25,000, the IRS taxes that $25,000 as income for the year you left. If you are 45 years old, you also owe a 10% penalty — $2,500. Your total tax bill could be $7,500 to $10,000 depending on your tax bracket.
Some plans allow you to roll the loan into an IRA or a new employer's 401k plan to extend the repayment period, but this is not automatic. You have to ask your plan administrator before the important date passes, and the new plan has to accept it. Do not assume this option exists for you.
The cost of borrowing versus the cost of leaving money alone
Even though you pay interest to yourself, a 401k loan is expensive because of what you lose in investment growth. Money in your 401k grows tax-free. When you borrow $30,000, that $30,000 stops growing. Over 20 years, that $30,000 might have become $100,000 or more, depending on your investment mix and market returns. You lose that growth forever.
At the same time, you are paying interest with after-tax money. If you earn $60,000 a year and are in the 22% tax bracket, you need to earn $1,282 in gross income to have $1,000 after taxes to pay toward your loan. You are essentially paying a higher real interest rate than the stated rate because the money comes from taxed income.
A rough comparison: borrowing $30,000 at 8% interest for five years costs you about $6,600 in interest payments. But the $30,000 you did not borrow might have grown to $45,000 or more over those five years. Your total cost — interest paid plus growth lost — could exceed $15,000.
Loans versus hardship withdrawals
A 401k loan is not the only way to access your money before retirement. You can also take a hardship withdrawal, which lets you pull money out without a loan agreement. However, hardship withdrawals have strict rules: you can withdraw only enough to cover the when ready financial need, you must show you have no other way to pay for it, and you owe income tax plus a 10% penalty if you are under 59½.
A hardship withdrawal is permanent — the money is gone and does not grow anymore. A loan lets you put the money back and resume growth. But a loan requires repayment discipline and creates a important date risk if you leave your job. Hardship withdrawals are taxed when ready; loans are taxed only if you fail to repay them. The choice depends on whether you can reliably repay and whether you plan to stay at your job.
What to do before you borrow
Before you take out a 401k loan, contact your plan administrator and ask for the loan agreement and plan rules. You need to know: the maximum you can borrow, the interest rate, the repayment term, what happens if you leave your job, and whether your plan allows home-purchase loans with longer terms.
Calculate the real cost. Use an online 401k loan calculator to see how much interest you will pay and how much growth you will lose. Compare that to the cost of the alternative — a personal loan, a credit card, a home equity line of credit, or a hardship withdrawal. Sometimes a personal loan at 10% interest is cheaper than a 401k loan when you factor in lost growth.
If you are borrowing because you are behind on bills or facing an emergency, consider whether the loan solves the underlying problem or just delays it. If you borrowed $10,000 to pay off credit card debt but you still spend more than you earn, you will be in debt again in two years, and now you also owe the 401k loan.
Frequently Asked Questions
Can I borrow from my 401k if I am still working at the same company?
Yes. You can borrow while employed as long as your plan allows loans and you meet the plan's terms. You do not have to leave your job to take out a loan. However, some plans restrict how often you can borrow or require you to repay one loan before taking another.
What if I cannot repay the loan by the important date?
If you miss the repayment important date, the unpaid balance becomes a taxable distribution. You owe income tax on the amount, plus a 10% early withdrawal penalty if you are under 59½. You cannot extend the important date, but you can contact your plan administrator to discuss whether a rollover to another plan is possible before the important date passes.
Do I have to report a 401k loan on my tax return?
No. A loan is not a taxable event, so you do not report it on your tax return. You report it only if it defaults — if you fail to repay it and it becomes a distribution. Then it appears on the 1099-R form your plan sends to the IRS.
Can I borrow from a 401k I had at a previous job?
No. You can borrow only from a 401k where you are currently employed or from a plan you still have access to through your current employer. Once you leave a job, you cannot borrow from that old 401k. You can roll it to an IRA or your new employer's plan, but the old plan's loan rules no longer explore.
Is the interest I pay on a 401k loan tax-deductible?
No. Interest on a 401k loan is not deductible. You pay it with after-tax dollars, and you cannot write it off on your tax return. This is different from mortgage interest or student loan interest, which may be deductible under certain conditions.
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.