A metal nanocomposite coating that improves the insulating properties of window glasses has been fabricated. The new coating prevents a significant portion of near-infrared (NIR) and ultraviolet rays (UV) from passing through, while at the same time admitting visible light. Although the fabrication of a commercial product is still a long way ahead, this work demonstrated a significant improvement in UV and NIR blocking properties.