Carlo Ancelotti’s side ease to first leg win in Barcelona.
Real Madrid will go into the second leg of this Copa del Rey encounter with a comfortable lead.
Defender Raphael Varane headed home an early corner to calm the nerves against lower league opposition.
However minnows UD Cornella fired straight back when electrician Oscar Munoz thumped home a leveler.
Unfortunately Varane once again proved a handful from a corner as he bundled home his and Real’s second.
Javier Hernandez neatly fired home Real Madrid’s third before Marcelo grabbed a fourth to complete a comfortable win in Barcelona.