401(k) Health Insurance: Can You Use 401k for Medical Expenses?
A 401(k) and an HSA are both powerful tax-advantaged accounts, but they do very different jobs.
While a 401(k) helps employees save and invest for retirement, health insurance helps offset the cost of medical care. Together, they can influence everything from monthly cash flow to long-term financial goals.
Although these benefits are often offered through the same employer, they serve different purposes and come with their own costs, tax advantages, and enrollment requirements.
Can You Use 401(k) for Medical Expenses?

A 401(k) hardship withdrawal may be used to cover unreimbursed medical expenses for the account holder, spouse, dependents, or a designated beneficiary.
Qualified Medical Expenses
Common eligible expenses include:
- Hospital and emergency care
- Physician and specialist services
- Prescription medications
- Dental and vision care
- Mental health and addiction treatment
Expenses must typically be unreimbursed and not covered by insurance.
Should I Withdraw My 401(k) for Medical Bills?
While a 401(k) can be accessed for medical expenses through hardship provisions, I would recommend you use it only as a last-resort liquidity source, not a primary funding mechanism.
The withdrawal permanently reduces retirement assets and is generally accompanied by taxation and potential penalties, making alternative financing options preferable where feasible.
Is 401(k) Withdrawal Considered Income for Health Insurance?
Yes, a 401(k) withdrawal is generally treated as income for health insurance purposes, but the exact impact depends on which type of health insurance you mean.
| Health Insurance Type | Does 401(k) Withdrawal Count as Income? | What It Affects |
|---|---|---|
| ACA Marketplace (Obamacare) | Yes (taxable withdrawals) | Premium tax credits, subsidies, eligibility |
| Medicaid (MAGI-based states) | Yes (if taxable) | Eligibility for coverage |
| Employer-sponsored insurance | No | Premiums or eligibility |
| CHIP / state income-based programs | Usually yes | Eligibility thresholds |
| Roth 401(k) qualified withdrawal | No (generally) | Usually no effect |
What an HSA is
Employer health insurance is completely separate. It’s the plan your employer may offer to help pay for doctor visits, hospital care, prescriptions, etc.
You can only contribute if you are enrolled in a qualifying high-deductible health plan and do not have disqualifying coverage.
An HSA offers three layers of tax relief.
- Contributions are tax-deductible or pretax, depending on how they are made.
- The money can grow tax-free.
- Withdrawals for qualified medical expenses are tax-free.
How 401k Withdrawals Work?
Traditional 401(k) withdrawals before age 59½ generally face ordinary income tax plus a 10% early-withdrawal penalty unless an exception applies.
After 59½, the penalty usually goes away, but taxes still apply on traditional balances.
Roth 401(k) withdrawals can be tax-free if the account and age rules are satisfied.
How about HSA withdrawals?
Qualified medical withdrawals from an HSA are tax-free at any age. If you use the money for something else before age 65, the withdrawal is usually taxed and also hit with a 20% penalty.
After age 65, there is no penalty. But, Nonmedical withdrawals are still taxed as income.
How to Withdraw From a 401(k) to Pay for Health Care Expenses
Step 1: Confirm hardship withdrawal eligibility
Check whether your 401(k) plan allows hardship withdrawals and whether medical expenses are an approved reason.
You can confirm this through your plan administrator or HR department.
Step 2: Determine if your medical expenses qualify
Next, you need to confirm that your expenses are unreimbursed and considered immediate and necessary, such as
- hospital bills
- surgery costs
- prescriptions, or
- other eligible medical care.
Step 3: Calculate the required withdrawal amount
Determine the exact amount needed to cover eligible medical expenses.
Only request what is necessary to satisfy the financial need.
Step 4: Collect required documentation
Gather supporting documents such as itemized medical bills, insurance statements (EOB), provider invoices, and proof of outstanding balances.
Step 5: Submit a hardship withdrawal request
Complete and submit your plan’s hardship withdrawal application, selecting medical expenses as the reason, and uploading all required documentation.
Step 6: Wait for plan approval
The plan administrator will review your request and determine eligibility.
If your plan is approved, the plan will distribute the funds via direct deposit or check to your designated account.
401(k) Health Insurance FAQs
Generally no, a general-purpose FSA makes you ineligible for HSA contributions, though limited-purpose and post-deductible FSAs remain compatible.
Qualified medical expenses under IRS rules include doctor visits, prescriptions, dental and vision care, and certain premiums, with HSAs also covering eligible OTC items and some Medicare-related costs.
Generally no, 401(k) funds cannot be used for premiums without taxes and penalties, except in limited cases such as COBRA or qualifying unemployment coverage.
Yes, HSA eligibility depends on HDHP coverage and Medicare status, not Social Security timing.
You can still use your HSA, but contributions stop once you enroll in Medicare or lose HDHP coverage, and most non-HDHP plans are not eligible.
No, an HSA is tax-deductible going in and tax-free only for qualified medical use, unlike a Roth IRA, which is general retirement savings.
Yes, a one-time IRA-to-HSA transfer is allowed up to the annual limit and is tax-free if eligibility rules are met.
A spouse inherits both with continued tax treatment; non-spouse beneficiaries receive HSA funds as taxable income and 401(k)s under inherited account rules.
Generally no, it usually triggers taxes and penalties before 59½, though after 65 withdrawals are penalty-free and flexible.
