The migration routes of ancient whales have been revealed by examining the remains of tiny creatures that hitched a ride on their backs.

Fossilised barnacles that stick to the bodies of these ocean giants contain chemical traces that scientists have used to track their progress across the world’s oceans.

The results suggest modern whales are still tracing the same long-distance pathways their ancestors have been following for hundreds of thousands of years.

Most whales today travel vast distances from the food-rich waters in the north to warmer seas around Central America and Hawaii to breed.

While experts have suggested these routes may have been established long ago, there has not been enough fossil evidence to support the theory.

Tragic photos show beached whales Show all 15 1 /15 Tragic photos show beached whales Tragic photos show beached whales A dead sperm whale lies on Hunstanton beach in Norfolk on 5 February 2016 AFP/Getty Tragic photos show beached whales Volunteers pour buckets of water over the 80 remaining live pilot whales found stranded on remote Ocean Beach on New Zealand's southern-most Stewart island, 8 January 2003 AFP/Getty Tragic photos show beached whales Contractors clear away the body of one of the dead 48ft sperm whales that were washed-up on a beach near Gibraltar Point in Skegness, Lincolnshire in 2016 PA Tragic photos show beached whales People pass by a beached whale at the Pointe de la Torche, near Brest in France on 29 November 2011 AFP/Getty Tragic photos show beached whales A woman touches the tail of a large whale carcass on Wattamola Beach at the Royal National Park in Sydney on 25 September 2018 AFP/Getty Tragic photos show beached whales Beached humpback whale in California, 2015 AFP/Getty Tragic photos show beached whales Dead long fin pilot whales at Hamelin Bay on Australia's west coast on 23 March 2009 AFP/Getty Tragic photos show beached whales A 36ft sperm whale lies dead on the beach at Sutton Bridge, in The Wash, off the Lincolnshire coast, where it became stranded in 2004 PA Tragic photos show beached whales A female fin whale opens its mouth as it lies stranded and alive on the beach at Carlyon Bay, Cornwall on 13 August 2012 Getty Tragic photos show beached whales The lower jaw of a dead sperm whale that stranded itself on a beach in Hunstanton, Norfolk on 5 February 2016 Getty Tragic photos show beached whales One of the five sperm whales that were found washed ashore on beaches near Skegness, Lincolnshire over the weekend on 25 January 2016 Getty Tragic photos show beached whales Employees at work to skin the remains of a beached 60ft whale on 25 January 2013 AFP/Getty Tragic photos show beached whales Two long-finned pilot whales are stranded on a beach in the northern French city of Calais on 2 November 2015 AFP/Getty Tragic photos show beached whales A sperm whale lies dead after becoming stranded on a beach in Hunstanton, Norfolk on 5 February 2016 Getty Tragic photos show beached whales Crowds gather as a sperm whale lies dead after becoming stranded on a beach in Hunstanton, Norfolk on 5 February 2016 Getty

Instead of relying on whale bones, the team behind the new study opted for barnacles as a more reliable indicator.

“The signals we found in the fossil barnacles showed us quite clearly that ancient humpback and grey whales were undertaking journeys very similar to those that these whales make today,” said Larry Taylor, a doctoral student at the University of California, Berkeley.

“It seems like the summer breeding and winter feeding migrations have been an integral part of the way of life of these whales for hundreds of thousands of years.”

Whale barnacles attach to a humpback whale’s skin (Aleria Jensen, NOAA/NMFS/AKFSC)

Specifically, the Pacific coast of Panama appears to have served as a whale meeting point for at least 270,000 years.

While most barnacles glue their hard shells to rocks, there are varieties that are specialised for living on the bodies of whales.

This provides the barnacles with free passage to nutrient-filled waters, and the opportunity to breed with other barnacles when the whales carrying them meet up to mate.

Mr Taylor and his colleagues focused on types of oxygen molecule preserved in the shells of both modern and ancient barnacles.

As the oxygen composition changes depending on where in the ocean whales are, this gives an idea of their movements over time.

Both prehistoric and modern samples yielded measurements that suggested time spent in a variety of different waters, with patterns pointing to a summer feeding season and winter breeding season.

Support free-thinking journalism and attend Independent events

The scientists hope that their technique, published in the journal Proceedings of the National Academy of Sciences, could be used to perform more prehistoric detective work.