PurposeThe article addresses the optimization of safety stock service levels for parts in a repair kit. The work was undertaken to assist a public transit entity that stores thousands of parts used to repair equipment acquired over many decades. Demand is intermittent, procurement lead times are long, and the total inventory investment is significant.Design/methodology/approachDemand exists for repair kits, and a repair cannot start until all required parts are available. The cost model includes holding cost to carry the part being modeled as well as shortage cost that consists of the holding cost to carry all other repair kit parts for the duration of the part’s lead time. The model combines deterministic and stochastic approaches by assuming a fixed ordering cycle with Poisson demand.FindingsThe results show that optimal service levels vary as a function of repair demand rate, part lead time, and cost of the part as a percentage of the total part cost for the repair kit. Optimal service levels are higher for inexpensive parts and lower for expensive parts, although the precise levels are impacted by repair demand and part lead time.Social implicationsThe proposed model can impact society by improving the operational performance and efficiency of public transit systems, by ensuring that home repair technicians will be prepared for repair tasks, and by reducing the environmental impact of electronic waste consistent with the right-to-repair movement.Originality/valueThe optimization model is unique because (1) it quantifies shortage cost as the cost of unnecessary holding other parts in the repair kit during the shortage time, and (2) it determines a unique service level for each part in a repair kit bases on its lead time, its unit cost, and the total cost of all parts in the repair kit. Results will be counter-intuitive for many inventory managers who would assume that more critical parts should have higher service levels.