In a multistage serial production line, products with defect can be repaired or reworked to ensure high product quality. This paper studies a multistage serial manufacturing system with quality rework loops. Rework is the activity to repair or repeat the work on the defect parts during manufacturing processes, and it adds to cost and cycle time. This paper introduces an event-based data-enabled mathematical model for a stochastic production line with quality rework loops. The system performance properties are analyzed and permanent production loss due to quality rework loops is identified. The mathematical model and system performance identification methodology are studied analytically through numerical case studies.