Bayern Munich won 8-1 at St Pauli, with Mario Gomez scoring a hat-trick, to ensure they will participate in the Champions League qualifiers next season.
Gomez scored three and Franck Ribery and Arjen Robben two each as Bayern sealed third place, although they could yet finish second and secure automatic qualification.
Daniel van Buyten was also on target for the visitors, who led just 2-0 at the break but tore St Pauli apart in the second half. Marcel Eger's goal for the hosts, who are heading back to the second tier after a solitary season in the top flight, was no consolation.
Bayer Leverkusen need a point from their final match of the season to confirm they finish as runners-up in the Bundesliga, ahead of Bayern, after they drew 1-1 with Hamburg at the BayArena.
It was the visitors who got off to an ideal start when Heiko Westerman pounced from close range in the second minute. Stefan Kiessling drew Leverkusen level and they now need a point from their last game of the campaign when they visit Freiburg next week to guarantee they take second spot ahead.
Hannover had to settle for a place in the Europa League as their Champions League hopes ended with a 2-1 defeat at Stuttgart. Mainz also ensured they will play in Europe next season as a 3-1 win at Schalke guaranteed them at least fifth place.
Second-half goals from Tamas Hajnal and Shinji Okazaki put Stuttgart two up on Hannover before Lars Stindl pulled one back as victory ended any lingering fears of relegation for the hosts.
Mainz came from behind to see off Champions League semi-finalists Schalke, Andre Schurrle cancelling out Klaas Jan Huntelaar's opener before Lewis Holtby and Nikolce Noveski completed the comeback.
Borussia Monchengladbach gave their survival hopes a major boost with a 2-0 win over Freiburg thanks to late goals from Mike Hanke and Marco Reus. The win lifted Gladbach up to third bottom, a point ahead of Eintracht Frankfurt and level with fourth-bottom Wolfsburg.
Wolfsburg were beaten 2-1 by Kaiserslautern, who responded to conceding a Mario Mandzukic goal early on with efforts from Srdjan Lakic and Martin Amedick.
Werder Bremen secured their Bundesliga status with a 2-0 win over the freshly-crowned Bundesliga champions Borussia Dortmund.
Mikael Silvestre and Claudio Pizarro were on target for Thomas Schaaf's side as they moved seven points clear of the bottom three with just one game of the season remaining.
Eintracht Frankfurt slipped into the bottom two in the Bundesliga after going down 2-0 at home to Cologne, who secured their future in the top flight with a game to go. Adil Chihi scored for the visitors in the 24th minute and the away team had chances to win more comfortably before a penalty from Lukas Podolski with the final kick of the game made it mathematically certain they will be in the top flight next season.
Hoffenheim came from behind to damage Nurnberg's European prospects with a 2-1 win at the easyCredit-Stadion. Philipp Wollscheid gave the hosts a first half lead but Roberto Firmino levelled the scores by the break and Gylfi Sigurdsson won it for the visitors four minutes from time.