On 8 February 2011, Guardiola accepted the club's offer for a one-year deal extension, signing a contract until June 2012.
He led the Spanish midfield until his final appearance for la Roja, a 1—0 win in a friendly against on 14 November 2001; he scored his last international goal against in a 1—1 draw during his 45th appearance.