This study investigates geopolymer pastes made from window and soda bottle glass waste, used as solid raw materials and serving as the primary source of aluminosilicate materials, activated with sodium silicate. Thermal treatment induced foaming behavior, with significant volume expansion and reduced compressive strength, suggesting potential for insulation applications. In the production of geopolymer pastes, sodium silicate solution (Na 2 SiO 3 37 wt.%) was used as alkaline activator for the solid component with various ratios (0.33 and 0.3) as liquid to solid (L/S) for the (G‐S and W‐S) paste formulas, respectively. Mechanical properties represented by compressive strength at 7 and 28 days of the two synthesized pastes (G‐S and W‐S) were assessed. Additionally, the two formulas (G‐S and W‐S) were subjected to heat treatment at (450°C, 550°C, 650°C, and 750°C) for 1 h with a heating rate of 10 °C/min were tested. Also, volume and weight changes as percentages (ΔV% and ΔW%) and scanning electron microscopy (SEM) after heat treatment of the two prepared formulas were evaluated as indicators of foaming materials. Results indicated that the volume changes generally increased with increasing thermal treatment temperatures (64.4%–314.36%) for G‐S and (189.2%–697.4%) for W‐S, which is a sign of foaming behavior. Additionally, under the same heat treatment circumstances, the W‐S pastes showed the greatest weight loss (15.1%–17.6%) compared to the G‐S pastes (14.23%–14.49%). Also, the compressive strength values (84.25 and 75.5 MPa) for W‐S paste and (13.5 and 77.5 MPa) for G‐S paste after curing for 7 and 28 days, respectively, were recorded. After thermal treatment, the compressive strength values for the two formulas (W‐S and G‐S) ranged from 0.5 to 6.39 MPa, reflecting the formation of pores (lightweight materials). This research reported on the synthesis of foaming geopolymers based on glass waste, meeting requirements for low compressive strength, high porosity, and light weight under thermal treatment, making them ideal for engineering applications such as acoustic insulation, inertness, and thermal insulation in buildings.