Signing up on time
The initial enrollment period runs seven months: the three months before the month a person turns 65, that month and the three after. Someone already collecting Social Security is enrolled in A and B automatically. Someone who misses it can join during the general enrollment period, January 1 to March 31 each year, with coverage starting the month after enrolling.
A person covered by a group health plan through their own or a spouse's current employment can wait. They then have a special enrollment period that lasts until eight months after the job or the coverage based on it ends, whichever comes first. COBRA and retiree coverage are not current employment, so they do not extend the window.