Which Comes Out of Paycheck First: 401k or HSA?

When it comes to managing your finances and planning for the future, understanding the differences between a 401k and an HSA (Health Savings Account) is essential. One common question that arises is which comes out of your paycheck first: the 401k contribution or the HSA deduction?

Generally, the 401k contribution is deducted from your paycheck before the HSA deduction. The order in which these deductions come out of your paycheck is typically as follows:

  • 401k contribution
  • Other pre-tax deductions (if any)
  • HSA deduction
  • Income taxes

Here is a breakdown of how 401k and HSA contributions work:

  • 401k Contribution: This is a retirement savings plan sponsored by your employer. Your contributions are deducted from your paycheck before taxes, reducing your taxable income. The funds are then invested in the 401k account and grow tax-deferred until withdrawal during retirement.
  • HSA Deduction: An HSA allows you to set aside pre-tax money to pay for qualified medical expenses. The contributions are also deducted from your paycheck before taxes, providing a tax benefit. The HSA funds can be used for medical expenses not covered by insurance and roll over year after year.

It's important to note that both 401k contributions and HSA deductions offer tax advantages and can help you save for retirement and healthcare expenses. By prioritizing retirement savings through your 401k and taking advantage of the tax benefits of an HSA, you can create a well-rounded financial plan for the future.


Understanding the differences between a 401k and an HSA (Health Savings Account) is crucial for effective financial management. In most cases, your 401k contributions will be deducted from your paycheck first, followed by your HSA deductions.

  • 401k Contribution: These contributions lower your taxable income and help you prepare for retirement with tax-deferred growth.
  • HSA Deduction: Contributions to an HSA also come out pre-tax, allowing for some significant tax benefits while setting aside money for qualified medical expenses.
Prioritizing retirement savings through your 401k while also utilizing HSA for healthcare costs leads to a healthy financial future.

Download our FREE mobile app to get more of the following

Over 7,000+ HSA eligible items for sale.
Check on product HSA (Health Savings Account) eligibility
Get price update notifications
And more!

Did you find this page useful?

Subscribe to our Newsletter