After representing Mauritania at under-20 level in the 2018 COTIF tournament, Mahmoud was first called up for the full side on 27 August 2018, for a 2019 Africa Cup of Nations qualification match against Burkina Faso. He made his international debut on 8 September, coming on as a late substitute for Abdoulaye Gaye in the 2–0 win.
