Early career Born in
Salvador, Bahia, He made his senior debut for Cajazeiras on 5 May 2018, aged 17, by coming on as a second-half
substitute in a 4–0
Campeonato Baiano Segunda Divisão home routing of .
Palmeiras In 2018, Danilo joined
Palmeiras, initially for the under-17s. He progressed through the youth setup, being later a starter for the under-20s before making his first team – and
Série A – debut on 6 September 2020, replacing fellow youth graduate
Patrick de Paula in a 2–1 away win against
Red Bull Bragantino. On 10 September 2020, Danilo was bought outright by
Verdão, signing a permanent five-year contract with the club. He scored his first professional goal on 2 December, netting his team's fifth in a 5–0
Copa Libertadores home routing of
Delfín SC.
Nottingham Forest In January 2023, Danilo joined
Premier League side
Nottingham Forest for an estimated £16 million fee, signing a six-and a-half-year deal with the English club in the process. On the opening day of the 2024–25 season against
Bournemouth, he suffered a leg injury in the 8th minute, which could see him miss the entirety of the campaign.
Botafogo On 18 July 2025, Danilo moved to
Campeonato Brasileiro Série A side
Botafogo on a four-year deal for a reported fee of $25,000,000. ==International career==