ABSTRACT Exhaust gas retained in a cylinder is unavoidable, affecting diesel spray ignition. However, its effects on diesel spray ignition characteristics are not completely clear so far, due to the coupled and complicated function of exhaust gas compositions and dilution effects. To reveal the effect mechanism, three-dimensional simulations and chemical kinetics calculations were performed. The results illustrate that with the rise of exhaust gas rate, the initial position of the flame moves downward due to the longer ignition delay. The introduction of exhaust gas compositions decreases both the low-temperature and high-temperature ignition delay while dilution on oxygen mass fraction primarily affects and prolongs the high-temperature ignition delay. Nitric oxide (NO) significantly decreases the ignition delay compared to other exhaust gas compositions, with the high-temperature ignition delay experiencing a substantial decrease of 33.33% under 500 ppm NO addition at the ambient temperature of 820K. With the NO addition in the fresh intake air, conversion reactions occur between NO and nitrogen dioxide, and the reactions of NO with hydroperoxyl (HO2) and nitrogen dioxide with hydrogen radical lead to the generation of hydroxyl radical throughout the low- and high-temperature ignition stages, which enhances system reactivity and contributes to a decrease of ignition delay. The decrease in the oxygen mass fraction significantly reduces the rate of production of HO2 and hydrogen peroxide, which results in a decrease in the rate of production of hydrogen peroxide decomposition and HO2 deoxidation into hydroxyl radicals, prolonging the high-temperature ignition. The revealed mechanism may be applicable to the diagnosis of exhaust gas residual fault phenomenon.