Madonna will not be allowed to adopt Mercy James from Malawi.
The singer, 50, was hoping to gain custody of the four-year-old.
But at the High Court today, Madonna was told her application had been unsuccessful because she is not a resident of the African country.
It is not clear whether Madge, who adopted David Banda, now three, from Malawi in 2006, will appeal.
Her lawyer and reps were not immediately available for comment.