Nature Materials, Published online: 01 July 2025; doi:10.1038/s41563-025-02145-6The macrocycle component of polyrotaxanes is used to dampen the molecular vibrations of polyimide at high temperatures, thereby preserving electronic resistivity and resulting in improved dielectric capacitor efficiency.