Roma moved level on points with Juventus at the top of Serie A on Saturday after recovering from conceding a first-minute goal to beat Atalanta 2-1.
Atalanta struck after just 57 seconds when Cristian Raimondi got past Ashley Cole to cross for Maxi Moralez to score off the underside of the bar from six yards.
Roma levelled after 23 minutes when Adem Ljajic drove the ball past Marco Sportiello in the Atalanta goal.
Radja Nainggolan then grabbed the winner three minutes from half-time when he combined with Ljajic to side-foot in a low drive from just inside the area.
Champions Juventus can restore their three-point lead later Saturday when they travel to Lazio.