 On 27 February 2018, Cafú was loaned to Legia Warsaw until 30 June 2019.Subsequently, the move was made permanent.During his spell at the Polish Army Stadium, Cafú took part in 59 competitive matches (nine goals, six assists).