Thermal expansion is critical in many technological applications and its control represents a challenge for the material design. An international team of researchers from China, Italy, United Kingdom and United States has developed a method to control the thermal expansion in framework materials through a redox intercalation process. The study, conducted in part at the XAFS beamline of Elettra, is reported in Nature Communications.