This study examines the interplay between psychological contract fulfillment, distributive justice, and leader–member exchange (LMX) in shaping affective organizational commitment among university academics. Drawing on social exchange theory, and using simple random sampling, we propose a moderated mediation model to explore how these variables interact. To test the hypotheses, we used the linear moderated mediation test, applying PROCESS for SPSS. Specifically, on a sample of 465 academics, the study tests the hypothesis that distributive justice mediates the relationship between psychological contract fulfillment and affective commitment, with LMX acting as a moderator. Findings reveal that distributive justice is not always necessary for fostering affective commitment when psychological contracts are fulfilled, unless the quality of LMX is low. In low-quality leader–member relationships, perceptions of distributive justice become crucial when it comes to translating contract fulfillment into affective commitment. These results highlight the importance of relational dynamics in academic settings, especially when resources are limited. The study concludes with a discussion of its theoretical and practical implications, as well as limitations and avenues for future research.