A magnitude 7.4 earthquake struck Rat Islands in southwestern Alaska on Thursday evening, prompting a tsunami warning that was later withdrawn after no tsunami was detected, the U.S. Geological Survey said.

The quake hit at about 6 p.m. local time in an area southwest of Kiska, an uninhabited island more than 1,120 kilometres from mainland Alaska. Its epicentre was 10 kilometres deep.

A tsunami warning was initially issued for the Aleutian and Pribilof islands. The National Tsunami Warning Center in Palmer, Alaska, later said no tsunami had been observed and the warning was withdrawn.

There was no tsunami threat to the rest of Alaska, the U.S. Pacific coast or British Columbia, a Canadian province.