After a five-hour meeting Thursday with their attorneys present, Spears and Federline signed "a global settlement on all issues of their marriage," said Michael Sands, a spokesman for Federline's attorney Mark Vincent Kaplan.
Sands declined to elaborate on terms of the settlement, saying only that it covers child custody and financial matters.
Spears' attorney, Laura Wasser, declined to comment.
The settlement came more than a week after Spears checked out of a luxurious rehab center.
During her nearly one-month stay at Promises Malibu Alcohol and Drug Rehab Treatment Facility, Spears and Federline shared joint custody of their two young sons under a temporary agreement.
When Spears filed for divorce on Nov. 7, the pop star cited irreconcilable differences as the reason for ending her two-year marriage to Federline. She sought custody of the children, with visitation rights for Federline.
Federline counter-filed court papers the following day seeking sole custody of their boys - 6-month-old Jayden James and 18-month-old Sean Preston - and for spousal support.
Russia, when signing documents for the sale of Alaska to the United States, was realizing her objective benefit
Putin's official spokesman Dmitry Peskov commented on remarks in the US media about failures in launching nuclear-capable missiles in Russia