The singer and her ex-husband had reached an agreement, but did not reveal with which parent the teenager would live, a spokesman for the New York State court system said.
Guy Ritchie’s lawyer Peter Bronstein said Rocco would continue to live with his father in London.
The dispute arose in December when Rocco ignored a court order to fly back to live with his mother in New York.
Rocco has since stayed with his father in London and enrolled in a school there.
Madonna’s lawyers have not commented on the settlement.
In December 2015, a judge ruled that Rocco should return to his mother.
However, the judge decided not to issue a warrant to enforce the order, urging Madonna and Guy Ritchie to reach an agreement.
New York State Supreme Court Justice Deborah Kaplan said: “No-one is disrupting his household other than the inability of the parents to reach a resolution.
“If they cannot resolve this matter then eventually the court will.”
In March, Ellen Sigal, Rocco’s court-appointed lawyer, said that the dispute was causing him stress.
“It’s been a very difficult time for him,” she said in court.
“We hope to put an end to this as soon as possible without exposing him to more litigation, press innuendo, any of that kind of thing.”
Madonna and Guy Ritchie married in 2000 and divorced in 2008.
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…
Misleading allegations, rumours and outright lies about voting and fraud are flooding online spaces in…
At least 158 people have died in Spain's worst flooding disaster in generations. On October…
Google has been fined two undecillion (a two followed by 36 zeroes) roubles by a…
Embarking on a home remodel is an exciting journey, promising enhanced comfort, increased property value,…
The US presidential candidates continued to campaign across key swing states on October 20. Footage…