The development of a technique for following in situ the reactions of solids with alkali metal/ammonia solutions, using time-resolved X-ray diffraction methods, reveals high-temperature superconducting ammonia-rich intercalates of iron selenide which reversibly absorb and desorb ammonia around ambient temperatures.