Developing technology and using equipment in Iranian industries caused that maintenance system would be more important to use. Using proper management techniques not only increase the performance of production system but also reduce the failures and costs. The aim of this study was to determine the quality of maintenance system and the effects of its components on failures of kilns in two gypsum production companies using Failure Modes and Effects Analysis (FMEA). Furthermore the costs of failures were studied.