Hurley received his commission as a second lieutenant in the United States Marine Corps from the Naval Reserve Officer Training Corps at Tulane University, New Orleans, Louisiana, in 1988. After graduation, he attended The Basic School at Marine Corps Base Quantico, Virginia and later the Infantry Officers Course. Following aviation indoctrination at Naval Air Station Pensacola, Florida, he entered flight training in Texas in 1989; he was a distinguished graduate of the U.S. Navy Pilot Training program and was designated a Naval Aviator in August 1991.