the twilight years

The twilight years are known as the last years before death, or before someone is expected to die. When someone refers to the twilight years of someone, they are speaking of their last years, typically between 2 and 5 years before they are expected to pass. If someone gets a fatal illness when they are older (or younger in some cases) that time period before they died is known as the twilight period.