Born in Andradina, São Paulo, Gabriel Xavier began his career with Araçatuba before joining Mirassol's youth setup in 2017.
He made his first team debut on 8 April 2019, coming on as a late substitute for Matheus Felipe in a 3–1 Campeonato Paulista away loss against Red Bull Brasil.
[3] His loan was extended for a further year the following 23 January,[4] and he signed a permanent contract with the club on 3 February 2022.
[5] After being sparingly used during the 2022 Série B as Bahia achieved promotion, Gabriel Xavier renewed his contract until 2026 on 5 January 2023.
[6] He scored his first professional goal on 11 April, netting the winner in a 2–1 away win over Volta Redonda, for the year's Copa do Brasil.