An earthquake of magnitude 3.1 and depth of 5.10 kilometers occurred 3.31 miles from Medford, OK in Grant County at 12:56 PM.