Is retirement hazardous to your health?

It’s an intriguing question in light of a new study that finds senior citizens who work are in better health than their counterparts who don’t.

Researchers from the University of Miami and their colleagues examined data on more than 83,000 Americans who participated in the National Health Interview Survey between 1997 and 2011. All of them were at least 65 years old when they were interviewed, and 13 percent of them were still working part time or full time. The majority of these workers – 61 percent – held white-collar positions.

Compared to people with white-collar jobs, those who were unemployed or retired were 2.75 times more likely to report their health as “poor” or “fair.” (The other options were “good,” “very good” or “excellent.”)

People with blue-collar jobs, service-industry jobs or who worked on farms rated their health as about the same as their white-collar peers.

The survey also rated health using a measure called the Health and Activities Limitation Index, or HALex, which includes factors such as whether people need help taking care of themselves or have limitations in the kind of work they can do.

The 80 percent of people with the highest HALex scores were considered to be in good shape, compared with the 20 percent who had the lowest scores.

The researchers found that unemployed and retired senior citizens were nearly six times more likely than the white-collar workers to have a low HALex score. Again, other types of workers scored about the same as white-collar workers.

Older Americans with jobs also fared better on more objective measures of health. For instance, the National Health Interview Survey included information on whether people had ever been diagnosed with serious conditions like cancer, diabetes and heart disease. Compared to those with white-collar jobs, those who were unemployed or retired were 49 percent more likely to have a history of at least two of these health problems.

By this measure, blue-collar workers were in even better health than white-collar workers: They were 16 percent less likely to have two or more of these health problems.