Massimiliano Allegri has revealed Milan have "made an agreement with Real Madrid" for Kaka after his side's 3-1 victory over Cagliari on Sunday.
The 31-year-old playmaker appears to be on the verge of a return to Milan after falling out of favour in Madrid.
Kaka left San Siro to head to Spain in 2009, but injury hampered him and he will be hoping the move back to Italy can kickstart his career should the transfer be completed.
Milan manager Allegri said: "(Milan vice-president Adriano) Galliani told me before the game that we have an agreement with Real Madrid and now need to agree personal terms with Kaka.
"There are another 24 hours to the transfer deadline, so we'll see what happens."
Allegri also refused to rule out the possibility of Cagliari defender Davide Astori joining Milan before the transfer window closes on Monday. Astori was benched against Milan on Sunday by Ivo Pulga, leading to speculation that he may be on the move.
Allegri added: "I think Davide is one of the best Italian defenders in circulation.
"We have good defenders anyway and I am happy with what we’ve got. Astori would be useful for many clubs, so we’ll see what happens."
Stephan El Shaarawy was left on the bench against Cagliari by Allegri, who was forced to explain the decision.
"With Kevin-Prince Boateng leaving I lacked a wide attacker, plus my idea was to go back to two strikers because Mario Balotelli needs a partner who runs into space. Riccardo Montolivo did very well as a trequartista," he said.
"We didn't have much time to test out this new system and I think El Shaarawy can learn to be a support striker, but of course it’ll take some more practice.
"There is absolutely no El Shaarawy problem."
Goals from Robinho, Philippe Mexes and Mario Balotelli helped Milan to victory over Cagliari, for whom Marco Sau netted.
|34||N. de Jong||70'|
|Coach: M. Allegri|
for Robinho 66'
for A. Poli 78'
for R. Montolivo 88'
|World Cup allocation to remain unchanged, Blatter confirms|
|Blatter defiant after re-election|
|Barkley break to benefit Everton - Jones|
|Bilic proud of Besiktas achievements following his final game in charge|
|Vietto encourages Atletico bid|
|Di Santo in demand, claims agent|
|Arteta: Arsenal harbour high ambitions for next season|
|Wilmots considering Schalke offer|
|McCall: Rangers need a miracle|
|Sporting Kansas City 4 Dallas 0: Nemeth, Zusi destroy 10-man visitors|
|Geferson replaces Marcelo for Copa America|
|PSG captain Silva in doubt for Coupe de France final|
|Valverde: Bilbao to stick to style in Copa final|
|Youngsters promoted to Australia´s squad to face Kyrgyzstan|
|´Another round of indictments´ expected in FIFA case|
|Disappointed FFA, US Soccer still want change|
|Gutierrez: Ashley abandoned me|
|US senator urges Blatter to release Garcia Report|
|Gutierrez, Taylor released by Newcastle|
|Figo calls on re-elected Blatter to resign after ´dark day´ for football|
|Szczesny blasts father over ´idiotic´ comments|
|Blatter vows to leave ´strong´ FIFA|
|Blatter re-elected as FIFA president|
|BREAKING NEWS: FIFA elections set for second round of voting|
|Atsu wings in for Bournemouth campaign|
|Klopp: Pokal final not about me|
|Clement says Real goodbyes|
|Inter v Empoli: Icardi looking for final flourish|
|BREAKING NEWS: Blatter - I will fix FIFA|
|Northern Ireland v Qatar: O´Neill keen to prepare for Romania test|
|Palestine drop proposal for Israel suspension|
|Suarez will only get better, warns Iniesta|
|Martinez keen to recruit quickly|
|Monk keen to build on successful Swansea campaign|
|Fit-again Suarez set to aid Barca´s treble quest|
|Anonymous ´bomb´ threat received at FIFA Congress|
|Qatar organisers insist World Cup bid met ´highest ethical standards´|
|Wilkinson and Sorensen leave Stoke|
|Blatter: You can´t ask everyone to behave ethically just like that|
|Van Bronckhorst positive about Feyenoord future|
|Australian police to look into FFA-Warner dealings|
|Dardai signs Hertha deal|
|Protester interrupts FIFA Congress|
|Spurs complete Wimmer signing|
|Warner questions charges following release|
|Mexico v Guatemala: Herrera´s men kick off Copa preparations|
|New Zealand no longer supporting Blatter|
|´Post-World Cup trauma´ affected Mertesacker|
|Racing Club 0 Guarani 0 (0-1 agg): Draw sees Paraguayans through|
|Hamburg shocked by Karlsruher attack - Labbadia|
|Serie A Preview: Napoli, Lazio eye Champions League|
|Hodgson will not overstay England welcome|
|Scholes: United must keep Di Maria|
|Leyton Orient appoint Hendon|
|Benteke has a buy-out clause - Sherwood|
|US Soccer will support Prince Ali in FIFA election|
|Dynamo disappointed with officials after City friendly abandoned|
|Calls for Suarez appeal gather momentum|
|Eredvisie Review: Vitesse denied by late Uth goal, NAC Breda boost survival hopes|
|Rangers 1 Motherwell 3: McCall´s men facing uphill struggle|
|Hamburg 1 Karlsruher 1: Bundesliga side escape with draw|
|Blatter vows to lead FIFA clear of trouble as corruption scandal rolls on|
|Bundesliga: Bayern Munich season review - League crown not enough to signal successful campaign|
|Genoa forced to wait for UEFA licence|
|Injured Cardozo out of Paraguay squad|
|CONCACAF provisionally dismisses Webb and Li|
|Klopp: Career highlights of a charismatic coach|
|Verona v Juventus: Ogbonna seeks strong Champions League warm-up|
|FA charges Demetriou over betting breaches|
|Atalanta v Milan: Inzaghi faces last chance to prove worth|
|King joins Bournemouth as QPR rebuild begins|
|Plymouth part ways with Sheridan|
|Hernandez banned for three matches|
|Chelsea star Fabregas has nose surgery|
|Blatter: More bad news may follow|
|Galliani hopeful over Ancelotti deal|
|Frontzeck to continue as Hannover coach|
|Tremmel released as Tate waves goodbye to Swansea|
|Arsenal v Aston Villa: Sherwood out to upset holders|
|UEFA open to boycott of World Cup - Platini|
|Porto activate release clause for Casemiro|
|Athletic Bilbao v Barcelona: Catalans seeking second leg of treble|
|Auxerre v Paris Saint-Germain: History beckons for Ligue 1 champions|
|Cole confirms West Ham departure|
|UEFA elect not to boycott FIFA Congress|
|Borussia Dortmund v Wolfsburg: Klopp aiming for triumphant farewell|
|Flamini hails Coquelin impact at Arsenal|
|South Africa deny wrongdoing in World Cup bid|
|Benitez confirms Napoli exit|
|McShane among six released by Hull|
|Cerci committed to Milan|
|West Ham expect Collins to return for pre-season|
|Real deny Pogba bid|
|Important to keep Chelsea squad together - Mourinho|
|Alonso: Gerrard was magic|
|Pochettino silent on Ings speculation|
|Visa threatens to ´reassess´ sponsorship amid FIFA scandal|
|Blatter skips FIFA Medical Conference|
|MLS Preview: Revs not out for revenge against Galaxy|
|MLS Review: Sounders go top in West, Timbers and Galaxy win|
|AFC stands by Blatter|
|Matheus ´alright´ after collapse - Markevych|
|Copa Libertadores Review: River, Inter through to semis|
|Signing Toni a ´long shot´ for Adelaide|
|Ramsey good enough for Barca - Coleman|
|Bacuna pushing for Benteke stay|
|Evans stunner settles City friendly in Toronto|
|Banega: Emery a great coach|
|Emery tight-lipped on Sevilla future|
|Argentina finalise Copa America squad|
|Nike issues statement following arrest of FIFA officials|