in the summer of 2006, cortés signed for madrid's getafe cf. after splitting duties with romanian cosmin contra in 2006–07, he was the undisputed starter in the following campaign as the side reached the quarter-finals in the uefa cup.