This article presents results relating undergraduate student retention in STEM majors to the use of Peer Instruction (PI) in an introductory physics course at a highly selective research institution. The authors compare the percentages of students who switch out of a STEM major after taking a physics course taught using traditional lectures only or one taught using PI, finding that nearly twice the percentage of students switch after the lecture-based course.