Employer and union coverage
If you have Medicare and your employer or union group health coverage ends, you generally have a protected right to purchase a Medigap policy. The window typically runs from 60 days before your coverage ends through 63 days after it ends — measured from the latest of: the date coverage terminates, the date you receive a termination notice, or the date a claim denial first reveals that coverage had already ended.
This right applies when the group coverage is primary or secondary to Medicare. The key question is whether your actual insurance coverage ends — not merely whether your employment status changes.