A systematic investigation of the structure and local structure of Ni2–xMn1+xGa alloys 0 ≤ x ≤ 1 reveals antisite disorder to be a possible reason for higher martensitic transformation temperature of Mn2NiGa as compared to Ni2MnGa. The antisite disorder between the Y and Z sublattices of the X2YZ Heusler structure results in segregation of Mn3Ga type defect phase and a Ni-rich Heulser phase with a higher e/a ratio. This Ni-rich Heusler phase appears to be responsible for the higher martensitic transformation temperature of the Mn2NiGa type Heusler alloys.