The earthquake hit at 9:55 p.m. Residents in Big Bear Lake, Victorville and Apple Valley reported feeling the shaking.
This is the second earthquake in Southern California in less than a week. On Friday, a 3.4-magnitude earthquake struck off the coast of Malibu.
No damage or injuries were immediately reported.