[3] Mahedi made his Twenty20 (T20) debut on 8 November 2016 playing for Barisal Bulls in the 2016–17 Bangladesh Premier League.
[4] In October 2018, Mahedi was named in the squad for the Comilla Victorians team, following the draft for the 2018–19 Bangladesh Premier League.
[12] Later the same month, he was named in Bangladesh's squad for the men's cricket tournament at the 2019 South Asian Games.
[13] The Bangladesh team won the gold medal, after they beat Sri Lanka by seven wickets in the final.
[14] In January 2021, Mahedi was named in Bangladesh's One Day International (ODI) squad for their series against the West Indies.