Japanese women and men retained second and third places, respectively, on the world's average life expectancy ranking in 2018 as both groups topped a previous record for the seventh consecutive year, government data showed Tuesday.

The average life expectancy of women in Japan stood at 87.32, up 0.05 from 2017, while that for men was 81.25, up 0.16, according to the health ministry data.

Hong Kong topped the ranking for both men and women at 82.17 and 87.56, respectively. Switzerland came second for men at 81.4, while Spain ranked third for women at 85.73.

"Life expectancy has grown longer as we've seen drops in mortality rates for cerebral vascular disease and pneumonia among (Japanese) women and the rate of cancer among men," said an official of the Health, Labor and Welfare Ministry.

Japanese women enjoyed the world's longest average life expectancy -- which denotes the expectancy at birth -- from 1985 through 2010. But they fell behind women in Hong Kong in 2011 in the wake of the devastating earthquake and tsunami disaster in northeastern Japan in March that year.

Japanese women regained the top spot in 2012 and kept it before relinquishing it again to Hong Kong in 2015.