It is the executor’s legal responsibility to cancel Medicare after a death. But in most cases, the funeral home will offer to notify the SSA so you’ll have one less thing to think about.