EGR is one of the most significant strategies for reducing especially nitrogen oxides (NOx) emissions from internal combustion engines. The thermal efficiency of spark ignition engines is lower than compression ignition engines because of its lower compression ratio. If the compression ratio is increased to obtain higher thermal efficiency, there may be a knocking tendency in spark ignition engines. EGR can be used in order to reduce NOx emissions and avoid knocking phenomena at higher compression ratios. In-cylinder temperature at the end of combustion is decreased and heat capacity of fresh charge is increased when EGR applied. Besides EGR, spark timing is another significant parameter for reducing exhaust emissions such as nitrogen oxides, and unburned hydrocarbon (UHC). In this study the effects of EGR and spark timing on spark ignition engine were investigated numerically. KIVA codes were used in order to model combustion process. The combustion process has been modeled for a single cylinder, four stroke and gasoline direct injection (GDI) spark ignition engine. The results showed that in-cylinder pressure and heat release rate decrease as EGR ratio increase. In-cylinder pressure increases with the advancing of spark timing. Advancing spark timing increases the heat release rate and in-cylinder temperature. The simulation results also showed that EGR reduced exhaust gas temperature and NOx emissions.