Bayern Munich goalkeeper Oliver Kahn will retire from Germany's national team after the June 9-July 9 World Cup.