AbstractIn the multi‐variety and large‐scale order production mode, enterprises must balance delivery deadlines and maintain customer satisfaction while also considering the health status of machines. Therefore, the authors propose a method for jointly optimising production scheduling and machine maintenance. Before machine processing, an order value grading and sorting model and a machine health‐status group partitioning model are constructed to classify orders into different production value levels and machines into different health‐status groups, respectively. During machine processing, based on the Weibull distribution theory, a ‘health evaluation function value’ constraint machine preventive maintenance (PM) model and PM strategy are proposed to account for the changing health status of machines; these are integrated with the order allocation machine strategy as decision‐making elements in the production schedule. Finally, two case studies are used to verify the effectiveness of this proposed model and method. The results show that compared to general scheduling schemes, the proposed method can reduce total delay and improve customer satisfaction. Additionally, the PM plan proposed in this method can improve production efficiency and line stability compared to periodic maintenance.