Virts was born in 1967 in Baltimore, Maryland, but considers Columbia, Maryland, to be his hometown. He graduated from Oakland Mills High School in Columbia, Maryland in 1985. He earned a bachelor of science degree in mathematics (with a French minor) from the United States Air Force Academy in 1989 and a master of aeronautical science degree in aeronautics from Embry-Riddle Aeronautical University in 1997. While at the Air Force Academy, Virts attended the Ecole de l'Air in 1988 on an exchange program. Selected as a pilot by NASA in July 2000, Virts reported for training in August 2000. His technical assignments have included lead astronaut for the NASA T-38 program, Shuttle Avionics Integration Laboratory (SAIL) test crewmember, and Expedition 9 crew support astronaut. He was the pilot of STS-130 aboard Space Shuttle Endeavour and as of 2015 is assigned as a CAPCOM, communicating with station crews from mission control in Houston.