Bayern Munich have confirmed they have reached an agreement with Liverpool for the signing of Pepe Reina this summer.

The Spain international lost his place in the starting lineup and was forced to sit on the bench after the arrival of Simon Mignolet from Sunderland last summer. The 31-year-old left the Merseyside club on loan and re-joined his former manager Rafael Benitez at Napoli for a season.

Reina returned to Anfield this summer and his future at Liverpool was uncertain. The former Valencia keeper will now join the Bundesliga winners in the ongoing transfer window.

"The 31-year-old Spain goalkeeper is currently contracted to Liverpool. Terms have been agreed with both the player and his current club."

The Spanish international will arrive in Munich and will complete his medical in the next few days as confirmed by the Bayern president.

"The player is scheduled to come to Munich for a medical in the next few days and sign his contract," Rummenigge told Bayern's official website.

"Michael Reschke has told me this is the case. Pepe Reina really wanted to join Bayern Munich. He was prepared to undertake this adventure, although he knows he has Manuel Neuer ahead of him, a first-choice keeper who will, provided nothing untoward happens, remain number one."

"Our goal was to be prepared for every eventuality in this particular position. We've now settled the situation regarding goalkeepers. We'll go into next season with these three," the Bayern president concluded.