The crystal structure of PrMgNiD was determined by neutron diffraction. The determined structure of PrMgNiD consisted of 89.0% GdCo-type structure and 11.0% PuNi-type structure. The lattice parameters of a and c of GdCo-type structure were refined at 0.52903(7) nm and 3.90179(1) nm. The deuterium atoms were distributed among nine deuterium sites in both the CaCu-type and MgZn-type cells. The D2 occupancy in the PrNi octahedral sites of the CaCu-type cell was the largest (0.75) when compared with the other deuterium sites (<0.49). The deuterium content of the CaCu-type cell showed 0.75 D/M, but the D/M value of the MgZn-type cell was 1.53. The volume expansions during deuteration of the CaCu-type and MgZn-type cells were nearly equal. The cyclic hydrogenation property of PrMgNi is comparable to that of LaNi. It is inferred that the similar expansion behavior of the CaCu-type and MgZn-type cells during deuteration is the origin of this cyclic stability.