Beluga whales and narwhals go through the menopause in the same way as women, scientists have discovered.

Along with humans, other toothed whales – killer whales and short-finned pilots – were the only others previously known to experience the menopause.

Almost all animals continue reproducing throughout their lives, and scientists have long been puzzled about why some have evolved to stop doing so.

Most species in the wild continue reproducing until they die.

The new study, by the universities of Exeter and York and the Center for Whale Research, used data on dead whales from 16 species, and found dormant ovaries in the females of older belugas – small white mammals – and narwhals – medium-sized single-tusked creatures found in the Canadian and Greenland Arctic seas.

The researchers believe older females are useful to groups but if they continued having calves into old age, the new youngsters would be competing with her earlier offspring.

SeaWorld's killer whales Show all 10 1 /10 SeaWorld's killer whales SeaWorld's killer whales Visitors are greeted by an Orca killer whale as they attend a show featuring the whales during a visit to the animal theme park SeaWorld in San Diego, California March 19, 2014. A California lawmaker introduced a bill to ban live performances and captive breeding of killer whales in the state, a measure that would force the SeaWorld San Diego marine theme park to end is popular "Shamu" shows. Mike Blake/Reuters SeaWorld's killer whales A trainer shows the crowd a killer whale during a show at the animal theme park SeaWorld in San Diego, California March 19, 2014. A California lawmaker introduced a bill to ban live performances and captive breeding of killer whales in the state, a measure that would force the SeaWorld San Diego marine theme park to end is popular "Shamu" shows. Mike Blake/Reuters SeaWorld's killer whales An Orca killer whale is seen underwater at the animal theme park SeaWorld in San Diego, California March 19, 2014. A California lawmaker introduced a bill to ban live performances and captive breeding of killer whales in the state, a measure that would force the SeaWorld San Diego marine theme park to end is popular "Shamu" shows. Mike Blake/Reuters SeaWorld's killer whales Visitors get a close-up view of an Orca killer whale during a visit to the animal theme park SeaWorld in San Diego, California March 19, 2014. A California lawmaker introduced a bill to ban live performances and captive breeding of killer whales in the state, a measure that would force the SeaWorld San Diego marine theme park to end is popular "Shamu" shows. Mike Blake/Reuters SeaWorld's killer whales Trainers have Orca killer whales perform for the crowd during a show at the animal theme park SeaWorld in San Diego, California March 19, 2014. A California lawmaker introduced a bill to ban live performances and captive breeding of killer whales in the state, a measure that would force the SeaWorld San Diego marine theme park to end is popular "Shamu" shows. Mike Blake/Reuters SeaWorld's killer whales Trainers have Orca killer whales perform for the crowd during a show at the animal theme park SeaWorld in San Diego, California March 19, 2014. A California lawmaker introduced a bill to ban live performances and captive breeding of killer whales in the state, a measure that would force the SeaWorld San Diego marine theme park to end is popular "Shamu" shows. Mike Blake/Reuters SeaWorld's killer whales Trainers have Orca killer whales perform for the crowd during a show at the animal theme park SeaWorld in San Diego, California March 19, 2014. A California lawmaker introduced a bill to ban live performances and captive breeding of killer whales in the state, a measure that would force the SeaWorld San Diego marine theme park to end is popular "Shamu" shows. Mike Blake/Reuters SeaWorld's killer whales Trainers have Orca killer whales perform for the crowd during a show at the animal theme park SeaWorld in San Diego, California March 19, 2014. A California lawmaker introduced a bill to ban live performances and captive breeding of killer whales in the state, a measure that would force the SeaWorld San Diego marine theme park to end is popular "Shamu" shows. Mike Blake/Reuters SeaWorld's killer whales Tillikum, a killer whale at SeaWorld amusement park, performs during the show "Believe" in Orlando, September 3, 2009. A killer whale at the SeaWorld amusement park in central Florida killed a trainer on February 24, 2010, police and company executives said. According to the Orlando Sentinel the orca involved in the incident, named Tillikum but popularly known as "Tilly," has a controversial past. Mathieu Belanger/Reuters SeaWorld's killer whales An unidentified trainer works with a killer whale during the "Believe" show at Sea World in Orlando, Florida, in this photograph taken on February 14, 2010. A killer whale at the SeaWorld amusement park in central Florida killed a trainer on February 24, 2010, police and company executives said. Picture taken February 14. Richard Baum/Reuters

"For menopause to make sense in evolutionary terms, a species needs both a reason to stop reproducing and a reason to live on afterwards," said lead author Dr Sam Ellis, of the University of Exeter.

"In killer whales, the reason to stop comes because both male and female offspring stay with their mothers for life so as a female ages, her group contains more and more of her children and grandchildren.

"This increasing relatedness means that, if she keeps having young, they compete with her own direct descendants for resources such as food.

"The reason to continue living is that older females are of great benefit to their offspring and grand-offspring. For example, their knowledge of where to find food helps groups survive."

Dead whales beached on the North Sea coast Show all 8 1 /8 Dead whales beached on the North Sea coast Dead whales beached on the North Sea coast Two dead sperm whales are seen washed up on a beach near Skegness in northeast England. Four sperm whales believed to be from the same pod washed up on beaches in northeast England. Three whales were found on a beach near Skegness and one died on Hunstanton beach AFP Getty Dead whales beached on the North Sea coast 50ft sperm whale beached in Norfolk The dead 50ft (14.5m) young adult male sperm whale beached in Norfolk, which was was part of a group of six spotted in the Wash at Hunstanton, is believed to have been part of a pod that stranded and died in the Netherlands PA Dead whales beached on the North Sea coast 50ft sperm whale beached in Norfolk The dead 50ft (14.5m) young adult male sperm whale beached in Norfolk, which was was part of a group of six spotted in the Wash at Hunstanton, is believed to have been part of a pod that stranded and died in the Netherlands PA Dead whales beached on the North Sea coast 50ft sperm whale beached in Norfolk The dead 50ft (14.5m) young adult male sperm whale beached in Norfolk, which was was part of a group of six spotted in the Wash at Hunstanton, is believed to have been part of a pod that stranded and died in the Netherlands PA Dead whales beached on the North Sea coast 50ft sperm whale beached in Norfolk The dead 50ft (14.5m) young adult male sperm whale beached in Norfolk, which was was part of a group of six spotted in the Wash at Hunstanton, is believed to have been part of a pod that stranded and died in the Netherlands PA Dead whales beached on the North Sea coast 50ft sperm whale beached in Norfolk Two of three dead sperm whales that have washed up on a beach in Lincolnshire, just a day after another was beached in Norfolk PA Dead whales beached on the North Sea coast One of three dead sperm whales that have washed up on a beach in Lincolnshire, just a day after another was beached in Norfolk PA Dead whales beached on the North Sea coast Photo taken from the Twitter feed of the @RNLIskegness of one of three dead sperm whales that have washed up on a beach in Lincolnshire, just a day after another was beached in Norfolk PA

The study, published in journal Scientific Reports, also suggested that beluga whales and narwhals may have shared a common ancestor.