Sampdoria pulled one back in the second half, with Gerard Yepes scoring in the 61st minute to make it 3-1. However, Roma restored their three-goal lead when Uzbek forward Eldor Shomurodov found the net in the 79th minute.
Roma will now face a tough challenge in the quarter-finals, where they will meet Milan, who secured a commanding 6-1 win over Sassuolo.