Any large functioning system consists of equipment that needs to be repaired during its lifetime. The methods of mathematical programming are used to formalize the optimization problem of preventive equipment repair planning in this paper. The method is used to find the annual optimal plan of preventive equipment repair. The goal of such plan is the uniform distribution of repair works by the months. It is supposed, that the deviation from the standard plan of repair works can not be more than one month. An algorithm to find the optimal plan of repair works is provided. A numerical example is given.