Using Your 401(k) to Buy a House in Texas: Loans, Withdrawals, and the IRA Rule (2026)
You can use a 401(k) to buy a house through a plan loan or a hardship withdrawal, but the $10,000 penalty-free rule is for IRAs. Here's what each option costs, how lenders count it, and how Texas down payment help can shrink what you pull.
Most people asking whether they can use a 401(k) to buy a house already know the answer is technically yes. What they really want to know is whether it’s a smart move, and what it will cost them. That’s a fair question, because your 401(k) may be the biggest pile of money you have, and the house you want is right there.
Here’s the honest version. Using your 401(k) to buy a house can work, and for some buyers a plan loan is a reasonable bridge. But the rules are stricter than the internet makes them sound. The popular $10,000 penalty-free exception doesn’t apply to 401(k) plans at all. A hardship withdrawal comes out taxed and can’t be put back. And some Texas buyers who plan to tap retirement may qualify for state down payment assistance that could cover part of the same gap.
Below, you’ll see how a 401(k) loan and a 401(k) withdrawal work, what the IRA first-home rule actually allows, how mortgage lenders count retirement money and 401(k) loan payments, and how TSAHC and TDHCA help can change the math before you touch a dollar.
The 401(k) Shortcuts That Aren’t Real
A few beliefs send buyers down the wrong path before they ever talk to a lender. These are the ones that cost the most.
- “First-time buyers can take $10,000 out of a 401(k) penalty-free.” The rule: IRS Topic 557 lists the up-to-$10,000 first-time home purchase exception for IRAs, while IRS Topic 558, which covers employer plans such as a 401(k), lists no first-time homebuyer exception. A 401(k) withdrawal before age 59½ generally owes the 10% additional tax unless another exception fits.
- “A 401(k) loan will blow up my debt-to-income ratio.” The rule: the Fannie Mae Selling Guide on monthly debt obligations says a lender isn’t required to count a loan secured by your 401(k) in your monthly debts, as long as it gets a copy of the loan paperwork. FHA treats it differently, which you’ll see below.
- “I have to drain my retirement because I can’t cover the down payment.” The rule: HUD Handbook 4000.1 sets FHA’s minimum investment at 3.5% of the adjusted value for most borrowers. Texas assistance described in the TSAHC program guidelines and the TDHCA Lender Guide may cover up to 5% of the loan amount toward cash to close. If you’re eligible, you may need little or no retirement money.
- “I owned a home years ago, so I’m not a first-time buyer for the IRA rule.” The rule: for the IRA exception, the IRS counts you as a first-time homebuyer if you had no present interest in a main home during the two years before you sign the purchase contract, per IRS Publication 590-B.
If one of these was part of your plan, it’s worth a few minutes to rerun the numbers before you call your plan administrator.
Using Your 401(k) to Buy a House: Loan vs Withdrawal
You have two ways to get money out of a 401(k) while you’re still working there: borrow it or withdraw it. A loan is repaid to your own account through payroll and isn’t taxed if you keep up with it. A withdrawal is gone for good and is taxed as income. IRAs are a separate set of rules, and they can’t make loans at all.
Neither option is guaranteed. The IRS retirement plan loans page says a plan sponsor isn’t required to offer loans, and the IRS hardship distribution FAQs say a plan can limit hardship withdrawals to certain reasons and leave out the purchase of a home. Your plan’s Summary Plan Description is where you find out which doors are open.
Four ways retirement money can reach your closing table
| Option | How much | Taxes and the 10% additional tax | Do you pay it back? |
|---|---|---|---|
| 401(k) loan | Lesser of $50,000 or 50% of your vested balance (some plans allow up to $10,000 on small balances) | None if you repay on schedule; a missed schedule turns the balance into a taxable distribution | Yes, through payroll, with interest going back into your account |
| 401(k) hardship withdrawal | Up to the amount you need, which can include the taxes the withdrawal triggers | Taxed as income (except Roth contributions); the 10% additional tax may apply before 59½ | No, and it can’t be rolled over |
| Traditional IRA, first home | Up to $10,000 lifetime per person for a qualified first-time homebuyer | Taxed as income, but the 10% additional tax is waived | No |
| Roth IRA | Your regular contributions any time; up to $10,000 of earnings for a first home after the 5-year period | Contributions come out without income tax; qualified first-home distributions are tax-free | No |
Sources: IRS Retirement Topics: Loans; IRS hardship distribution FAQs; IRS Publication 590-B.
How a 401(k) Loan to Buy a House Works
A 401(k) loan lets you borrow from your own vested balance and pay yourself back. The IRS loan rules cap it at 50% of your vested balance or $50,000, whichever is less. The IRS’s own example: with an $80,000 vested balance, the most you can borrow is $40,000.
Repayment normally has to happen within five years, with payments at least every quarter. There’s one exception that matters here: the IRS says the five-year limit doesn’t apply when you use the loan to buy a primary residence, so your plan may offer a longer term for a home purchase. Some plans also need your spouse’s written consent before lending more than $5,000.
The catch is your job. The IRS warns in “Considering a loan from your 401(k) plan?” that your plan may require you to repay the full balance if you leave. If you can’t, the unpaid amount is treated as a distribution. The IRS loan rules say you can avoid the immediate income tax by rolling that amount into an IRA or another eligible plan by your tax-return due date, including extensions, for the year it’s treated as distributed. Miss that, and you owe income tax and possibly the 10% additional tax on money you already spent on the house.
Look, a 401(k) loan isn’t free just because the interest goes back to you. The money that’s out of the account isn’t invested while you repay it. Compare the loan’s rate and payroll deduction with what your mortgage itself will cost; the Texas mortgage rates page shows the current Freddie Mac weekly average of 7.21% for a 30-year fixed loan.
401(k) Withdrawal for a Home Purchase: Hardship Rules and the Real Cost
A hardship withdrawal is a permanent distribution, and buying a home can qualify. The IRS hardship FAQs list “costs relating to the purchase of a principal residence” among the expenses deemed to be an immediate and heavy financial need, if your plan allows hardship withdrawals for that reason.
The amount is limited to what you need, though the IRS says it can include the taxes and penalties the withdrawal itself causes. Your plan may ask you to take any available plan loan first, but that’s optional for the plan. And there’s a useful line for buyers: the IRS says the need to buy a principal residence isn’t treated as something a plan loan could cover if taking the loan would disqualify you from the other financing you need.
Then comes the bill. The IRS hardship distributions page says these withdrawals are subject to income tax unless they come from Roth contributions, may owe the 10% additional tax on early distributions, can’t be repaid to the plan, and can’t be rolled over. IRS Topic 558 explains that the 10% applies to the taxable part of an early distribution taken before age 59½, unless an exception fits.
Illustration: what a $20,000 hardship withdrawal at age 35 triggers
| Item | Amount | Why |
|---|---|---|
| Withdrawal (pre-tax 401(k) money) | $20,000 | Added to your federal taxable income for the year |
| 10% additional tax | $2,000 | Early distribution before 59½ with no exception (the IRA first-home exception doesn’t reach a 401(k)) |
| Federal income tax | Depends on your bracket | Taxed at your ordinary rate on top of your salary |
| Texas state income tax | $0 | Texas has no personal income tax |
| Can you put it back later? | No | Hardship withdrawals can’t be repaid or rolled over |
Sources: IRS Topic 558; IRS Retirement Topics: Hardship Distributions; Texas Legislative Council, Texas Taxes overview. Illustration only; your tax result depends on your full return.
The Texas Legislative Council confirms Texas doesn’t have a personal income tax, so you’re dealing with federal tax only. That’s a real advantage over buyers in many other states, but it doesn’t make a $20,000 withdrawal cost $20,000. A tax preparer can estimate your actual number before you request it.
The IRA First-Time Homebuyer Exception, Explained
If you have an IRA, the first-home rule may let you skip the 10% additional tax on up to $10,000. IRS Publication 590-B sets the conditions: the money has to pay qualified acquisition costs within 120 days of the distribution, the $10,000 is a lifetime total, and the home has to be the main home of a first-time homebuyer.
- Who counts. You, your spouse, or your or your spouse’s child, grandchild, parent, or other ancestor. If you and your spouse are both first-time homebuyers, each of you can take up to $10,000.
- What it pays for. Costs of buying, building, or rebuilding the home, plus usual or reasonable settlement, financing, and closing costs.
- The two-year test. You’re a first-time homebuyer if you had no present interest in a main home during the two years ending on the date of acquisition, which is the day you sign a binding purchase contract (or the day building or rebuilding begins). A married buyer’s spouse has to meet it too.
- If the deal falls through. The IRS says you can generally put the money back into an IRA within 120 days of the distribution as a rollover, without income tax or the 10% additional tax.
Roth IRAs work a little differently. Pub. 590-B says a return of your regular Roth contributions isn’t included in income, and contributions come out first under the IRS ordering rules. Earnings can also come out tax-free as a qualified first-home distribution, up to the same $10,000 lifetime limit, once the Roth’s five-year period has passed. IRS Topic 557 covers the rest of the IRA exceptions.
One planning note: the IRS says IRAs can’t make loans, and a former employer’s 401(k) generally won’t give you a new loan either. If your money sits there, ask a tax professional how moving it to an IRA would affect the first-home exception and your taxes.
How Mortgage Lenders Count Your 401(k)
Your lender cares about two things: whether the retirement money can actually be used, and whether a 401(k) loan adds a monthly payment to your file. Conventional and FHA loans answer those questions differently.
On a conventional loan, the Fannie Mae Selling Guide on retirement accounts says vested 401(k) and IRA funds are acceptable for the down payment, closing costs, and reserves. The lender has to confirm the account is vested and allows withdrawals regardless of your employment status. Fannie Mae’s rule on borrowed funds secured by an asset also accepts a 401(k) loan as a source of funds and says payments on a loan secured by your financial assets don’t have to be counted as long-term debt.
On an FHA loan, HUD Handbook 4000.1 lets the lender count up to 60% of your retirement balance, less any existing loans, unless you document that you could withdraw more after taxes and penalties. If you need that money to close, the lender needs proof it was actually withdrawn. For a retirement account loan, HUD tells the lender to reduce the retirement asset by the outstanding loan balance.
How conventional (Fannie Mae) and FHA rules treat your 401(k)
| Question | Conventional (Fannie Mae) | FHA (HUD 4000.1) |
|---|---|---|
| Can 401(k) money pay the down payment and closing costs? | Yes, from vested funds, if the account allows withdrawals regardless of your employment status | Yes; up to 60% of the balance less loans is counted unless you show more is available |
| Can it count as reserves without withdrawing? | Yes, Fannie Mae doesn’t require withdrawal for reserves | The unused portion, after adjusting for taxes and penalties, may count as reserves |
| Is a 401(k) loan an acceptable source? | Yes, as borrowed funds secured by an asset | Yes; the lender reduces the retirement asset by the loan balance |
| Does the 401(k) loan payment count in DTI? | Not required, if the lender gets the loan paperwork showing the 401(k) as collateral | HUD’s handbook doesn’t specifically address the payment; it requires the lender to reduce the retirement asset by the loan balance. Ask your lender whether the payment counts in your DTI |
| Non-vested money? | Not acceptable for reserves | Not specifically addressed; the lender documents your eligibility and the terms for withdrawal |
Sources: Fannie Mae Selling Guide B3-4.3-03, B3-4.3-15, B3-6-05, B3-4.1-01; HUD Handbook 4000.1.
Timing matters. Your lender will want statements that show the money, then a paper trail when it moves, much like the documentation for gift funds for a down payment. Our guide to the mortgage underwriting process explains why big, unexplained deposits slow files down. For FHA files where the payment does count, the FHA debt-to-income guide shows how ratios are figured.
401(k) First-Time Home Buyer Rules vs Texas Program Rules
“First-time buyer” means different things depending on who’s asking. The IRS uses a two-year lookback for the IRA exception. Texas bond programs use three years. And some Texas options don’t require first-time status at all.
Three definitions of “first-time” you may run into
| Rule or program | First-time requirement | Notes |
|---|---|---|
| IRS IRA first-home exception | No present interest in a main home for 2 years before the purchase contract | Doesn’t apply to 401(k) withdrawals |
| TDHCA My First Texas Home and Texas MCC | Haven’t owned and occupied a primary residence in the last 3 years | Exemptions for qualified veterans and targeted areas |
| TSAHC Bond DPA and MCC | No ownership interest in a principal residence in the preceding 3 years | Doesn’t apply in targeted areas or for a Qualified Veteran |
| TSAHC Non-Bond DPA (no MCC) and TDHCA My Choice Texas Home | None | Prior or current homeowners may be eligible if the new home becomes the principal residence |
Sources: IRS Publication 590-B; TDHCA Lender Guide (effective Nov. 1, 2026); TSAHC Program Guidelines (revised Sept. 9, 2026).
So a buyer who sold a house 30 months ago might qualify for the IRA exception and still miss the three-year bond rule, or the reverse: a qualified veteran or a buyer in a targeted area may be exempt from the bond programs’ first-time rule while still failing the IRS two-year test. The Texas first-time home buyer guide walks through the state definitions in more detail.
Texas Down Payment Assistance May Shrink What You Pull
Before you take money out of retirement, check what Texas programs may cover. TSAHC and TDHCA both offer assistance that can go toward your down payment and closing costs, through participating lenders only.
The TSAHC program guidelines describe assistance as a grant, a 3-year deferred forgivable second lien, or a 30-year deferred repayable second lien, and say it may fund your cash to close, including the down payment, closing costs, and prepaid items. On FHA, VA, and USDA loans, the grant option may provide up to 5% of the total loan amount (you can choose 2%, 3%, 4%, or 5%), with a 620 minimum credit score. The 30-year repayable option is limited to Bond DPA on government loans. That’s the money behind Home Sweet Texas and Homes for Texas Heroes.
The TDHCA Lender Guide says My First Texas Home and My Choice Texas Home offer down payment and closing cost assistance up to 5% of the mortgage loan, as a 30-year deferred repayable or 3-year deferred forgivable second lien. It also notes that Fannie Mae HFA Preferred, available through My Choice Texas Home, doesn’t require a minimum contribution from your own funds on a one-unit home. TDHCA posts assistance availability on its daily rate notice, so terms can change.
Programs come with income and purchase price limits. You can check yours on the Texas DPA income limits page and the purchase price limits page, and compare current program pricing on the TSAHC rates and TDHCA rates pages. If you’re eligible, the honest comparison isn’t “401(k) or nothing.” It’s “how much 401(k) money is left to cover after the assistance.”
Is Congress Changing the 401(k) Rules for Homebuyers?
You may have seen headlines this year about letting homebuyers tap a 401(k) without the penalty. Those are proposals. On January 23, 2026, Rep. John McGuire introduced the Home Savings Act, which his office says would allow penalty-free 401(k) withdrawals for a down payment or closing costs on a primary residence.
A bill being introduced doesn’t change your tax return. As of November 2026, IRS Topic 558 still lists no first-time homebuyer exception for 401(k) and other employer plans, while IRS Topic 557 lists the up-to-$10,000 first-home exception for IRAs only. Plan around the rules in effect on the day you take the money, not the ones that might pass later.
Should You Use Your 401(k) to Buy a House? A Decision Checklist
There’s no single right answer, but there is a sensible order to work through it.
- Read your plan’s rules. Find out whether it offers loans, hardship withdrawals for a home purchase, or both, and the longest loan term for a primary residence.
- Get pre-approved first. A lender can tell you your real cash to close, whether a 401(k) loan payment counts on your loan type, and how much retirement money it can recognize. Our guide to closing costs in Texas shows what that number includes.
- Check Texas assistance. Minimum credit scores for TSAHC and TDHCA assistance generally start at 620, and income, purchase price, and other limits apply. If you’re eligible, that help may cover part of your cash to close.
- Compare the cost of each source. Roth contributions, the IRA first-home exception, a 401(k) loan, and a hardship withdrawal are each taxed differently, and a tax professional can help you see which costs least in your situation.
- Stress-test your job. If a job change is likely in the next few years, plan how you’d repay or roll over a 401(k) loan balance.
- Get a tax estimate. Ask a tax professional what any withdrawal adds to your federal bill before you request it.
What to do: bring your plan’s loan terms and your latest retirement statement to your first lender conversation so you get an answer based on your actual numbers.
The Bottom Line on Using Your 401(k) to Buy a House
Your 401(k) can help you buy a house, and a plan loan may be a reasonable tool if your job is steady and your plan’s terms are clear. A hardship withdrawal is the expensive route, and the $10,000 first-home break you’ve heard about lives in IRAs, not 401(k) plans. For many Texas buyers, the better first step is finding out what state assistance covers, then deciding how much retirement money, if any, is still needed. It takes a little more homework up front, but it keeps more of your future savings where it belongs while you get the keys.
Using Your 401(k) to Buy a House: Common Questions
Using a 401(k) or IRA to buy a house: frequently asked questions
Can I use my 401(k) to buy a house?
How much of my 401(k) can I use to buy a house?
Is there a first-time homebuyer exception for 401(k) withdrawals?
Does a 401(k) loan affect my mortgage approval?
Is a 401(k) loan better than a withdrawal for a down payment?
How does the IRA first-time homebuyer withdrawal work?
Can I use my Roth IRA for a down payment?
Can I use Texas down payment assistance and my 401(k) together?
ShopDPA is a Texas home loan and down payment assistance referral service. We are not a mortgage lender, mortgage broker, loan officer, tax advisor, or financial advisor, and we do not originate, fund, or service loans. We are not affiliated with the IRS, HUD, Fannie Mae, TSAHC, TDHCA, or any government agency. Retirement plan rules vary by employer plan, and tax treatment depends on your full tax situation. Program terms, limits, and availability change. This page is general education, not tax, investment, or legal advice. Confirm your options with your plan administrator, a tax professional, and a participating lender. Equal Housing Opportunity.
Get Started
Find Your Texas Down Payment Assistance.
Answer a few quick questions and we'll show you the programs that fit. Takes under 60 seconds. No SSN, no commitment.