In certain situations, you may be able to get Medicare part a hospital insurance before you turn 65. For example, if you have received social security disability benefits for at least 24 months; or, if you worked enough years in a local, state or federal government job, and are also disabled. Those who are getting a disability annuity from railroad retirement will qualify for hospital insurance after a waiting period. Speak with a representative at the railroad retirement office for more details. There are also ways to get Medicare part b medical insurance when you are under 65. Typically, if you're eligible for part a hospital insurance, you can purchase part b medical insurance for a monthly fee. No social security or government work credits are needed to purchase part b Medicare. To find out more about Medicare benefits for those under 65, contact the nearest social security office.