The Cairo spiny mouse is native to northern Africa with its range extending from Mauritania, Morocco, and Algeria in the west to Sudan, Ethiopia, Eritrea, and Egypt in the east at altitudes up to about 1500 meters .