The maintenance system is a key system that provides continuity and safety of the operation of production systems and that affects the safety of people working in these systems. At the same time, the maintenance system is a set of work processes carried out by people under specific environmental conditions, using specific equipment and within a specific organizational and management structure. The purpose of this article is to identify the main management factors that affect occupational safety and to rank these factors in terms of their effectiveness in ensuring safe maintenance, using the grey systems theory. Based on the literature analysis, 12 key management factors were identified and then subjected to expert assessment. In order to rank the factors, a decision model based on the grey systems theory (GST), i.e. systems with incomplete and uncertain information about structure and behavior, was developed and verified. The use of GST in the area of ensuring safety in maintenance is original. The findings of the article will be very useful for managers in implementing safe maintenance systems in various sectors of the economy.