“…Empirical research showed that different dimensions of entrepreneurial self-efficacy played a partial mediated and fully mediated role between the independent personality and entrepreneurial intention of migrant workers ( Chen et al, 1998 ; Wilson et al, 2007 ; Kasouf et al, 2015 ; Tantawy et al, 2021 ). However, most studies on entrepreneurial self-efficacy have focused on college students and corporate entrepreneurship ( Huang et al, 2021 ; Liu and Yu, 2021 ; Zelin et al, 2021 ), and, however, few scholars have studied farmers’ entrepreneurship in the context of rural revitalization in China. The article constructs a mechanistic model of farmers’ entrepreneurial behavior from the perspectives of entrepreneurial attitude and entrepreneurial environment, and uses a structural equation modeling approach to test it empirically in order to provide empirical support for the complex mechanisms among entrepreneurial attitude, entrepreneurial environment, entrepreneurial self-efficacy, and farmers’ entrepreneurial behavior.…”