Keita Balde Diao gave Inter the half-time lead amid Roma fury at having a penalty appeal denied, but the side from the capital powered back with a Cendiz Under scorcher after the break on Sunday.
Inter -- who lost to Tottenham Hotspur in the Champions League midweek -- remain third, level on 29 points with second-placed Napoli who travel to Atalanta on Monday.
Champions Juventus opened up an 11-point lead on Napoli with a 3-0 win at Fiorentina Saturday with Cristiano Ronaldo scoring from the spot to bag his 10th goal in 14 games.
"It shows we are on the right track."
Roma -- who advanced to the Champions League knockout rounds despite losing to Real Madrid -- have only won one of their last six league matches and are down in seventh place.
Eusebio Di Francesco's side were furious they were denied a penalty call after Danilo D'Ambrosio tripped Nicol? Zaniolo before Keita broke through after 37 minutes.
D'Ambrosio then set up Senegalese winger Keita to blast in a volley from close range.
"I want to know, and we all do, how those in the VAR booth didn't see that foul. We all saw it on a far smaller screen."
Turkish winger Under pulled Roma level six minutes after the break rifling in from distance to stun Samir Handanovic in the Inter goal.
Icardi rose to head in a corner on 66 minutes before Kolarov slotted in a penalty on 73 awarded after Marcelo Brozovic's arm touched the ball.
The match ended in drama with former Roma boss Spalletti banished from the sidelines for dissent to cheers from the Stadio Olimpico crowd.
- AC Milan move fourth -
Inter are now four points ahead of city rivals AC Milan who moved fourth after Patrick Cutrone and Franck Kessie sealed a 2-1 comeback win over promoted Parma.
It was a hard-fought victory for Milan who have a number of injured players out along with suspended Argentine forward Gonzalo Higuain.
"This is a precious win because we played against a team who can trouble you in every moment," said Gattuso.
"This team is incredible, the boys always show grit, determination. They are giving their all, it's easy to coach a group like that."
Roberto Inglese nodded in his fourth goal this season for Parma from a corner five minutes after the break but Milan pulled one back six minutes later thanks to Cutrone volleying home.
Kessie slotted in Milan's second from the spot on 71 minutes after Alessandro Bastoni was deemed after consultation with VAR to have handled the ball.
Immobile rattled the bar ten minutes later but Simone Inzaghi's side were unable to to find the three points and drop to fifth.
"It was the worst first half I'd seen in my three years in this job," said Inzaghi.
"I wanted to replace all 11 players at half-time.
Sassuolo dropped out of the European places following a goalless draw at Udinese.
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)