Madonna has persuaded three appeal judges to allow her to adopt Malawian orphan Mercy James.
Two have already submitted reports recommending it go ahead and the third is said to be "in complete unison with them".
Madonna, 50, whose two-year application to adopt the three-year-old was blocked by a court in March, has been told the news by her lawyer Alan Chinula.
RELATED: Are Celebrities Overlooking American Children?
PHOTOS: Celebrities Who Chose Domestic Adoption.
The ruling is set to be announced next Sunday at Malawi's Supreme Court of Appeal.
A source there said yesterday: "The paperwork is being typed up now. All recommendations are in favour of the adoption taking place. Mercy should start packing her bags. She's off to America."
A close friend of Madonna said: "She's ecstatic.
"She made a promise that she wouldn't give up on Mercy and, believe me, she could move mountains when she's this determined."