Malaga travelled to Granada in La Liga on Friday looking to build on last week's 3-2 win over Real Betis.
Both sides had opportunities in the first period, but neither could make the breakthrough with the scores level at the interval.
Granada were ahead in the early stages of the second half when Youssef El-Arabi turned home from close range, but Juanmi levelled for Malaga six minutes later.
The home side regained the lead moments later, however, when El-Arabi turned home from close range, before the forward scored his third after 77 minutes.
Read how it all unfolded in Sports Mole's minute-by-minute live commentary of the action below.
GRANADA: Roberto; Foulquier, Diakhate, Murillo, Angulo; Iturra, Yebda, Rico, Brahimi, Buonanotte; El Arabi
MALAGA: Caballero; Gamez, Sanchez, Angeleri, Antunes; Tissone, Darder; Fabrice, Portillo, Eliseu; Samuel