An earthquake of magnitude 4.2 and depth of 9.00 kilometers occurred 6.70 miles from Brentwood, CA in Contra Costa County at 05:12 AM.