Two grey whales were spotted swimming in the shallow waters of the San Gabriel River channel in southern California, prompting only mild concern and several onlookers.

Lifeguards watched the pair of 22 to 25-foot long whales closely and experts from a marine mammal centre told the local television station the animals did not appear to be stuck in the channel separating Seal Beach and Long Beach.

Seal Beach lifeguard Chief Joe Bailey said "they are doing one of two things ... scratching barnacles off themselves or feeding”.

"We don’t want to put pressure on them. They are doing what whales are gonna do, which is eating and swimming around,” Mr Bailey said.

The pair were first seen around 10 am local time and by 4 pm, one of the whales had made their way back into the ocean. The other has continued to stay swimming around the river bed. Neither are calves nor are they fully grown. Grey whales can reach up to 50 feet long.

Biologist Justin Greenman of the National Oceanic and Atmospheric Association told the Ocean County Register newspaper that the whales appeared “tactile,” adding that “they look like they’re having a good time so maybe they’re not eager to leave”.

While it may be unusual to see whales in such shallow waters close to the shore, Mr Greenman said it is not unheard of given migratory patterns leading animals back north with their calves along the southern California coast.

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

“What we’d [be] concerned about is if they were like caged tigers, going back and forth,” Mr Greenman said, but the animals appeared to be “healthy”.