Manchester City have reached an agreement with Real Madrid to sign Danilo for a fee which could top £30m.
Chelsea were in talks over a deal for the Brazilian defender, who was second-choice right-back at Real for much of last season.
But Sky in Italy are reporting City will pay an initial £26.5m.