Is there a relationship between mathematics ability beliefs and STEM degrees? Fields such as physics, engineering, mathematics, and computer science (PEMC) are thought to require talent or brilliance. However, the potential effects of difficulty perceptions on students’ participation in STEM have yet to be examined using a gender and race/ethnicity intersectional lens. Using nationally representative U.S. longitudinal data, we measure gender and racial/ethnic variation in secondary students’ orientation towards mathematics difficulty. We observed nuanced relationships between mathematics difficulty orientation, gender, race/ethnicity, and PEMC major and degree outcomes. In secondary school, the gap between boys’ and girls’ mathematics difficulty orientations were wider than gaps between White and non-White students. Mathematics difficulty orientation was positively associated with both declaring majors and earning degrees in PEMC. This relationship varied more strongly based on gender than race/ethnicity. Notably, Black women show higher gains in predicted probability to declare a mathematics-intensive major as compared to all other women, given their mathematics difficulty orientations. This study’s findings show that both gender and racial/ethnic identities may influence the relationship between mathematics difficulty orientation and postsecondary STEM outcomes.