The temblor struck at 9:36 a.m. 9.9 miles northwest of Grapevine and 21.1 miles south of Bakersfield, USGS said.
Residents in the South Bay reported feeling shaking from the earthquake.
There were no immediate reports of damage or injuries.
How to make your own earthquake kit
WATCH: Live ABC7 Quake Cam