The African Union Transition Mission in Somalia (Atmis) has imposed a curfew on the Afisyoni air force hangar in the capital, Mogadishu, and the surrounding areas ahead of the presidential election due to take place on Sunday.
The curfew will be in effect next week from Tuesday to Monday.
More than 300 members of parliament will gather at the airport to elect the president, who will lead the country for the next four years.
President Mohamed Abdullahi Farmajo, as well as his two predecessors, Hassan Sheikh Mohamud and Sharif Sheikh Ahmed, are considered front-runners in the elections.
Because of bickering among top lawmakers over how to organize the intricate election process, the vote is 15 months behind schedule.
Somalia will hold presidential elections on May 15, said a statement by a parliamentary committee tasked with organising the long-delayed polls.
The election is well over a year behind schedule, marred by deadly violence as well as a power struggle between President Mohamed Abdullahi Mohamed, better known as Farmajo, and Prime Minister Mohamed Hussein Roble.
Somalia’s international partners have been pushing for the process to pick up speed, fearing the delays sap efforts to tackle entrenched problems, including the fight against Al-Shabab extremists and the threat of food shortage.