One of the quickest ways to influence both the wall temperature and thermal NOx emissions in rotary kilns is to change the air–fuel ratio (AFR). The normalized counterpart of the AFR, the equivalence ratio, is usually associated with premixed flames and studies of its influence on diffusion flames are inconsistent, depending on the application. In this paper, the influence of the AFR is investigated numerically for rotary kilns by conducting steady-state simulations. We first conduct three-dimensional simulations where we encounter statistically unstable flow at high inflow conditions, which may be caused by vortex stretching. As vortex stretching vanishes in two-dimensional flow, the 2D simulations no longer encounter convergence problems. The impact of this simplification is shown to be acceptable for the thermal behaviour. It is shown that both the wall temperature and thermal NOx emissions peak at the fuel-rich and fuel-lean side of the stoichiometric AFR, respectively. If the AFR continues to increase, the wall temperature decreases significantly and thermal NOx emissions drop dramatically. The NOx validation, however, shows different results and indicates that the simulation model is simplified too much, as the measured NOx formation peaks at significantly fuel-lean conditions.