Recent evidence suggests that test anxiety is increasing among students; however, relatively little is known regarding the related factors of test anxiety. The purpose of this study was to (1) examine the relationships between two forms of perfectionism, academic hardiness, and test anxiety, and (2) examine the moderating role of academic hardiness on the association between two types of perfectionism and test anxiety. This study included 520 students ranging from 15 to 21 years of age from eight high schools in Tehran, Iran completed the self-administered questionnaires. The results of Structural Equation Modelling (SEM) revealed that students with high levels of personal standards perfectionism and high levels of academic hardiness were less likely to experience test anxiety, while students with high levels of evaluative concerns perfectionism were more likely to experience test anxiety. A multi-group analysis revealed that academic hardiness moderated the relationship between evaluative concerns perfectionism and test anxiety. These findings enhance existing literature by revealing moderating processes that explain how perfectionism effects test anxiety.