An earthquake of magnitude 4.0 and depth of 25.70 kilometers occurred 23.11 miles from Ferndale, CA in Humboldt County at 03:07 AM.