*Club domestic league appearances and goals, correct as of 21:22, 27 September 2023 (UTC) ‡ National team caps and goals, correct as of 21:00, 27 January 2022 (UTC)
In July 2017, Neftchi Baku announced that Castillo had moved back to Mineros on loan until the end of 2017.[5] On 18 December 2017, Neftchi Baku announced that they had parted ways with Castillo by mutual consent.[6]
In July 2023, Castillo signed for South African Premier Division side Kaizer Chiefs on a two-year deal.[7] He made his debut in a 0–0 draw with Chippa United on 6 August.He scored his first goal for the club in the 2023-24 MTN 8 quarter final against Cape Town City FC which resulted the match to end 2-1 to send Kaizer Chiefs to the semi final [8]