PurposeThis work examines a repairable machining system’s reliability by considering multiple failure scenarios, including individual component failures, hardware and software malfunctions, failures resulting from shared causes and failures caused by human error. When a system is susceptible to several modes of failure, the primary goal is to forecast availability and other reliability metrics as well as to calculate the expected profit of the repairable machining system.Design/methodology/approachThe process of recovering after a system failure involves inspecting the system and fixing any malfunctions that may have occurred. The repair procedures for all kinds of faults are taken to follow a general distribution to represent real-time circumstances. We develop a non-Markovian stochastic model representing different system states that reveal working, failed, degraded, repair and delayed repair states. Laplace transformation and the supplementary variable technique are used to assess the transient states of the system.FindingsAnalytical expressions for system performance indices such as availability, reliability and cost-benefit analysis are derived. The transient probabilities when the system experiences in different states such as failed, degraded and delayed states are computed. The results obtained are validated using Mathematica software by performing a numerical illustration on setting default values of unknown parameters. This ensures the accuracy and reliability indices of the analytical predictions.Originality/valueBy methodically examining the system in its several states, we will be able to spot possible problems and offer efficient fixes for recovery. The system administrators would check to see if a minor or major repair is needed, or if a replacement is occasionally taken into consideration to prevent recurring repairs.