The energy demand and associated greenhouse gas (GHG) emissions of buildings are significantly affected by the characteristics of the building and local climate conditions. While energy use datasets with high spatial and temporal resolution are highly needed in the context of climate change, energy use monitoring data are not available for most cities. This study introduces an approach combining building energy simulation, climate change modeling, and GIS spatial analysis techniques to develop an energy demand data inventory enabling assessment of the impacts of climate change on building energy consumption in Shanghai, China. Our results suggest that all types of buildings exhibit a net increase in their annual energy demand under the projected future (2050) climate conditions, with the highest increase in energy demand attributed to Heating, Ventilation, and Cooling (HVAC) systems. Variations in building energy demand are found across building types. Due to the large number of residential buildings, they are the main contributor to the increases in energy demand and associated CO2 emissions. The hourly residential building energy demand on a typical hot summer day (29 July) under the 2050 climate condition at 1 p.m. is found to increase by more than 40%, indicating a risk of energy supply shortage if no actions are taken. The spatial pattern of total annual building energy demand at the individual building level exhibited high spatial heterogeneity with some hotspots. This study provides an alternative method to develop a building energy demand inventory with high temporal resolution at the individual building scale for cities lacking energy use monitoring data, supporting the assessment of building energy and GHG emissions under both current and future climate scenarios at minimal cost.