An earthquake of magnitude 2.1 and depth of 4.60 kilometers occurred 10.22 miles from Johannesburg, CA in Kern County at 12:58 AM.