The impact of dumping plastic waste is realized in different ecosystems of the planet. Several methods have been adopted to dispose of these wastes for energy recovery. This study, for the first time, proposed the Box–Behnken design technique to optimize the pyrolysis process parameters for fuel oil production from waste polypropylene (PP) grocery bags using a semibatch-type pyrolytic reactor. The semibatch-type pyrolytic reactor was developed and employed to produce fuel oil from waste PP grocery bags. The effect of different process parameters on fuel oil production was comprehensively analyzed using the response surface methodology (RSM) with the conjunction of the Box–Behnken design (BBD). The BBD facilitates the prediction of the response variables with respect to changes in the input variables by developing a response model. The BBD was used to optimize the process parameters, such as the reaction temperature (400–550 °C), nitrogen flow rate (5–20 mL min−1), and substrate feed rate (0.25–1.5 kg h−1), and their effect on the responses were observed. The optimum response yields of the fuel oil (89.34 %), solid residue (2.74%), and gas yield (7.92%) were obtained with an optimized temperature (481 °C), a nitrogen flow rate (13 mL min−1), and a feed rate (0.61 kg h−1). The quadratic model obtained for the fuel oil response denotes the greater R2 value (0.99). The specific gravity and calorific value of the fuel oil were found to be 0.787 and 45.42 MJ kg−1, respectively. The fuel oil had higher research octane number (RON) (100.0 min) and motor octane number (MON) (85.1 min) values. These characteristics of the fuel oil were matched with conventional petroleum fuels. Further, Fourier transform infrared spectroscopy (FT-IR) and gas chromatography–mass spectroscopy (GC-MS) were used to analyze the fuel oil, and the results revealed that the fuel oil was enriched with different hydrocarbons, namely, alkane (paraffins) and alkene (olefins), in the carbon range of C4–C20. These results, and also the fractional distillation of the fuel oil, show the presence of petroleum-range hydrocarbons in the waste PP fuel oil.