Born in Ziguinchor, Senegal, he moved in Cuneo, Italy with his family soon afterwards. He has two brothers who are also footballers: Lys and Maurice. He is a dual citizen of Italy and Senegal.
Club career
Early career
Gomis grew up in the Torinoyouth system, and on 3 July 2013, he was officially loaned to Calabrian club Crotone in Serie B. On 14 September, he made his debut against Spezia, which ended 1–0 for the Rossoblu. Despite his young age and lack of experience, Gomis played as a starter collected 39 appearances, plus one appearance in the playoffs, as well as one in Coppa Italia. At the end of the season he was recalled by Torino, who decided to loan him again, but only after he was made available for the preliminaries of the Europa League as second choice goalkeeper, behind Daniele Padelli, against Brommapojkarna on 31 July 2014.
On 11 August 2014, Alfred was officially loaned to Avellino in Serie B with a buyout clause, plus a buyback clause in favour of Torino. He made his official debut with the team on 17 August 2014, during the second round of Coppa Italia, which saw him maintain a clean sheet, the match ending 2–0 for Avellino. His league debut took place 30 August, during the first day of the championship against Pro Vercelli, finishing 1–0 in favour of Vercelli. On 28 October 2014, he parried a penalty kicked by Rodrigo Taddei in the final minutes of a match against Perugia, ending 0–0. He played 31 matches in the league and finished first in the Top 15 of the goalkeepers in Serie B according to a list compiled by the Lega Serie B.
On 31 August 2016, he was loaned to Bologna as an emergency signing to replace Antonio Mirante, who was diagnosed with a heart problem. However, Gomis himself was injured soon after his arrival. He made his debut for Bologna in Coppa Italia against Verona. Gomis was dropped out again after the cup match, including the league and the round 16 of the cup. He was recalled by Torino, and on 18 January 2018 he was loaned to Salernitana in Serie B.
On 8 July 2017, Gomis joined SPAL on loan with an obligation to buy at the end of the loan period. The permanent deal for undisclosed fee was announced on 20 June 2018.
Dijon
On 20 August 2019, Gomis joined Dijon FCO from SPAL for an undisclosed fee on a four-year-contract.
Gomis was then called up by the Senegal national football team, making his senior international debut on 14 November 2017, starting in a 2–1 victory against South Africa in the last qualifying match for the 2018 FIFA World Cup. In May 2018 he was named in Senegal's 23 man squad for the 2018 FIFA World Cup in Russia.