Yes, you can have both an HSA and an IRA.

Although HSAs operate under many of the same rules that apply to traditional IRAs, an HSA is not an IRA; it is a tax-advantaged savings account for current and future medical expenses. (However, it may be used to pay for nonmedical expenses without penalty after the accountholder turns 65, so it can be used to save for retirement.)

Did this answer your question?