To detect the types of phase changes that are occurring during hydride/dehydride reactions, and to clarify the mechanisms of hydriding/dehydriding of each phase, detailed in situ X-ray diffraction (XRD) experiments with heating and a gas flow control unit were conducted using a synchrotron beamline.