Gagny is located 10 km to the east of Paris. Until the law of 10 July 1964, the commune was part of the department of Seine-et-Oise. The redivision of the old departments of Seine and Seine-et-Oise then made this commune a part of Seine-Saint-Denis after an administrative transfer that went into effect 1 January 1968.