20th century – present
Shortly before the First World War, the city started to expand again, and new suburbs were built. Even though the Netherlands remained neutral in this war, Amsterdam suffered a food shortage, and heating fuel became scarce. The shortages sparked riots in which several people were killed. These riots are known as the Aardappeloproer (Potato Rebellion). People started looting stores and warehouses to get supplies, mainly food.
On 1 January 1921, after a flood in 1916, the depleted municipalities of Durgerdam, Holysloot, Zunderdorp and Schellingwoude (all lying north of Amsterdam) were, at their own request, annexed to the city. Between the wars, the city continued to expand, most notably to the west of the Jordaan district in the Frederik Hendrikbuurt and surrounding neighbourhoods.
Nazi Germany invaded the Netherlands on 10 May 1940 and took control of the country. Some Amsterdam citizens sheltered Jews, thereby exposing themselves and their families to a high risk of being imprisoned or sent to concentration camps. More than 100,000 Dutch Jews were deported and murdered in Nazi concentration camps, including 56,521 victims in Auschwitz and a further number of 34,082 accounted for in Sobibor. Around 60,000 Jewish inhabitants, including Jewish prewar refugees from Austria and Germany, were living in Amsterdam at the time of the Nazi occupation. Only those provided with a safe haven, avoiding deportation and denunciation, or the very few who returned from the camps at the end of the war, managed to survive.
At first the German occupation authorities were very cautious, wanting to convince the city inhabitants of their sincerity. However, their outlook soon turned to cynicism and brutality. A cause in the change of their behaviour was an attack by a Dutch resistance fighter against a collaborator belonging to the paramilitary Dutch fascist organisation, the NSB. The injured man died and in response Heinrich Himmler ordered reprisals. 427 Amsterdam Jews were arrested on 22 February 1941 and sent to Mauthausen concentration camp. Only two people survived.
Incensed, a broad spectrum of passive resistance was organized by the Dutch Underground. Trade unions, among them socialist and Communist Party activists, led the protest. Their outcry received support from white collar employees in the civil service and support from the local diocese of the Church. Approval was also given and encouraged by the Dutch government-in-exile under Queen Wilhelmina in London.
The German authorities were taken completely by surprise by the level of resistance known as the February strike. 300,000 people participated in the protest against the arrests of Jews. However, the occupier soon responded crudely and brutally, smashing union and illegal party activity. With the edifice of resistance removed the SS and German police apparatus, supported by collaborators in the Dutch auxiliary police, arrested thousands of defenceless Jews in Amsterdam's Jewish Quarter. The two main waves of arrest, culminating in deportation, occurred on 26 May 1943 and on 20 June 1943.
The most famous deportee was the young Jewish girl Anne Frank, whose safe hiding place with her family was betrayed and discovered in August, 1944. After a spell at the 'holding camp' in Westerbork Anna and her family were sent to Auschwitz, where her mother was murdered. From there she and her sister Margot were moved onto Bergen-Belsen concentration camp where they died amidst appalling and inhumane conditions in early 1945.
At the end of the Second World War, and as a consequence of the Nazi occupation, Amsterdam was in a state of crisis. Communication with the rest of the country broke down, and food and fuel became scarce. Many citizens traveled to the countryside to forage. Dogs, cats, raw sugar beets, and tulip bulbs—cooked to a pulp—were consumed to stay alive. Many trees in Amsterdam were cut down for fuel, and wood was taken from the houses, apartments and other buildings of deported Jews. The city was finally liberated by Canadian forces on 5 May 1945, shortly before the end of the war in Europe.
The Amsterdam–Rhine Canal opened to shipping in May 1952, replacing the older Merwede Canal as the principal inland shipping route between Amsterdam and the Rhine basin.
Many new suburbs, such as Osdorp, Slotervaart, Slotermeer and Geuzenveld, were built in the years after the Second World War. These suburbs contained many public parks and wide-open spaces, and the new buildings provided improved housing conditions with larger and brighter rooms, gardens, and balconies. Because of the war and other events of the 20th century, almost the entire city centre had fallen into disrepair. As society was changing, politicians and other influential figures made plans to redesign large parts of it. There was an increasing demand for office buildings, and also for new roads, as the automobile became available to most people. A metro began operating in 1977 between the new suburb of Bijlmermeer in the city's Zuidoost (southeast) exclave and the centre of Amsterdam. Further plans were to build a new highway above the metro to connect Amsterdam Centraal and the city centre with other parts of the city.
The required large-scale demolitions began in Amsterdam's former Jewish neighborhood. Smaller streets, such as the Jodenbreestraat and Weesperstraat, were widened and almost all houses and buildings were demolished. At the peak of the demolition, the Nieuwmarktrellen (Nieuwmarkt riots) broke out; the rioters expressed their fury about the demolition caused by the restructuring of the city.
As a result, the demolition was stopped and the highway into the city's centre was never fully built; only the metro was completed. Only a few streets remained widened. The new city hall was built on the almost completely demolished Waterlooplein. Meanwhile, large private organizations, such as Stadsherstel Amsterdam, were founded to restore the entire city centre. Although the success of this struggle is visible today, efforts for further restoration are still ongoing. The entire city centre has reattained its former splendour and, as a whole, is now a protected area. Many of its buildings have become monuments, and in July 2010 the Grachtengordel (the three concentric canals: Herengracht, Keizersgracht, and Prinsengracht) was added to the UNESCO World Heritage List.
In the 21st century, the Amsterdam city centre has attracted large numbers of tourists: between 2012 and 2015, the annual number of visitors rose from 10 to 17 million. Real estate prices have surged, and local shops are making way for tourist-oriented ones, making the centre unaffordable for the city's inhabitants. These developments have evoked comparisons with Venice, a city thought to be overwhelmed by the tourist influx.
Construction of a new metro line connecting the part of the city north of the IJ to its southern part was started in 2003. The project was controversial because its cost had exceeded its budget by a factor of three by 2008, because of fears of damage to buildings in the centre, and because construction had to be halted and restarted multiple times. The new metro line was completed in 2018.
Since 2014, renewed focus has been given to urban regeneration and renewal, especially in areas directly bordering the city centre, such as Frederik Hendrikbuurt. This urban renewal and expansion of the traditional centre of the city—with the construction of artificial islands of the new eastern IJburg neighbourhood—is part of the Structural Vision Amsterdam 2040 initiative.