Allen was selected as a scientist-astronaut by NASA in August 1967 as a member of the second group of scientist-astronauts.
From August 1975 to 1978, Allen served as NASA Assistant Administrator for Legislative Affairs in Washington, D.C. Returning to the Johnson Space Center in 1978, as a senior scientist astronaut, Allen was assigned to the Operations Mission Development Group.