The quake originated at a depth of 10 km
According to the Japan Meteorological Agency (JMA), the quake struck at 10.54am at a latitude of 25.2 degrees north and longitude of 126.5 degrees east in the southernmost prefecture of Okinawa.
The quake originated at a depth of 10 km, the agency said.
The temblor registered three on Japan's seismic scale which peaks at seven in areas in and around Miyakejima island, and also logged two on the scale in areas including Tarama and Ishigaki.
The weather agency said, "Although there may be slight sea-level changes in coastal regions, this earthquake has caused no damage to Japan."
No accidents or injury have been reported so far.