Born in Montivilliers, a commune in Normandy, and of Portuguese descent, Alfarela came through the academy of local club Le Havre and eventually made his career breakthrough at Bastia in Ligue 2, scoring 16 goals with six assists over the 2022/23 and 2023/24 seasons, before joining Polish giants Legia Warszawa in July 2024.