An earthquake of magnitude 3.8 and depth of 3.20 kilometers occurred 6.36 miles from Nephi, UT in Juab County at 12:43 AM.