Synchrotron X-ray diffraction and inelastic neutron scattering measurements have been applied to evaluate the breathing phenomena in small nanocrystals of ZIF-7 upon gas adsorption.