In 1988, Wagner habilitated at Heidelberg University and was given a teaching position there. He was then appointed honorary professor at the Technical University of Munich. From 1989 to 1993, Wagner was project manager of the Wendelstein 7-AS stellarator experiment.