The quake struck about two and a half miles southeast of Loma Linda around 8:48 p.m., at a depth of just over 10 miles. It was followed by a 2.8 aftershock.
No injuries or damage were immediately reported.
The quake was also felt in Riverside and as far away as Orange County.