An earthquake of magnitude 3.1 and depth of 5.10 kilometers occurred 6.81 miles from Medford, OK in Grant County at 05:22 AM.