An earthquake of magnitude 3.8 and depth of 1.20 kilometers occurred 6.76 miles from Nephi, UT in Juab County at 12:39 AM.