Buildings are one of the key factors in working towards a low-carbon economy to help mitigate climate change. For this reason, many of the current regulations aim to reduce their consumption and increase their efficiency, as is the case in the European Union with the Energy Performance of Buildings Directive (EPBD). Terms such as nearly zero-energy buildings (nZEB) or zero-emission buildings (ZEB) are increasingly used. However, these terms and regulations focus on energy and emissions, ignoring user comfort. This research shows the performance of these buildings in the face of climate change, as their strengths are not limited to energy consumption or emissions, but also to improving user comfort. By examining the compliance of a real semi-detached house with the different Spanish energy regulations (NBE-CTE 79, CTE-DB HE 2013 and CTE-DB HE 2019), its performance in terms of energy and comfort in different future scenarios defined by the Intergovernmental Panel on Climate Change (IPCC) is evaluated. The results show that the building with nZEB criteria (CTE-DB-HE 2019) reduces its energy consumption by an average of 84.36% compared to the other two energy standards. In terms of comfort, measured according to the Fanger criteria (steady state model), the hours throughout the year in the "neutral" thermal sensation category are similar; however, the hours in the "slightly cool" category are reduced by 57%, improving by up to eight times the "slightly warm" category. The nZEB building proves to be more resilient to climate change by mitigating and homogenizing its response to climatic variations.