An earthquake of magnitude 1.8 and depth of 27.60 kilometers occurred 5.26 miles from Shafter, CA in Kern County at 12:02 AM.