INTRODUCTION: With the increasing global awareness of sustainable development and environmental protection, green building has become one of the important development directions in the construction industry. The application of sustainable type energy in the construction industry is of great significance in reducing building energy consumption and environmental pollution. This study aims to explore the application of sustainable types of energy and conduct research on energy consumption optimization. OBJECTIVE: The aim of this study is to analyze the current situation of the application of sustainable types of energy in the construction industry, to explore its impact on the energy consumption of buildings, and to propose corresponding optimization strategies in order to achieve the goal of sustainable development of green buildings in China. METHODS: This study adopts a combination of literature review and case study; firstly, a literature review on the application of sustainable types of energy, sorting out its technical characteristics and application effects; then, several typical cases are selected to analyze its energy application and energy consumption in buildings; finally, relevant strategies and suggestions for optimizing the energy consumption are put forward by combining the results of the literature review and the case study. RESULTS: Through the literature review and case analysis, it is found that sustainable types of energy, such as solar energy and wind energy, have been widely used in buildings and achieved certain energy-saving effects. However, there are also some problems, such as inefficient energy utilization and high cost. To address these problems, this study proposes a series of optimization strategies, including suggestions for optimizing energy system design, improving energy utilization efficiency, and reducing energy costs. CONCLUSION: This study concludes that the application of sustainable types of energy in green buildings is an important way to optimize building energy consumption and sustainable development. Through measures such as optimizing energy system design and improving energy utilization efficiency, building energy consumption can be further reduced, environmental pollution can be reduced, and the development of the construction industry can be promoted. However, further research and practice are still needed to continuously improve relevant technologies and policies to promote the application and development of sustainable types of energy in buildings.