Spears, 25, handed off sons Sean Preston, 2, and Jayden James, 1, to a bodyguard for ex Kevin Federline, then drove with a friend to a Department of Motor Vehicles office in Van Nuys, Calif.
There, Spears filled out paperwork and took a written test. DMV regulations do not require a behind-the-wheel test.
Last month, the singer was charged with misdemeanor driving without a valid California license and hit-and-run following a fender-bender in a store parking lot on Aug. 6.
According to the DMV, Spears had never been issued a California license, despite having homes in Los Angeles for years. The state requires people to apply for a license within 10 days of residence.
"Britney is taking a gamble by continuing to drive when her pending case of driving without a valid California license hasn't been settled yet," says legal expert Lawrence Taylor.
Additional reporting by KEN LEE