An earthquake of magnitude 1.8 and depth of 5.30 kilometers occurred 14.55 miles from Barstow, CA in San Bernardino County at 11:42 AM.