An earthquake with a preliminary magnitude of 7.1 struck Friday off the coast of Alaska, the U.S. Geological Survey reported.

The quake was 6.2 miles deep - a relatively shallow temblor capable of causing damage.

The epicenter was in the Aleutian Islands, about 120 miles from Atka, Alaska.

The quake prompted a tsunami warning for coastal areas of Alaska, from Unimak Pass, Alaska to Amchitka Pass, Alaska, the West Coast and Alaska Tsunami Warning Center said.

There were no immediate reports of damage or injuries in the sparsely populated area near the epicenter.