The Dutch study echoes those from other countries. An analysis in the United States found about seven years of retirement can be as good for health as reducing the chance of getting a serious disease (like diabetes or heart conditions) by 20 percent. Positive health effects of retirement have also been found by studies using data from Israel, England, Germany and other European countries.

That retirement promotes health and prolongs life isn’t obvious. After all, work provides income and, for some, health insurance — both helpful for maintenance of well-being. It also can provide purpose and camaraderie. Evidence is mounting that loneliness and social isolation are linked to illness, cognitive decline and death. One study of American retirees found them less likely to be lonely or depressed.

Some work involves physical activity, which can help keep bodies healthy, too. One study found that those accustomed to getting exercise through physically strenuous jobs — like construction or landscaping — are more likely to become obese upon retirement than those who don’t have such jobs.

But for many people, work can be stressful, take time away from exercise, and promote bad habits like excessive alcohol consumption. The Dutch study found that half of the mortality reduction associated with retirement is attributable to cardiovascular and digestive system diseases. Obesity, smoking and alcohol consumption, as well as reduced exercise and stress, can all contribute to these. If you drive to work, that’s another life-threatening risk.

Teasing out the causal effect of retirement on health isn’t straightforward. After all, some people retire precisely because they are in declining health. Without careful analysis, you might conclude that retirement causes poor health and an earlier death.