Medicare is typically only available to U.S. citizens and legal permanent residents, but non-citizens may qualify for coverage in certain circumstances. These include:
Non-citizens with a work history
Non-citizens who have worked in the United States and paid Medicare taxes for at least 40 quarters (10 years) may be eligible for Medicare at age 65, even if they aren't permanent residents.