Using HSAs with Social Security and Medicare for Individual Insurance

February 16, 2017

Health savings accounts (HSAs) have been around since 2003, but many people remain unfamiliar with them. Similar to a personal savings account, an HSA allows an individual to use untaxed savings to pay their own individual health insurance costs—and to receive employer contributions up to a maximum amount specified by the IRS.

HSAs offer many advantages, but they don’t mix with certain types of federal programs and benefits. For example, if you are enrolled in Medicare Parts A or B, or if you file for Social Security benefits after age 65, you can’t make contributions to an HSA.

Medicare and HSAs

Medicare is health insurance provided by the federal government. Although there are several ways to qualify for Medicare, the program is most closely associated with people over age 65. The different types of Medicare coverage are as follows:

  • Part A. Hospital insurance
  • Part B. Medical insurance
  • Part C. Medicare advantage plus, which allows Medicare recipients to receive health benefits through a private health insurance company
  • Part D. Prescription drug coverage

For a more detailed breakdown on Medicare coverage, visit Medicare.gov.

IRS rules prohibit people enrolled in Medicare Parts A or B from contributing to an HSA. This is because a person with an HSA must also have individual health insurance that qualifies as a high-deductible health plan (HDHP) and can receive no other health coverage apart from that provided by the HDHP. The IRS counts Medicare Parts A and B as health coverage, but not as an HDHP. Thus, individuals who continue making contributions to an HSA after Medicare coverage begins risk IRS penalties.

The good news is that you can continue to make withdrawals from an HSA after you begin receiving Medicare benefits—you just can’t put more money into your account.

Social Security and HSAs

Social security retirement benefits can also impact your ability to make contributions to an HSA.

Under federal law, individuals age 65 and older are automatically enrolled in Medicare Part A upon filing for retirement benefits through the Social Security Administration. The only way to opt out of Medicare Part A is to stop your Social Security payments.

This automatic enrollment is also triggered even if you delay your Social Security benefits past age 65 for purposes of increasing your monthly retirement benefit. Furthermore, because the Social Security Administration makes retirement benefits retroactive for six months prior to an individual’s application, it’s important to stop making contributions to your HSA at least six months before you apply for Social Security.


Because of these rules, it’s important for workers and businesses alike to educate themselves about how HSAs interact with various types of federal benefits.

Learn how HRAs can help small businesses provide quality health benefits

Learn how an HRA works for employers in our latest webinar
Watch the recording today, and learn how an HRA can help your organization.
meeting_wide-1 CTA_purp_R