You can contribute to an HSA without earned income. The Health Savings Account rules borrow nothing from the IRA playbook on this point: there is no wage or self-employment requirement anywhere in the statute. What the law asks is that you be covered by a qualifying high-deductible health plan, that you not be enrolled in Medicare, that no one else can claim you as a dependent, and that you carry no disqualifying secondary coverage. A retiree living on pension income, a spouse who doesn’t work, an adult living off investment dividends, someone between jobs — all can fund an HSA if the coverage rules line up.
What Actually Determines Eligibility
Federal law ties HSA eligibility to your health coverage on the first day of each month you want to contribute. To qualify, you need a high-deductible health plan and none of the disqualifying conditions.1Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans Earned income is not on the list.
For 2026, a qualifying HDHP must have an annual deductible of at least $1,700 for self-only coverage or $3,400 for family coverage. Out-of-pocket costs (deductibles and copays, but not premiums) cannot exceed $8,500 for an individual or $17,000 for a family.2Internal Revenue Service. IRS Notice 2026-05, Expanded Availability of Health Savings Accounts
Beyond the plan itself, three other rules block contributions even when your coverage is right:
- You can be claimed as a dependent on someone else’s return, whether or not they actually claim you.1Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
- You have disqualifying secondary coverage, such as a spouse’s general-purpose FSA or a health reimbursement arrangement that pays expenses before you meet your HDHP deductible.
- You carry a second, non-HDHP health plan (dental, vision, and specific-disease insurance are permitted).
Where the Money Can Come From
The statute requires only that contributions be “paid in cash” by or on behalf of an eligible individual, with no restriction on the source of those dollars.3Office of the Law Revision Counsel. 26 U.S.C. 223 – Health Savings Accounts Any of the following work:
- Savings and checking balances
- Investment dividends and interest
- Pension payments
- Rental income
- Proceeds from selling property
- Private disability insurance payments
- A gift from a family member or friend given specifically to fund the account
When someone else provides the money, the account holder still claims the deduction. That opens a straightforward path for non-working spouses, early retirees, and young adults who have the right insurance but no paycheck.
The Medicare Trap for Retirees
Most people who ask whether they can contribute without earned income are retired or nearly so, and this is where the answer flips on them. Once you enroll in any part of Medicare, your HSA contribution limit drops to zero for that month and every month after.4Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts The HDHP you still carry doesn’t rescue you.
Collecting Social Security at 65 or older automatically enrolls you in Medicare Part A, and that enrollment can take effect retroactively up to six months before you apply.5Social Security Administration. When to Sign Up for Medicare So a 66-year-old who starts benefits and then tries to fund an HSA from those checks is already disqualified, even though the money itself would be a valid funding source for someone under 65.
If you want to keep contributing past 65, delay Social Security and do not apply for Medicare Part A. You can enroll in both later when you’re ready to stop contributing. Because Part A can be backdated up to six months, plan to stop HSA contributions at least six months before your Medicare effective date.6Social Security Administration. Medicare
Social Security Disability Insurance carries a similar consequence. Recipients are automatically enrolled in Medicare after 24 months of benefits, and that enrollment blocks further HSA contributions regardless of what other coverage you carry.6Social Security Administration. Medicare
Non-Working Spouse With Family Coverage
A common setup: one spouse works and carries a family HDHP, the other has no income. Both spouses can open and own separate HSAs. The family contribution limit is divided between them however they agree, or split equally by default if they don’t. Each spouse who is 55 or older gets their own $1,000 catch-up contribution on top of their share.7Internal Revenue Service. Rules for Married People – IRS Courseware The non-working spouse’s contributions can be funded from any cash source, including deposits from the working spouse.
2026 Contribution Limits
The annual caps apply to total contributions from all sources combined:
- Self-only HDHP coverage: $4,400
- Family HDHP coverage: $8,750
- Catch-up contribution at age 55 or older: an additional $1,000
These figures come from IRS Notice 2026-05.2Internal Revenue Service. IRS Notice 2026-05, Expanded Availability of Health Savings Accounts The catch-up amount is fixed at $1,000 by statute and does not adjust for inflation.3Office of the Law Revision Counsel. 26 U.S.C. 223 – Health Savings Accounts
Partial-Year Eligibility and the Last-Month Rule
Covered by an HDHP for only part of the year? Your limit is prorated. Count the months you were eligible on the first of the month, divide by 12, and multiply by the annual cap. Nine months of self-only coverage in 2026 would allow up to $3,300.
There’s an exception. If you are HSA-eligible on December 1, the last-month rule lets you contribute the full annual limit as if you’d been eligible all year. The condition: you must stay eligible through December 31 of the following year. Fall out during that testing period, whether by dropping the HDHP or enrolling in Medicare, and the extra amount gets added back to your income with a 10% penalty.1Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
Excess Contributions
Going over the limit triggers a 6% excise tax on the excess for every year it stays in the account.8Office of the Law Revision Counsel. 26 U.S.C. 4973 – Tax on Excess Contributions to Certain Tax-Favored Accounts and Annuities Withdrawing the excess and any earnings on it before your tax filing deadline (including extensions) avoids the penalty.
Claiming the Deduction Without a Paycheck
The HSA deduction is above-the-line, which matters when your income is entirely unearned. It comes off your adjusted gross income whether you itemize or take the standard deduction, and it does not require wages to claim.
File Form 8889 with your return every year you contribute.9Internal Revenue Service. About Form 8889, Health Savings Accounts (HSAs) The deduction flows through Schedule 1 (Form 1040), line 13, reducing AGI dollar for dollar. For someone living on investment income or a pension, that can meaningfully lower a tax bill. If you took any HSA distributions during the year, Form 8889 is required regardless of whether you’d otherwise need to file.10Internal Revenue Service. Instructions for Form 8889 (2025)
Two States That Don’t Follow the Federal Rules
California and New Jersey do not recognize HSA tax benefits at the state level. Contributions are taxed as regular income on the state return, and earnings inside the account may also be taxed. The full federal deduction still applies, but the overall tax advantage is smaller in those states than the standard triple benefit (deductible contributions, tax-free growth, tax-free qualified withdrawals) suggests.