To address the pressing need for reducing building energy consumption and combating climate change, thermoelectric glazing (TEGZ) presents a promising solution. This technology harnesses waste heat from buildings and converts it into electricity, while maintaining comfortable indoor temperatures. Here, we developed a TEGZ using cost-effective materials, specifically aluminium-doped zinc oxide (AZO) and copper iodide (CuI). Both AZO and CuI exhibit a high figure of merit (ZT), a key indicator of thermoelectric efficiency, with values of 1.37 and 0.72, respectively, at 340 K, demonstrating their strong potential for efficient heat-to-electricity conversion. Additionally, we fabricated an AZO-CuI based TEGZ prototype (5 × 5 cm²), incorporating eight nanogenerators, each producing 32 nW at 340 K. Early testing of the prototype showed a notable temperature differential of 22.5°C between the outer and inner surfaces of the window glazing. These results suggest TEGZ could advance building energy efficiency, offering a futuristic approach to sustainable build environment. In modern architectural designs, buildings account for~40% of global energy consumption, with windows responsible for 20-40% of the energy wasted within these structures. This issue is expected to worsen as global development continues, leading to more buildings being constructed and an increasing number of structures featuring extensive glass facades 1. Integrating sustainable materials into buildings can decrease energy losses and simultaneously generate energy. There are many attempts to implement solar photovoltaics in windows to produce electricity 2,3. However, they are expensive, require sunlight, and their performance could be affected by dust, heat, etc. Reducing the cooling and heating demands of buildings is crucial to pivot towards greener initiatives 4. This reduction can be achieved by bolstering energy efficiency, which involves reducing incoming solar radiation and heat transfer from the interior to the exterior 5. Introducing sustainable materials like low-emissivity coated glass and aerogel glazing offers a solution 6. Moreover, the development of architectural windows capable of intelligently controlling indoor solar radiation through changes in their optical transmittance holds great promise for reducing energy consumption in buildings 7. Recently, energy-efficient smart window technology has garnered noteworthy scientific attention, leading to the exploration of innovative materials and their integration with practical techniques to achieve desired multifunctional properties 8,9. Such as energy-saving glazing systems predominantly employ multilayer, vacuum, polymer-dispersed, thermochromic/electrochromic, low-emission, or phase change materials 10. However, while these materials enhance insulation, they neither generate nor conserve energy. Enter thermoelectric (TE) materials-renewable energy sources capable of directly converting heat to electricity. Various economic factors, such as the long-term uncertainty in the price of fossil fuels, are also stifling the development of TE devices on a commercial scale. Yet, integrating a thermoelectric generator (TEG) in glazing systems offers a dual advantage: minimising energy wastage and simultaneously harnessing this waste energy to produce electricity. TE materials stand out as a sustainable energy conversion approach. They can directly transform heat into electricity, leveraging the Seebeck effect. Moreover, TE devices offer the benefits of compactness, noise-free operation, ease of use, and low maintenance due to their lack of moving parts 11. Implementing TE materials in windows offers the opportunity to generate electricity through harvesting the inherent temperature gradient between the interior and exterior of a building 12 .