The quake struck at 8:19 a.m. PT about eight miles north of Castaic, 16 miles north-northwest of Santa Clarita and 21 miles northeast of Fillmore.
Eyewitness viewers reported feeling the shaking from Santa Clarita, North Hills, Granada Hills, Chatsworth, Pasadena, Three Points, Lancaster and Palmdale.
There were no immediate reports of damage or injuries.