If you are enrolled into Medicare you are not allowed to have an HSA account. Although, if you were enrolled into an HSA account before you went on to Medicare, you can keep the account. You will not be allowed to make any further contributions once on Medicare.