The sentence was a victory for prosecutors, who had recommended Kilpatrick serve at least 28 years in prison, while defense attorneys argued for no more than 15 years.
Outside court, U.S. Attorney Barbara McQuade said Kilpatrick seemed to show some remorse but not enough.
"At the end of the day, he did not accept responsibility for stealing from the people of Detroit," McQuade said.
Kilpatrick didn't specifically address his crimes during the hearing, though he said he respected the jury's verdict. An appeal is certain.
"I want the city to heal. I want it to prosper. I want the city to be great again," he told the judge. "I want the city to have the same feeling it had in 2006, when the Super Bowl was here."
Kilpatrick, a Democrat, quit office in 2008 in a different scandal that was extraordinary at the time but seems smaller compared with the sweeping federal probe that has led to the convictions of more than 30 people. Sexually explicit text messages revealed that Kilpatrick had lied during a trial to cover up an affair with his top aide, Christine Beatty, and to hide the reasons for demoting or firing police officers who suspected wrongdoing at city hall.
Detroit voters soon will elect a third mayor since Kilpatrick's departure, although the city is under the control of an emergency manager, Kevyn Orr, for at least another year. Orr, with the blessing of Michigan's governor, took Detroit into bankruptcy in July, saying there was no other way to solve $18 billion in long-term debt. The case is pending.
"Kilpatrick is not the main culprit of the city's historic bankruptcy, which is the result of larger social and economic forces at work for decades. But his corrupt administration exacerbated the crisis," prosecutors said in a court filing last week.