According to the U.S. Geological Survey, the quake struck around 1:40 p.m. around 57 miles north of Barstow and 55 miles northwest of Ridgecrest in Kern County.
RELATED: Bay Area Earthquake Tracker
The area is somewhat remote.
There were no immediate reports of any damage or injuries.
How to make your own earthquake kit
For more earthquake articles and earthquake safety information, go here.