Home › Guides › Markets & the economy
401(k) withdrawal for a home purchase: hardship vs loan
A 401(k) can help pay for a home in two ways. One is a hardship withdrawal. The other is a loan from yourself. The IRS sets different rules for each. Your plan has to allow it first.
The short answer
Can you take money out of a 401(k) to buy a house? Maybe. It depends on your plan. The IRS says the plan decides (irs.gov):
Although not required, a retirement plan may allow participants to receive hardship distributions. A distribution from a participant's elective deferral account can only be made if the distribution is both: Due to an immediate and heavy financial need. Limited to the amount necessary to satisfy that financial need.
Loans work the same way (irs.gov):
Retirement plans may offer loans to participants, but a plan sponsor is not required to include loan provisions in its plan.
To find out what your plan allows, the IRS says to ask (irs.gov):
To determine if a plan offers loans, check with the plan sponsor or the Summary Plan Description.
For how much you can put in each year, see 401(k) contribution limits by year.
Hardship vs loan: side by side
| Hardship withdrawal | Plan loan | |
|---|---|---|
| What it is | Money out of your account, for good | Money you borrow from your account |
| Do you repay it? | No. The IRS says you can't repay it to the plan. | Yes. Usually within five years. |
| How much? | Only what the need requires, taxes included | The lesser of 50% of your vested balance or $50,000 |
| Taxed? | Income tax, and it may carry the 10% additional tax | A missed payment turns the balance into a taxed distribution |
| Buying a home? | Safe-harbor reason: costs directly related to buying your principal residence (excluding mortgage payments) | Repayment can run longer for a primary residence |
The rest of this page is the IRS's own words, row by row.
Option 1: the hardship distribution
What counts as a need
The IRS (irs.gov):
Under a “safe harbor” in IRS regulations, an employee is automatically considered to have an immediate and heavy financial need if the distribution is for any of these:
The home item on that list (irs.gov):
Costs directly related to the purchase of an employee's principal residence (excluding mortgage payments).
The other five items are medical care, tuition, stopping an eviction or foreclosure, funeral costs and certain repairs to your principal residence. The IRS words for each are on its hardship page.
Is there a first-time buyer rule? The IRS hardship page does not use the words "first-time." The line says "principal residence."
Not every purchase counts. The IRS says (irs.gov):
Consumer purchases (such as a boat or television) are generally not considered an immediate and heavy financial need.
How much can you take
There is no dollar cap in the IRS text we read. There is a limit by need (irs.gov):
The amount of a hardship distribution must be limited to the amount necessary to satisfy the need.
Taxes count as part of the need (irs.gov):
The distribution isn't greater than the amount of the immediate and heavy financial need, including the amounts necessary to pay any taxes resulting from the distribution.
One more rule the IRS spells out. You may not have to take a plan loan first (irs.gov):
For example, an employee requesting a hardship to purchase a principal residence doesn't have to obtain a plan loan if the loan would disqualify the employee from obtaining other necessary financing.
Which money can come out
The IRS (irs.gov):
In a 401(k) plan, hardship distributions can generally only be made from accumulated: elective deferrals (not from earnings on elective deferrals) employer nonelective contributions (sometimes referred to as “profit-sharing contributions”) and regular matching contributions.
The tax
The IRS (irs.gov):
Hardship distributions are subject to income taxes (unless they consist of Roth contributions). They may also be subject to a 10% additional tax on early distributions.
And you cannot undo it (irs.gov):
Employees who take a hardship distribution can't: repay it to the plan, or roll it over to another plan or an IRA.
Use the 401(k) early withdrawal calculator to see the numbers. One note: the IRS lists a hardship distribution as a payment that can't be rolled over, so ask your plan how it withholds on one. The 20% rule in the calculator is for a regular cash payment.
Option 2: the plan loan
The limit
The IRS (irs.gov):
The maximum amount a participant may borrow from his or her plan is 50% of his or her vested account balance or $50,000, whichever is less.
There is a floor for small accounts (irs.gov):
An exception to this limit is if 50% of the vested account balance is less than $10,000: in such case, the participant may borrow up to $10,000. Plans are not required to include this exception.
The IRS gives two examples (irs.gov):
Bill's vested account balance is $80,000. Bill may take a loan up to $40,000, which is the lesser of 50% of his vested account balance and $50,000.
Sue has a vested account balance of $120,000. Sue may take a loan up to $50,000, which is the lesser of 50% of her vested account balance of $120,000 ($60,000) or $50,000.
A made-up example
Say a worker has a vested balance of $15,000. Half is $7,500. That is under $10,000, so a plan that includes the IRS exception could lend up to $10,000. A plan without the exception would stop at $7,500.
Say another worker has $60,000 vested. Half is $30,000, which is less than $50,000. The limit is $30,000.
The repayment
The IRS (irs.gov):
Generally, the employee must repay a plan loan within five years and must make payments at least quarterly. The law provides an exception to the 5-year requirement if the employee uses the loan to purchase a primary residence.
If you leave the job
This is the part people miss (irs.gov):
Plan sponsors may require an employee to repay the full outstanding balance of a loan if he or she terminates employment or if the plan is terminated. If the employee is unable to repay the loan, then the employer will treat it as a distribution and report it to the IRS on Form 1099-R.
There is a way out (irs.gov):
The employee can avoid the immediate income tax consequences by rolling over all or part of the loan's outstanding balance to an IRA or eligible retirement plan by the due date (including extensions) for filing the Federal income tax return for the year in which the loan is treated as a distribution.
If you miss payments
The IRS (irs.gov):
If the loan repayments are not made at least quarterly, the remaining balance is treated as a distribution that is subject to income tax and may be subject to the 10% early distribution tax.
The IRA rule is not a 401(k) rule
The IRS IRA page lists this exception (irs.gov):
Not in excess of $10,000 used in a qualified first-time home purchase
That is Topic 557, for traditional and Roth IRAs. The IRS exceptions table, a page the IRS marks as historical and no longer updated, puts it in the IRA column. For qualified plans such as a 401(k), the same row reads "no" (irs.gov). And the IRS Topic 558 list for 401(k) plans has no home-purchase item.
IRAs also can't lend you money. The IRS says (irs.gov):
IRAs and IRA-based plans (SEP, SIMPLE IRA and SARSEP plans) cannot offer participant loans.
| 401(k) | IRA | |
|---|---|---|
| Loan | Only if the plan allows it | No |
| First-home exception to the 10% tax | Not in the Topic 558 list | Up to $10,000 |
Questions
Q: Can I withdraw from my 401(k) to buy a house? A: Your plan has to offer hardship distributions or loans. Both are optional for the plan. Buying your principal residence is a safe-harbor hardship reason in the IRS list.
Q: How much can I take from a 401(k) for a home purchase? A: A hardship withdrawal is limited to the amount of the need, taxes included. A loan is limited to the lesser of 50% of your vested balance or $50,000, with a $10,000 floor if the plan allows it.
Q: Is a 401(k) loan or a withdrawal for a home better? A: The IRS sets different rules. A loan is repaid, usually within five years, and a hardship withdrawal is not repaid. A hardship is taxed and may carry the 10%. The right pick is your call.
Q: Does the $10,000 first-time home buyer exception apply to a 401(k)? A: Not in the IRS Topic 558 list for 401(k) plans. The $10,000 line is in the IRA list, Topic 557.
Q: Do I have to be a first-time buyer for a 401(k) hardship? A: The IRS hardship page says "principal residence" and does not use the words "first-time."
Q: What happens to a 401(k) loan if I quit? A: The IRS says the plan may require you to repay the full balance. If you can't, the employer treats it as a distribution.
Follow along