Taxes for homebuyers
Borrowing from a 401(k) for a down payment: limits and risks
A 401(k) loan can put a down payment within reach without the taxes and penalties of a withdrawal. It also ties your retirement savings to your job and your mortgage at the same time. Know the rules before you sign both.
Reviewed November 2026 · Written for Buy Home Tips from the sources listed below
Tax year: Tax figures on this page apply to the 2026 tax year. They were checked against IRS material in November 2026, and each figure is labelled with its year. Tax rules change; use the IRS instructions for the year you file.
A 401(k) loan lets you borrow from your own retirement account and repay yourself with interest, usually through payroll deductions. Because it is a loan, not a withdrawal, it is not taxed when you take it, as long as you repay it according to its terms. Not every plan offers loans; the plan document decides.
How much you can borrow
For the 2026 tax year, the IRS sets the most a plan can permit as the lesser of:
- The greater of $10,000 or 50 percent of your vested account balance, or
- $50,000
The IRS gives the example of a participant with a $40,000 balance, who can borrow up to $20,000. Outstanding loans count toward the limit, and plans can set lower maximums. Only the vested part of your balance counts, so recent employer contributions may not be included.
Repayment rules
The general rule is repayment within 5 years, with substantially equal payments of principal and interest made at least quarterly. The IRS says a loan taken to buy your principal residence may be repaid over a longer period. Your plan sets the actual term, so ask what it allows for a home purchase.
Payments typically come out of each paycheck. The interest goes back into your account, but the money you borrowed is out of the market while the loan is outstanding.
Loan versus withdrawal
A withdrawal from a 401(k) before age 59½ is generally taxable and may face the 10 percent additional tax. The first-time homebuyer exception to that additional tax applies to IRAs, not to workplace plans. IRS Topic 558 lists the exceptions for plans other than IRAs, and buying a first home is not among them. That makes a plan loan, or an IRA under its own rules, the more common route for down payment money.
How mortgage lenders may view it
Lenders review where your down payment comes from, so expect to document the loan and the transfer. Whether the loan's payment counts in your debt-to-income ratio depends on the loan program's rules; ask your lender early. Even if it is not counted, the payment reduces your take-home pay, so include it in your own budget.
The job change risk
The biggest risk is leaving your job, voluntarily or not. Many plans require the remaining balance to be repaid or offset when employment ends. If a loan is not repaid according to its terms, it can become a deemed distribution, which may be taxable and subject to the additional tax depending on your age. The IRS loans FAQ explains plan loan offsets and rollover options; read it and your plan's rules before borrowing.
When it makes sense
A plan loan can make sense when your job is stable, the payment fits comfortably, and the amount fills a gap that would otherwise delay the purchase by years. It makes less sense if you might change jobs soon, if the payment would strain your budget alongside a new mortgage, or if it would leave you without an emergency fund.
Mini calculator: 401(k) loan limit and repayment
The IRS caps a plan loan at the lesser of $50,000 or the greater of $10,000 or half your vested balance. Your plan can set a lower cap or not offer loans at all.
2026 tax year. Your plan document decides the rate, the repayment period for a home purchase loan and what happens if you leave your job.
Before you request a plan loan
- Read your plan's loan rules: availability, rate, fees and repayment term.
- Ask whether the plan allows a longer term for a principal residence purchase.
- Calculate the payment and add it to your monthly budget.
- Ask your mortgage lender how it will treat the loan and its payment.
- Ask what happens to the loan if you leave or lose your job.
- Keep the loan paperwork and the transfer record for your mortgage file.
Questions buyers ask
How much can I borrow from my 401(k) for a house?
For the 2026 tax year, the IRS sets the maximum a plan can permit as the greater of $10,000 or 50 percent of your vested balance, or $50,000, whichever is less. Your plan can set a lower limit or not offer loans at all.
How long do I have to repay a 401(k) loan used to buy a home?
The general rule is repayment within 5 years, in substantially equal payments at least quarterly. The IRS says a loan used to purchase your principal residence may be repaid over a longer period, as your plan allows.
Is a 401(k) loan taxed?
A loan repaid on its terms is not a taxable distribution. If it is not repaid according to its terms, it can become a deemed distribution, which may be taxable and, depending on your age, subject to the additional tax on early distributions.
Is there a first-time homebuyer exception for 401(k) withdrawals?
The IRS's first-time homebuyer exception from the 10 percent additional tax applies to IRAs, not to workplace plans such as 401(k)s. IRS Topic 558 lists the exceptions that apply to plans other than IRAs.
Sources checked for this page
- IRS: retirement plans FAQs regarding loans
- IRS Topic 558: additional tax on early distributions from retirement plans other than IRAs
- IRS Topic 557: additional tax on early distributions from IRAs
- Fannie Mae Selling Guide B3-6-02: debt-to-income ratios
Checked November 2026. Programs and limits change; confirm with the source before you rely on a figure.