Hamburg staved off the threat of relegation for good with a lacklustre goalless draw at home with Mainz.
Hamburg have lost just once in their last six games and moved onto 36 points, meaning they cannot now be caught by Cologne in the final relegation play-off spot.
Mainz, who have also only lost once in their last six games, secured their spot in the Bundesliga for next season last weekend.
Mainz had the first chance of the game after 16 minutes when Mohamed Zidan passed to Eric Maxim Choupo-Moting, but Hamburg keeper Sven Neuhaus made a superb save from the striker's attempt from a tight angle.
Hamburg began to take control of the game after the half-hour mark but Paolo Guerrero, returning from his eight-game suspension, watched Mainz keeper Christian Wetklo deflect his header just over the bar from 10 yards out in the 37th minute.
Guerrero was close again one minute before the break but the Peruvian's header went just over the bar.
Hamburg had another scoring opportunity in the 63rd minute with a thunderous 20-yard shot from Mladen Petric which Wetklo was just barely to hold.
And the hosts had a double chance with 11 minutes to play but David Jarolim could not beat Wetklo and Tomas Rincon's rebound attempt went wide.