Can a First-Time Home Buyer Use a 401(k)? Loan, Rollover, Withdrawal

A first-time home buyer generally cannot pull money from a 401(k) penalty-free the way they can from an IRA. The $10,000 first-time homebuyer exception in the tax code applies to individual retirement accounts only, not to employer-sponsored plans like a 401(k).1Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions If you want to use 401(k) money for a down payment, you have three workable paths: take a 401(k) loan, roll the money into an IRA first and then take the homebuyer distribution, or request a hardship withdrawal. The right choice usually saves thousands. The wrong one costs thousands.

Why the Homebuyer Exception Skips 401(k) Plans

The statute that creates the penalty-free homebuyer distribution, 26 U.S.C. § 72(t)(2)(F), limits it to “distributions to an individual from an individual retirement plan.”2Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts The IRS exceptions table reflects that split directly: the first-time homebuyer exception is marked “yes” for IRAs and “no” for qualified employer plans such as 401(k)s and 403(b)s.1Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions

The practical result: if you take a straight distribution from your 401(k) before age 59½ and hand the money to your closing agent, you owe ordinary income tax on the full amount plus a 10% early distribution penalty. Documenting the home purchase does nothing to help. The exception simply is not available for that account type.

Option 1: Borrow From the 401(k)

A 401(k) loan is usually the cleanest way to reach retirement money for a home. Because you are borrowing against your own balance and repaying with interest, the IRS does not treat it as a distribution. No income tax. No 10% penalty. No need to prove you are a first-time buyer.3Internal Revenue Service. Hardships, Early Withdrawals and Loans

The maximum loan is the lesser of $50,000 or 50% of your vested account balance, with a $10,000 floor if your vested balance is at least that amount.4Internal Revenue Service. Retirement Plans FAQs Regarding Loans That cap applies across all outstanding loans from the same plan and is reduced if you had a higher balance in the prior 12 months.

The standard repayment period is five years, but loans used to purchase a principal residence can run longer. Plan documents control the exact terms, and many plans allow 10, 15, or even 25 years for a primary home purchase.4Internal Revenue Service. Retirement Plans FAQs Regarding Loans You repay through payroll deductions, and the interest goes back into your own account.

The Job-Loss Problem

Here is the real risk. If you leave your employer with a loan outstanding, most plans require full repayment within a short window, often 60 to 90 days, though some plans extend it to your next tax filing deadline. If you cannot repay in time, the balance becomes a “deemed distribution”: taxable income for the year, with the 10% penalty stacked on top if you are under 59½.5Internal Revenue Service. Deemed Distributions – Participant Loans Missing a single installment can trigger the same result if you do not cure the missed payment within the plan’s grace period.

A $40,000 deemed distribution can easily generate a combined tax and penalty bill of $12,000 to $15,000. If you are contemplating a career change, work in a volatile industry, or have any reason to expect a layoff, weigh that carefully before using a 401(k) loan for a down payment.

Check Whether Your Plan Even Offers Loans

Loan provisions are optional. Your employer’s plan document decides whether loans are available, the maximum term, and the interest rate. Confirm with your plan administrator before building any home-purchase strategy around a 401(k) loan. If loans are not offered, the rollover route below is the next stop.

Option 2: Roll the 401(k) Into an IRA First

Because the $10,000 penalty-free homebuyer distribution only works from an IRA, the workaround is to move 401(k) money into a traditional IRA and take the distribution from there. The rollover itself is not a taxable event as long as the funds reach the IRA within 60 days.1Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions Once the money is in the IRA, up to $10,000 can come out penalty-free for a qualified first-time home purchase under 26 U.S.C. § 72(t)(2)(F).2Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts

Several catches shape whether this path actually works for you:

  • You usually need to have left your employer. Most 401(k) plans do not permit in-service rollovers before age 59½. Some allow in-service rollovers of certain contribution types, such as after-tax contributions, but this varies. Ask your plan administrator.
  • Indirect rollovers trigger 20% withholding. If the 401(k) sends the money to you as a check, the plan must withhold 20% for federal taxes. To roll over the full amount, you have to come up with that 20% from other funds and deposit the whole original amount into the IRA within 60 days. Otherwise the withheld portion is treated as a taxable distribution.
  • Use a direct trustee-to-trustee transfer. If the plan sends the money straight to your IRA custodian, no 20% withholding applies. This is almost always the better approach.
  • The $10,000 penalty-free cap still applies. Even if you roll over $100,000, only $10,000 of the withdrawal (lifetime) escapes the 10% penalty. Anything above $10,000 taken before age 59½ gets penalized.
  • You still owe income tax. The exception only waives the 10% additional tax. The distribution itself is ordinary taxable income for the year.

The realistic savings here are modest. Avoiding the 10% penalty on $10,000 saves $1,000. Whether that justifies the rollover paperwork depends on your situation, and for someone still employed with an active 401(k) loan option available, the loan usually wins.

Option 3: Hardship Withdrawal (Last Resort)

If your plan has no loan feature and you cannot roll the money out because you are still employed, a hardship withdrawal is what remains. The IRS safe harbor rules treat costs of purchasing a principal residence (mortgage payments excluded) as an automatic qualifying hardship.6Internal Revenue Service. Retirement Topics – Hardship Distributions

This is the most expensive way to reach 401(k) money. You owe ordinary income tax on the full amount plus the 10% penalty if you are under 59½. The homebuyer exception does not rescue you here either. On a $20,000 withdrawal, someone in the 22% bracket would lose roughly $6,400 to combined taxes and penalty, netting about $13,600 for the purchase.

The restrictions run further. Hardship distributions cannot be repaid to the plan and cannot be rolled into another retirement account.6Internal Revenue Service. Retirement Topics – Hardship Distributions The withdrawal is limited to the amount needed to cover the qualifying expense, and the plan administrator can require you to show you have exhausted other reasonably available resources. For a home purchase specifically, you are not forced to take a plan loan first if doing so would disqualify you from obtaining your mortgage.

Who Counts as a First-Time Home Buyer

The IRS definition is more forgiving than the label suggests. You qualify if you (and your spouse, if married) had no ownership interest in a principal residence during the two-year period ending on the date you acquire the new home.2Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts Someone who sold a home three years ago and has been renting since then qualifies.

A few details catch people out:

  • Both spouses must qualify. If your spouse owned a principal residence during the two-year lookback, neither of you can use the exception, even if you personally never owned a home.
  • Investment properties do not count against you. The lookback covers principal residences only. Rental property or a vacation home you never used as your primary residence does not disqualify you.
  • The acquisition date is the contract date. Under the statute, “date of acquisition” is the date you enter into a binding contract to purchase, not the closing date.2Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts
  • You can buy for certain relatives. The distribution can go toward a principal residence for your spouse, child, grandchild, parent, or grandparent.

The distribution must be used for qualified acquisition costs within 120 days of receipt. Those costs are defined broadly: buying, building, or rebuilding a residence, plus standard settlement charges, financing costs, and other closing costs.2Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts Down payment, title insurance, appraisal, recording fees, loan origination charges, and land purchase for a build all qualify.

The $10,000 cap is a lifetime figure, not annual. If you used $6,000 of the exception years ago, only $4,000 remains. Each spouse has a separate $10,000 lifetime limit, so a qualifying married couple can withdraw up to $20,000 combined.2Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts

Claiming the Exception on Your Tax Return

Any retirement account distribution gets reported on Form 1099-R.7Internal Revenue Service. About Form 1099-R The IRA custodian may or may not code the distribution correctly for the homebuyer exception. Either way, claiming the penalty waiver is on you.

File IRS Form 5329 with your return and enter exception number “09” for IRA distributions for a first home purchase (up to $10,000).8Internal Revenue Service. Instructions for Form 5329 (2025) Skip Form 5329 and the IRS will assess the penalty automatically based on the code on your 1099-R.1Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions Form 5329 only waives the 10% penalty; the full distribution is still ordinary income on your Form 1040.

Which Option Fits Your Situation

The right approach turns on whether you are still employed, how much you need, and how much tax cost you can absorb.

  • 401(k) loan: no income tax, no penalty, up to $50,000. Must be repaid, and job loss can trigger a large tax bill. Best when your employment is stable.
  • 401(k)-to-IRA rollover, then homebuyer distribution: income tax applies but no 10% penalty on the first $10,000. Usually requires separation from service and careful timing. Best when you have already left your job.
  • 401(k) hardship withdrawal: income tax plus 10% penalty, no repayment allowed. Treat as a last resort.
  • Direct IRA distribution: income tax applies, no penalty up to $10,000. The simplest path if you already have enough in an existing IRA.

For most people saving for a down payment inside a 401(k), the loan is the answer. The homebuyer exception sounds attractive, but at $10,000, a figure that has not been adjusted for inflation since it was enacted in 1997, the actual penalty savings of $1,000 rarely justify a rollover for someone who could simply borrow from the plan.