The results of modelling of thermal cycle of spark ignition internal combustion engine with exhaust gas recirculation are presented. Results of the impact of EGR on the ignition delay and the combustion duration are presented. The optimization of thermal cycle was carried out in terms of ignition advance angle in order to obtain the possible highest value of efficiency and the least NO emission. The results indicated a significant impact of EGR on the ignition delay and combustion duration.