An earthquake measuring 5.3 has hit northern Japan.

It came hours after at least 30 people were killed in an 8.1 earthquake in Mexico, sparking a Tsunami warning in Japan.

The epicentre of the 20km-deep earthquake hit the north western Akita Prefecture just before 10am local time (1.26pm GMT).

"This earthquake poses no tsunami risk," the agency said on its website.

Japan Met Agency issued a tsunami warning for the country at 2am local time, over fears high waves triggered by the Mexico earthquake could hit Japan

There were no immediate reports of damage, said public broadcaster NHK.

The epicentre of the 10:26 p.m. (1326 GMT) earthquake was in Akita Prefecture (file pic) (
Image:
EyeEm)
Japan's earthquake alert system 30 seconds before the quake hit (
Image:
Twitter)

Earthquakes are common in Japan, with the country accounting for about 20 percent of the world’s earthquakes of magnitude 6 or greater.

The earthquake comes after another hit near the border of Mexico and Guatemala just before midnight on Thursday.

A baby fighting for life at a children's hospital was killed in the quake after they died when a power cut turned off the child's ventilator.

The quake caused widespread power outages and as a 0.7-metre wave hit the country, the Pacific Tsunami Warning Centre confirmed more hazardous tsunamis were possible within three hours.

The death toll includes two children in Tabasco state.

(
Image:
AFP)
(
Image:
REUTERS)
(
Image:
AFP)

Tabasco Govenor Arturo Nunez said one of the children died when a wall collapsed, and the other was a baby who died in a children's hospital that lost electricity, cutting off the supply to the infant's ventilator.

At least four people were killed in Chiapas state, in San Cristobal de las Casas.

Tsunami alerts were issued for Pacific countries - from Ecuador to Australia - after the quake shook buildings as far away as Guatemala and sent terrified residents running into the streets in their pyjamas.

Footage has emerged showing destroyed buildings and houses swaying, and power being knocked out as aftershocks continued to shake the region.

Video Loading
(
Image:
AFP)
Video Loading

The shock was felt as far away as Mexico City and across Central America.

People said it lasted as long as 90 seconds and caused workers and hotel guests to flee buildings when it struck around midnight local time.

The quake hit around 70 miles from the west coast of Mexico, near Tres Picos, in the state of Chiapas.

Mexico's civil protection agency said it was the strongest earthquake to hit the capital since a devastating 1985 tremor that flattened swathes of Mexico City and killed thousands.

(
Image:
USGS)

Countries at risk include Mexico, Guatemala, El Salvador, Costa Rica, Nicaragua, Panama, Honduras and Ecuador.

The Warning Center later said the tsunami waves are expected to be between 1 and 3 metres high.

(
Image:
REUTERS)
(
Image:
AFP)

The US Geological Survey said the quake struck at 11.49pm local time on Thursday and its epicentre was 102 miles west of Tapachula in Chiapas, not far from Guatemala. It had a depth of 22 miles.

People in Mexico City ran out into the streets in pyjamas and alarms sounded after the quake struck just before midnight.

Power went out in some neighbourhoods.

Video Loading
(
Image:
@AlertaChiapas/Twitter)
(
Image:
@AlertaChiapas/Twitter)
(
Image:
AFP)

"I had never been anywhere where the earth moved so much. At first I laughed, but when the lights went out I didn't know what to do. I nearly fell over," said 31-year-old architect Luis Carlos Briceno.

Videos and pictures posted online showed people, cars and lamposts shaking as the quake struck.

Initial reports of damage showed some buildings collapsed and windows smashed.