Leon Goretzka has passed a medical and agreed a deal to sign for Bayern Munich at the end of the season, Schalke sporting director Christian Heidel has confirmed.
Goretzka was out of contract at Schalke at the end of the season and, while the club tried to keep him in Gelsenkirchen, it was always likely he would move on.
Bayern declared their desire to take the 22-year-old to Bavaria last week, the Bundesliga champions' executive board chairman Karl-Heinz Rummenigge stating they would be "crazy" if they did not consider signing a free agent Germany international.
And the lure of playing at the Allianz Arena has proved key, despite reported interest from the likes of Liverpool, Arsenal and Juventus.
Speaking ahead of Sunday’s game with Hannover, Heidel told reporters: "Leon Goretzka has earlier this week informed us that he would like to leave the club and join Bayern Munich.
"We noted that with regret. Karl-Heinz Rummenigge has told us that Leon has passed his medical. We are losing a very good player.
"He has signed a contract from July 1, 2018 with Bayern. We did everything possible to keep Leon."
Losing Goretzka is a blow to Schalke but Heidel insists they were "prepared".
He added: "Last summer there was no agreement with him and his agent. He wanted more time to see the sporting development.
"We can deal with this situation, it was not a total surprise. We are prepared."
Schalke coach Domenico Tedesco described Goretzka as a "fundamental part of the squad" but urged fans to support the midfielder over the remaining months of his contract, starting at the weekend.
He said: "We are sad and disappointed that we lose Leon as a player and as a human. But we have to accept this decision. There is no question that Leon is a fundamental part of this squad.
"We hope the fans don't react negatively on Sunday. Our fans have always supported the team and Leon is a part of that team for the rest of the season.
"Leon is a professional and he will continue to give everything for Schalke. He remains a vital player for us."
Schalke go into the 19th round of fixtures in third place in the Bundesliga, a point behind RB Leipzig, with automatic qualification to next season's Champions League a clear target.
|Dragons restore two-point lead, Sharks battle past Bulldogs|
|Any club would want Buffon, says PSG president|
|Villarreal renew Calleja contract after Europa League qualification|
|Talisca heading to Premier League, hints Besiktas boss|
|Celtics ´needed to get our butts whooped´ by Cavs, says Rozier|
|Bayern should have had a penalty, admits Boateng|
|NBA great Bill Russell released from hospital|
|When I play I´m Luca, not Zidane – Zinedine´s son distances himself from father|
|Barzagli: Buffon the greatest of all time|
|Indians ace Kluber becomes first in AL to seven wins|
|MLS Review: Two-goal Villa inspires NYC rout, Timbers stay hot|
|Kuznetsov sets Capitals´ playoff points record|
|Stevenson-Jack showdown ends in majority draw|
|Galatasaray win 21st Turkish title on final day|
|Cavaliers rout Celtics to cut series deficit to 2-1|
|Harvick holds off Suarez to win All-Star race and $1m|
|All Blacks name three new faces for France Tests|
|Mo Salah 15 years behind Cristiano Ronaldo – Klopp|
|Jaguares extend winning streak with Bulls thrashing|
|Nobody is bigger than PSG, says Al-Khelaifi amid doubts over Neymar|
|Warrington targets Frampton after Selby upset|
|Zidane says Real Madrid are ready for Champions League final|
|Heynckes: Bayern aren´t bad losers after DFB-Pokal snub|
|Everything was positive - Emery leaves PSG satisfied|
|Wise, Leishman tied for Byron Nelson lead|
|Torres, Iniesta share gift of good decisions - Simeone|
|Arrivederci Buffon - The Juventus´ greats remarkable career in numbers|
|Favre leaves Nice as Dortmund post awaits|
|´Extraordinary´ Juventus deserved Serie A title - Allegri|
|Warrington upsets bloodied Selby to secure world title|
|Sweden batter USA, Swiss roll on to gold medal match|
|Zverev battles past Cilic to extend winning streak|
|It was a penalty - Kovac acknowledges Frankfurt´s good fortune ahead of Bayern move|
|Ligue 1: Depay fires Lyon into Champions League as Troyes go down|
|Tigers tear Rhinos to shreds as Saints stay clear at the summit|
|Mourinho criticises Chelsea long-ball tactics in FA Cup final|
|Caen 0 Paris Saint-Germain 0: Stalemate closes Emery tenure as Caen survive|
|Villarreal 2 Real Madrid 2: Luca´s debut misjudgement costs Los Blancos|
|Conte reaffirms Chelsea commitment and hints at Italy offer|
|Leicester agree €20m deal for Porto´s Pereira|
|Bayern Munich 1 Eintracht Frankfurt 3: Controversial Kovac win denies new club double delight|
|I am a serial winner, Conte declares after Chelsea´s FA Cup glory|
|Courtois delighted to dispel doubts with FA Cup triumph|
|FA Cup win was to save Chelsea season - Cahill|
|Brilliant Hazard ensures Conte´s serial-winner status remains intact|
|Knight Riders cruise into the IPL play-offs|
|Mourinho: I can imagine what people would say if my team played like Chelsea|
|Mourinho: Lukaku chose not to start FA Cup final|
|Hazard shies away from future talk after Chelsea´s FA Cup success|
|Today is your moment - Juventus legend Del Piero pays tribute to Buffon|
|Chelsea 1 Manchester United 0: Hazard seals FA Cup glory in possible Conte farewell|
|Pellegrini leaves Hebei China Fortune amid West Ham links|
|Arnold sees red as Lions overpower Brumbies|
|Toulouse out as Castres advance to Top 14 semi-finals|
|Ruthless Chiefs dominate Falcons to reach Twickenham again|
|Host Pieters crashes out in Belgian Knockout|
|Quarterback Manziel heading to the CFL|
|Valverde content with domestic double in debut Barca season|
|Froome and Yates pull off British Giro one-two|
|Leinster hold nerve to fend off Munster|
|Mancini hands Balotelli Italy recall|
|Valverde sees no way of replacing Iniesta|
|Celtic complete historic double treble by seeing off Motherwell|
|No regrets for Payet after injury ends World Cup dream|
|Pjanic honoured to have played with Juventus great Buffon|
|Nadal grinds out Djokovic win to set up Rome final and shot at number one|
|Lukaku on bench for FA Cup final, Chelsea pick Giroud|
|Gopal puts Bangalore in a spin as Rajasthan Royals stay alive|
|Mijatovic advises Real Madrid against Salah move|
|Juventus 2 Verona 1: Buffon signs off on a high|