The application of inpatient electronic medical records (EMRs) is a crucial component of modern healthcare informatization, and also a key factor in improving medical quality and safety. Establishing standardized EMRs for thoracic surgery helps to standardize treatment processes, improve medical efficiency, enhance quality of care, and better ensure patient safety. It also facilitates the collection and use of standardized and structured data, promoting clinical decision-making, the application of artificial intelligence, and the development of specialized clinical centers. Considering relevant national policies, information standards, clinical practice challenges and latest research findings in thoracic surgery EMRs, Chinese Association of Thoracic Surgeons, Cross-Strait Medicine Exchange Association’s Thoracic Surgery Professional Committee, WU Jieping Medical Foundation’s Lung Cancer Professional Committee, Zhejiang Provincial Thoracic Surgeons Associations and Fujian Provincial Thoracic Surgeons Associations have explored innovative paths for EMRs development. Through multiple rounds of professional discussions and research, the "Chinese expert consensus on quality control and management of electronic medical records for thoracic surgery (2024 version)" was formulated. It aims to provide a reference for the construction and application of inpatient EMRs for thoracic surgeons and information professionals across China, promoting continuous improvement in the informatization and medical standards of the thoracic surgery field, and contributing to the construction of "healthy China".