Mahagi is a territory and a locality of Ituri province in the Democratic Republic of the Congo. It is located in the northeastern part of the country, 1,900 km east of the capital Kinshasa.