The quake struck at 3:20 am local time (1020 GMT) northwest of American Canyon, California, USGS said, at a depth of just 10.8 kilometres from the surface.
Residents of the cities of San Francisco, some 40 miles away, and Davis, just over 70 miles away, quickly took to Twitter reporting feeling the quake.
