Environmental sustainability has become the need of the hour and has been emphasized immensely because of the increased environmental awareness and resulting problems caused due to negligence. This study has intended to determine the role of knowledge management (KM) practices in achieving a sustainable environment with the mediating role of environmental awareness and green technological use. The study further examined the moderating role of green innovative culture between the relationship of KM practices and a sustainable environment. The data were acquired from 378 managerial level personnel of the construction industry in China through questionnaires. Smart-PLS 3.3.3 was used to determine the study's hypothesis through the structural equation modeling (SEM) technique. The study found that KM practice has a significant relationship with a sustainable environment, environmental awareness, and green technological use. Also, environmental awareness has a significant effect on a sustainable environment. Moreover, it was found in the study that environmental awareness significantly mediated the relationship between KM practices and sustainable environment, but green technological use did not find any mediating effect on the relationship between KM practices and sustainable environment. Furthermore, green innovative culture considerably moderated the relationship between KM practices and a sustainable environment. Theoretically, this study contributes to the existing literature by incorporating and investigating the role of KM practices in a sustainable environment. Practically, this article presented some implications for the management concerning promoting KM practices and environmental awareness within the organization and developing a green innovative culture.