An earthquake of magnitude 0.5 and depth of 7.90 kilometers occurred 3.85 miles from Rialto, CA in San Bernardino County at 12:59 AM.