An earthquake of magnitude 8.2 hit 256 km (157 miles) southeast of Chiniak, Alaska at a depth of 10 km at 0931 GMT on Tuesday, the U.S. Geological Survey said.
The quake, which struck in the Gulf of Alaska, prompted a tsunami warning for parts of Alaska and Canada and a tsunami watch for the parts US west coast the US Tsunami Warning System said.
“The tsunami warning remains in effect for the coastal area of British Columbia and Alaska,” the warning read.
“If you are located in this coastal area, move inland to higher ground.”
Tsunami warnings mean that a tsunami with significant inundation is possible or already occurring.
Tsunamis are a series of waves that are considered dangerous many hours after the initial arrival time.
The first wave may not be the largest.
The tsunami warning will remain in effect until further notice.
Earlier today a 6.0-magnitude earthquake has struck off Java in Indonesia.
The quake sparked panic in the capital Jakarta and ripped roads apart in the countryside.
Footage broadcast on Indonesian television showed trucks swaying violently from side to side at a port in Banten province on the northwestern tip of Java.
Pictures posted to social media showed huge cracks splitting roads and minor damage to vehicles and buildings.