
Milan seized the lead after 11 minutes when Rafael Leao surged past his marker on the wing, delivering a precise pass to Loftus-Cheek inside the box, who side-footed the ball into the bottom corner.
The visitors extended their lead as Giroud scored from the penalty spot after 31 minutes, following a handball by Empoli’s Youssef Maleh.
Traore secured Milan’s third goal two minutes before stoppage time from a counter-attack.
Milan are third in the standings with 39 points, nine behind leaders Inter Milan and four behind second-placed Juventus, who are in action later today.
Empoli are second-from-bottom with 13 points.