Despite the extensive body of literature on the correlation between family dynamics and academic achievement among students, there remains a notable gap in research investigating the influence of parental educational involvement on student learning engagement. Based on the developmental-ecological model of student engagement and relevant theoretical frameworks, this study used the quantitative analysis method to construct a chain mediation model to test the relationship between parental educational involvement and the learning engagement of middle school students, as well as the potential mediating role of gratitude and hope. This study employed a cross-sectional study using whole-cluster random sampling to measure middle school students aged 11-18 years old in two schools over a one-week period. Through the use of self-reporting surveys, this study assessed the levels of parental educational involvement, gratitude, hope, and learning engagement among 754 middle school students (48% female; Mage = 14.83, SD = 1.65) in Hubei Province, China. The mediation effect was analyzed using regression analysis and the chained mediation model and tested via the Bootstrap method. The findings suggested that parental educational involvement significantly positively related to learning engagement among middle school students, while gratitude and hope serve as partial mediators in the relationship between parental educational involvement and learning engagement. These findings revealed the psychological mechanisms underlying the relationship between parental educational involvement and learning engagement among middle school students, providing valuable insights for enhancing their level of learning engagement.