In diesel engines, emission formation inside the combustion chamber is a complex phenomenon. The combustion events inside the chamber occur in microseconds, affecting the overall engine performance and emissions characteristics. This study opted for using computational fluid dynamics (CFD) to investigate the combustion patterns and how these events affect nitrogen oxide (NOx) emissions. In this study, a diesel engine model with a flat combustion chamber (FCC) was developed for the simulation. The simulation result of the heat release rate (HRR) and cylinder pressure was validated with the experimental test data (the engine test was conducted at 1500 rpm at full load conditions). The validated model and its respective boundary conditions were used to investigate the effect of modified combustion chamber profiles on NOx emissions. Modified chambers, such as a bathtub combustion chamber (BTCC) and a shallow depth chamber (SCC), were developed, and their combustion events were analysed with respect to the FCC. This study revealed that combustion events such as fuel distribution, unburnt mass fractions, temperature and turbulent zones directly impact NOx emissions. The modified chambers controlled the spread of combustion and provided better fuel distribution, improving engine performance and combustion rates. The SCC (63.2 bar) showed peak pressure rates compared to the FCC (63.02 bar) and BTCC (62.72 bar). This study concluded that the SCC showed better results than other chambers. This study further recommends conducting lean fuel mixture combustion with chamber modifications and optimising fuel spray, such as by adjusting the fuel injection profile, spray angle and injection timing, which has a better tendency to create complete combustion.