Taking specialized edible fungus planting technology as an example,this paper analyzes the impact of family labor outflow on farmers’ willingness to continue using technology and the internal mechanism of the impact,and uses survey data from farmers in 10 provinces to conduct empirical tests in the context of the massive outflow of rural labor. The study reveals the following findings:1)The effect of family labor outflow on farmers’ willingness to continue using technology exhibits an inverted U shaped pattern,initially strengthening and then weakening this willingness.2)The analysis of causal mediation effects indicates that the impact of labor outflow also indirectly influences farmers’ willingness to continue using technology partly by changing farmers’ technological cognition and evaluation, with these two paths explaining a total effect of 77.95%.3)Factors such as years of education,village cadre status, cultivation scale,cost expectations and profit expectations also influence farmers’ willingness to continue to use specialized production technology. Therefore,It is proposed that the institutional mechanism of labour mobility should be improved to reduce the barriers to labour mobility and enhance its positive impact.At the same time,social services and social security system should be improved to weaken its negative impact,which will help to promote new technologies and improve the specialization of edible fungus production.