Per the agreements reached in 2020 and 2021, in this election, the President of Somalia was indirectly elected by members of both houses of the Federal Parliament of Somalia under the exhaustive ballot method.