An earthquake of magnitude 2.4 and depth of 26.20 kilometers occurred 7.73 miles from Shafter, CA in Kern County at 02:17 PM.