The synagogue was constructed from 1824 to 1826. The luxurious Stadttempel was fitted into a block of houses and hidden from plain view of the street, because of an edict issued by Emperor
Joseph II that only Roman Catholic places of worship were allowed to be built with facades fronting directly on to public streets. This edict saved the synagogue from total destruction during the
Kristallnacht in November 1938, since the synagogue could not be destroyed without setting on fire the buildings to which it was attached. The Stadttempel was the only synagogue in the city to survive
World War II, as
Nazi paramilitary troops with the help of local authorities destroyed all of the other 93 synagogues and
Jewish prayer-houses in Vienna, starting with the
Kristallnacht. In August 1950, the coffins of
Theodor Herzl and his parents were displayed at the synagogue, prior to their transfer for reburial in Israel. In the
1981 Vienna synagogue attack, two people from a bar mitzvah ceremony at the synagogue were murdered and thirty injured when
Palestinian Arab terrorists attacked the synagogue with machine guns and hand grenades. On 2 November 2020, a
terrorist attack near the synagogue left four civilians dead and 23 others wounded. It was not immediately certain if the synagogue was the target of the attack. Today the synagogue is the main house of prayer for the Viennese Jewish Community of about 7,000 members. The synagogue has been declared a historic monument. ==Architecture==