Gainey took over on as interim superintendent in September when the school board fired Tony Tata, who is now North Carolina's secretary of transportation.
Gainey began his career with Wake County as a teacher at Apex High School and worked as an assistant principal and principal before joining WCPSS Central Services as Assistant Superintendent of Human Resources in 2009.
"I started working at the Wake County Public School System 20 years ago as a math teacher and coach," Gainey said. "Working with Wake County's students, educators, staff, and other professionals has been tremendously rewarding."
"On behalf of the board, we would like to thank Dr. Gainey for his years of dedication and service to the Wake County Public School System," Board of Education Chairman Keith Sutton said. "We wish him the best as he heads into his new role."
Gainey's new job begins July 1, and has an annual salary of $165,000.