An earthquake of magnitude 3.1 and depth of 6.70 kilometers occurred 22.35 miles from Barstow, CA in San Bernardino County at 01:14 AM.