Purpose The purpose of this study is to numerically investigate the confined single-walled carbon nanotube-water nanofluid jet impingement heating of a cooled surface with a uniform heat flux in the presence of a porous layer. The analysis of the convective heat transfer mechanism is introduced considering the buoyancy force effect under local thermal non-equilibrium conditions. Design/methodology/approach The governing equations for the nanofluid and solid phase are discretized by the finite volume method and the SIMPLE algorithm is used to solve these equations. Findings It is observed that there is an increase in a local variation of temperature along the upper wall with increasing Reynolds, Darcy and Grashof numbers. For given parameters, the optimum values of thermal conductivity ratio and porous layer thickness leading to better heating on the upper wall are found as K-r = 1.0 and S = 0.5, respectively. The maximum and minimum values of temperature on the upper wall are obtained in the case of higher nanoparticle volume fraction at Re = 100, however, the temperature values get higher along the upper wall with increasing nanoparticle volume fraction at Re = 300. Originality/value The effects of various parameters, such as Reynolds number, Darcy number and Grashof number, on thermal behavior and nanofluid flow are examined to determine the desirable heating conditions for the upper wall. This paper provides a solution to problems such as icing on the surface with a suitable thermal design and optimum geometric configuration.