Robert Lewandowski has extended his Bayern Munich contract by two years until 2023.
The Poland international, who has been linked with moves to Real Madrid or Chelsea in the past, will be almost 35 by the time his contract expires. He has not ruled out a move to MLS before retiring from football.
"FC Bayern have become my sporting home," Lewandowski said. "Besides, my family and I are happily settled in Munich. I'm convinced we'll achieve a lot in the next few years.
"FC Bayern are one of the three biggest clubs in the world, and we have an outstanding team. I'm proud to be part of this club."
Bayern CEO Karl-Heinz Rummenigge added: "For me, Robert is the world's best centre-forward, and he's been a mainstay of our team for years.
"We're extremely pleased he'll continue to play for FC Bayern for a long time. We're certain that together with Robert we'll achieve our ambitious goals in the upcoming season and in the years to come."
Having won seven Bundesliga titles with Borussia Dortmund and Bayern as well as three German cups, Lewandowski is still waiting for his first trophy in a continental competition.
As a Dortmund player in 2013 he played in the all-German Champions League final at Wembley, but lost 2-1 to Jupp Heynckes' Bayern.
"You can feel [the] club and fans are dreaming of Champions League," Lewandowski said in a recent Sport Bild interview. "Bayern have the same goals as I have: Win titles and also the Champions League."
Lewandowski, 31, has been the Bundesliga attacker of the decade, scoring 207 goals in Germany's top-flight in just 292 appearances.
A four-time Bundesliga top scorer, Lewandowski is only 61 goals away from Klaus Fischer, who ranks second behind the uncatchable Germany legend Gerd Muller with 365 goals in 427 Bundesliga matches.
"Maybe I can reach the 300-goal mark," Lewandowski said in Sport Bild. "I want to continue to play football at the top level for the next five, six seasons."
This season, Lewandowski is off to a flying start once again, scoring all five Bundesliga goals for Germany's record champions Bayern so far.
By adding another one against Mainz at the weekend he could equal a 23-year-old league record held by Jonathan Akpoborie, who scored Hansa Rostock's first six goals in the 1996-97 season. However, the long-retired Nigeria international needed six match days to reach the tally.