Two goals in each half, with Luiz Adriano, Rodrigues Jadson and Yaroslav Rakitskiy adding to Marko Lomic's 24th-mintue own-goal, ensured victory before a late consolation from Adem Ljajic.
It was Fiorentina's second spot-kick, with Adam Ljajic having reduced the deficit on 66 after goals from midfielders Riccardo Montolivo and Mathiu Flamini had put Milan in charge.