This paper treaties an integrated maintenance problem of manufacturing system with considering a returned products and leasing constraints. We have established an economical production policy and an optimal maintenance strategy for a production system composed by numerous parallels workstations. The system contains a numerous machines to meet a random demands, respecting a certain service level and with considering the returned product (withdrawal right). Firstly, to obtain an economical production planning, we minimize the total production cost. Secondly, according to obtained production plan, we determine the optimal maintenance strategy for different leased machines. The main is to show the impact of the returned products on the production plan and the production rates on the degradation degree of machines.