Los Blancos triumphed in the annual pre-season tournament, with Cristiano Ronaldo, Iker Casillas and Casemiro all featuring
The Brazilian, who announced his desire to leave the Santiago Bernabeu on Thursday, slotted home the opener early on before Spain Under-21 star Alvaro Morata and summer signing Casemiro made it 3-0 inside the first 16 minutes.
And Kaka rounded off the scoring with his second of the game on 82 minutes, as Madrid were crowned winners of the annual pre-season tournament.
Madrid boss Carlo Ancelotti named a strong starting XI for the clash with Depor, handing starts to Iker Casillas, Pepe, Isco and Cristiano Ronaldo.
Unsurprisingly, los Blancos quickly began to set the tempo against the Segunda Division outfit, and though Borja Bastion carved out an early opportunity for the hosts, the visitors soon had their first of the evening through Kaka.
Ronaldo, who missed the Uefa Best Player in Europe gala to play a part in the game, slid the ball across for the 31-year-old and he tapped the ball home to make it 1-0.
Ancelotti's decision to start the season with Diego Lopez as Madrid's first choice goalkeeper has again been the cause of plenty of headlines, but Casillas did little to harm his claims for a recall with a smart save from Borja.
But, soon after, it was 2-0 to the away side, as Marcelo and Morata combined well to set the latter of the pair free to fire past German Lux in the Deportivo goal on 12 minutes.
And the game was all but over as a contest just a matter of minutes later as Madrid threatened to run riot. With 16 minutes on the clock, Casemiro popped up in the area to head home from a corner-kick and make it 3-0.
The capital club played out the rest of the encounter in first gear and even had the luxury of handing game time to Angel Di Maria, Karim Benzema and Mesut Ozil in the second half, with Kaka putting the icing on the cake with a fourth late on in what could be his farewell appearance for the club.