This study aims to analyze the effects of self-efficacy and professional competence on teacher performance, as well as to examine the role of transformational leadership as a moderating variable among civil servant teachers (ASN) in public junior high schools in Payakumbuh City. The research employed a quantitative approach with a causal-associative design. The population consisted of all 425 civil servant teachers in public junior high schools in Payakumbuh City, with a sample of 205 respondents selected using proportional random sampling. Primary data were collected through a five-point Likert scale questionnaire measuring indicators of self-efficacy, professional competence, teacher performance, and transformational leadership. Data analysis was conducted using Structural Equation Modeling–Partial Least Squares (SEM-PLS) via SmartPLS 3.0, including the assessment of the measurement model (outer model) for validity and reliability, and the structural model (inner model) for hypothesis testing and moderation analysis. The results indicate that self-efficacy has a positive and significant effect on teacher performance, while professional competence also has a positive and significant effect. Transformational leadership, however, does not have a significant direct effect on teacher performance. Additionally, transformational leadership significantly negatively moderates the relationship between self-efficacy and teacher performance, but it does not significantly moderate the relationship between professional competence and teacher performance.