Coach Greg Schiano said the surgery came after Nicks got a second opinion by an out-of-town doctor. Schiano said he didn't have a timetable in place for Nicks to return but said the player is doing well.
"Carl got an opinion outside of town and they decided they were going to do surgery," Schiano said. "I don't have a timetable (for recovery), and I don't really have any more than that."
Nicks, who first was diagnosed with MRSA in the preseason, missed the first two games of the season but returned to play in the third and fourth games.
Last week, Nicks was diagnosed with a recurrence of the infection, which is resistant to some types of antibiotics.
An infectious disease expert who was flown in for consultation last week said the infection had gotten into the bone in Nicks' foot.
"The reality is that often times when MRSA gets into the bone, antibiotic therapy alone is not enough to actually cure it," Dr. Deverick J. Anderson, an associate professor of medicine at the Duke University Medical Center and co-director of the Duke Infection Control Outwork Network, said during the visit to One Buc Place, the team's state of the art training facility.
"Typically, in that scenario, that is where you try antibiotic therapy and if it continues to recur, that indicates that you may require a surgical procedure to definitively remove that infection."
Nicks is among three members of the Buccaneers to be diagnosed with MRSA. Kicker Lawrence Tynes was diagnosed in the preseason and is sitting out the season. Rookie cornerback Johnthan Banks was diagnosed last week, but he played in Sunday's loss to Philadelphia.
Information from The Associated Press was used in this report.