This study investigated the role of prior preparation, self-efficacy, and gender on student achievement in introductory physics courses. The researchers administered a validated self-efficacy survey to 642 students (31% female) in calculus-based physics 2 courses. They found initial gender differences in prior preparation, self-efficacy, and course pretest scores. However, when controlling for prior preparation and self-efficacy, gender was no longer a significant predictor of course performance. The results suggest interventions targeting students' mindsets and sense of belonging could help improve self-efficacy and achievement for all students in introductory physics courses.