The masjid is in the old quarter of Ankara next to Ankara Castle. With an altitude of 947 metres (3,107 ft) it overlooks Ankara at 39°56′12″N 32°51′55″E﻿ / ﻿39.93667°N 32.86528°E﻿ / 39.93667; 32.86528.