The Polish goalkeeper, who was released by Liverpool this summer, is due to land in Madrid tonight before undergoing a medical with the Primera Liga champions tomorrow.

If all goes to plan, Madrid expect to present the player at 1300 (local time) tomorrow lunchtime, when he will become the fourth new arrival at the Bernabeu this summer following Pepe, Christoph Metzelder and Javier Saviola.

The 34-year-old Dudek starred for Liverpool in their penalty shoot-out win over AC Milan in the 2005 Champions League final, but has had to play second-fiddle to Spaniard Jose Reina at Anfield for the last few years.