An earthquake of magnitude 5.3 struck 29 km west southwest of the Nicaraguan city of Nagarote at a depth of 111 km, the U.S. Geological Survey reported on Wednesday.