AC Milan playmaker Kaka has undergone a medical in Brazil at the request of Real Madrid.
The Spanish giants are looking to strengthen their squad over the summer and have been linked with several of the world's top players since Florentino Perez took over as president.
Kaka is among their top targets and Milan have admitted it could be difficult to keep him during the transfer window.
Rossoneri owner Silvio Berlusconi is set to speak with Kaka in an effort to persuade him to stay but a world-record move to the Santiago Bernabeu is expected to go through.
Such a switch has now moved a step closer with the Brazilian Football Confederation (CBF) confirming that Kaka has had a medical.
The 27-year-old, who has previously been linked with Premier League clubs, is currently in his homeland on international duty.
A statement on the CBF website read: "The technical committee of the Brazilian national team attended the request of Kaka and the board of Real Madrid and released the player to perform the routine examinations in a clinic in Recife.
"The CBF had to make all the arrangements for the test through its Medical Department head Jose Luiz Runco, who accompanied the player during the tests."
Brazil face Paraguay in a World Cup qualifier on Wednesday after beating Uruguay 4-0 over the weekend.
Kaka scored the fourth goal from the penalty spot after being felled in the area.