To reduce energy consumption, the earth-to-air heat exchanger (EAHE) is a suitable technique for cooling and heating buildings. This paper studies numerically the effect of some design parameters (pipe diameter, inlet condition, pipe length, and outlet condition) on the overall performance of the EAHE system. Four diameters of the EAHE pipe (2, 3, 4, and 6 in) are studied and this numerical study has been done for summer and winter seasons for Nasiriyah city in southern Iraq. First, the built numerical model was validated against the experimental model, and the results of comparison showed a good consensus. After the validation and by using computational fluid dynamics modeling, the overall performance of the EAHE system with all pipe diameters was analyzed with ranges of air velocity, DBT or inlet temperature, and a pipe length of 50 m. The simulated results showed that the EAHE system with 6 in pipe diameter has the best values of overall performance, but from the thermal performance point of view, the 2 in pipe diameter is more suitable. K E Y W O R D S computational fluid dynamics, earth-to-air heat exchanger system, geothermal energy, numerical investigation, thermal performance Heat Transfer-Asian Res. 2019;48:1805-1829.wileyonlinelibrary.com/journal/htj