Hamburg was one of five cities left in the running, alongside Rome, Paris, Budapest and Los Angeles.
However, 51.7% of residents of the city and nearby Kiel, where sailing events would have taken place, voted no in a referendum on November 29.
German Olympics officials had picked Hamburg as their preferred candidate city ahead of Berlin.
Hamburg’s mayor Olaf Scholz said: “That’s a decision that we didn’t want, but it’s clear.”
Germany has not hosted the Games since 1972 in Munich.
Critics of the plan said it was wasteful, at a cost of €11.2 billion ($11.9 billion), only a small fraction of which had been promised by city authorities.
In 2013, Munich residents also voted against the Olympics, turning down the chance to host the 2022 Winter Games.
In July 2015, the city of Boston decided to withdraw from the race to be host for 2024 amid a lack of public support.
The winning city will be selected in September 2017.
At least 158 people have died in Spain's worst flooding disaster in generations. On October…
Google has been fined two undecillion (a two followed by 36 zeroes) roubles by a…
Embarking on a home remodel is an exciting journey, promising enhanced comfort, increased property value,…
The US presidential candidates continued to campaign across key swing states on October 20. Footage…
Elon Musk has said he will give away $1 million a day to a registered…
India and Canada have decided to expel their top envoys along with other diplomats as…