A statement said that Republican senator, who has been fighting brain cancer since a diagnosis past year, is hospitalized in a "stable condition", The Washington Post reports.
"My husband @SenJohnMcCain is doing well after his surgery", McCain's wife Cindy said in Twitter post, adding that he was looking forward to getting back home.
Diverticulitis is an inflammation or infection of the diverticula, which are small pouches that can form in the lining of the intestines.
US Senator John McCain is in a stable condition.
McCain, 81, was diagnosed previous year with an aggressive type of cancer, glioblastoma, after a brain tumor was discovered by doctors.
Stormy Daniels reveals sketch of suspect she claims threatened h
She said the alleged threat was an effort to keep her silent on her reported relationship with President Donald Trump . On his radio show, Hannity said Cohen was never involved in any matter between him and any third party.
McCain returned to Congress and maintained a relatively regular congressional schedule through the fall as he underwent chemotherapy and radiation treatments.
The longtime Republican senator has been undergoing physical therapy related to brain cancer treatment at his family home near Sedona, Arizona, since December. McCain suffered an intestinal infection that required surgery, according to his congressional office. Senate colleagues that have spoken to him report that his mind is still sharp, but his office has given no indication on when he will be able to return to the Senate.
McCain has had frequent visits from family, friends and Senate colleagues. However, if McCain resigns after May, then the appointed senator would serve through the 2020 elections.