The 29-year-old Scotland international underwent a planned ablation procedure at Spire Manchester Hospital following a diagnosis of a mild, benign arrhythmia last week.
"As was planned, Scott McTominay had an ablation procedure carried out at the Spire Manchester Hospital during the morning," Napoli said in a statement.
"The surgery was perfectly successful. McTominay will observe a rest period of around two weeks before resuming training."
The former Manchester United midfielder sat out Napoli's 3-2 Serie A defeat by champions Inter Milan on Saturday. He is set to miss Wednesday's Champions League opener against Arsenal, as well as league fixtures against Bologna and Fiorentina.
McTominay is expected to resume full training during the upcoming international break.
UEFA Champions League
The UEFA Champions League pits the top clubs in Europe against each other in the continent's most prized cup competition. The 2026/27 edition follows the same format as last season, with 36 teams participating in the league phase before the top 24 progress to the knockout rounds. Want to know more? Follow the links below!
All you need to know | Latest Champions League news | The full Champions League draw
