He played in the friendly at Milan’s training ground in Carnago, in an attempt to rebuild his match fitness.
Manager Stefano Pioli fielded a strong eleven in the first half, with Gianluigi Donnarumma, Theo Hernandez and Giacomo Bonaventura among the stars on show.
Ibrahimovic spearheaded an attacking front three, with Hakan Calhanoglu and Suso out wide.
Davide Calabria netted the first two goals of the game, before he set up Ibrahimovic for a tap-in to make it 3-0 in the early stages.
The former Manchester United striker then provided an assist for Calhanoglu to make it four, before Paqueta added a fifth on the brink of half time.
Pioli made 11 changes during the interval, with defender Mattia Caldara entering the fold, having not played in a match since April last year.
Pepe Reina replaced Donnarumma in goal, while Krzysztof Piatek replaced Ibrahimovic.
Each of the second-half forwards scored a goal, with Piatek netting a brace and Rafael Leao providing the assist for Samu Castillejo, as the scoreline ended 9-0 in a useful runout for the Rossoneri.