USGS says the quake struck around 11:43 p.m., about 7 miles from Ocotillo and 18 miles from El Centro.
A USGS map showed the quake was felt across a large swath of Southern California and a part of Baja California.
No damage or injuries were immediately reported.