The earthquake struck 54km south of Merizo Village at a depth of 75km at 6.45pm local time (8.45 UK time), according to United States Geological Survey (USGS).
There are no immediate reports of casualties or damage to buildings on the island, in the western Pacific Ocean.
No tidal wave alerts have been issued by the Pacific Tsunami Warning Center.
Guam is roughly the size of the US state of Chicago and has a population of around 162,000 people
Source: Powerful magnitude 5.0 earthquake rocks US military island of Guam