# Shanghai

Shanghai is a direct-administered municipality and the most populous urban area in China. The city is located on the Chinese shoreline on the southern estuary of the Yangtze River, with the Huangpu River flowing through it. The population of the city proper is the second largest in the world after Chongqing, with around 24.87 million inhabitants in 2023, while the urban area is the most populous in China, with 29.87 million residents. As of 2022, the Greater Shanghai metropolitan area was estimated to produce a gross metropolitan product (nominal) of nearly 13 trillion RMB ($1.9 trillion). Shanghai is one of the world's major centers for finance, business and economics, research, science and technology, manufacturing, transportation, tourism, and culture. The Port of Shanghai is the world's busiest container port.
Originally a fishing village and market town, Shanghai grew in importance in the 19th century due to both domestic and foreign trade and its favorable port location. The city was one of five treaty ports forced to open to European trade after the First Opium War. The Shanghai International Settlement and the French Concession were subsequently established. The city then flourished, becoming a primary commercial and financial hub of Asia in the 1930s. During the Second Sino-Japanese War, the city was the site of the major Battle of Shanghai. After the war, the Chinese Civil War soon resumed between the Kuomintang (KMT) and the Chinese Communist Party (CCP), with the latter eventually taking over the city and most of the mainland. From the 1950s to the 1970s, trade was mostly limited to other socialist countries in the Eastern Bloc, causing the city's global influence to decline during the Cold War.
Major changes of fortune for the city would occur when economic reforms initiated by paramount leader Deng Xiaoping during the 1980s resulted in an intense redevelopment and revitalization of the city by the 1990s, especially the Pudong New Area, aiding the return of finance and foreign investment. The city has since re-emerged as a hub for international trade and finance. It is the home of the Shanghai Stock Exchange, the largest stock exchange in the Asia-Pacific by market capitalization and the Shanghai Free-Trade Zone, the first free-trade zone in mainland China. It is ranked 4th on the Global Financial Centres Index. Shanghai has been classified as an Alpha+ (global first-tier) city by the Globalization and World Cities Research Network. As of 2024, it is home to 13 companies of the Fortune Global 500—the fourth-highest number of any city. The city is also a major global center for research and development and home to numerous Double First-Class Universities, including Fudan University and Shanghai Jiaotong University. The Shanghai Metro, first opened in 1993, is the largest metro network in the world by route length.
Shanghai has been described as the "showpiece" of the economy of China and it is one of the ten biggest economic hubs in the world. Featuring several architectural styles such as Art Deco and shikumen, the city is renowned for its Lujiazui skyline, museums and historic buildings, including the City God Temple, Yu Garden, the China Pavilion and buildings along the Bund. The Oriental Pearl Tower can be seen from the Bund. Shanghai is known for its cuisine, local language, and cosmopolitan culture. It ranks sixth in the list of cities with the most skyscrapers.

## Etymology

The two Chinese characters in the city's name are 上 (shàng/zaon, "upon") and 海 (hǎi/hé, "sea"), together meaning "On the Sea." The earliest occurrence of this name dates from the 11th-century Song dynasty, when there was already a river confluence and a town with this name in the area. Others contend that the city is referenced in historical records dating back 2150 years, and that its ancient name, "Hu", suggests it was previously a fishing village. In 1280 it was renamed "Shanghai", which translates to "Above the Sea". How the name should be understood has been disputed, but Chinese historians have concluded that during the Tang dynasty, the area of modern-day Shanghai was under sea level, so the land appeared to be literally "on the sea."
Shanghai is officially abbreviated 沪 (Hù/wu) in Chinese, a contraction of 沪渎 (Hù Dú/wu-doq, "Harpoon Ditch"), a 4th- or 5th-century Jin name for the mouth of Suzhou Creek when it was the main conduit into the ocean. This character appears on all motor vehicle license plates issued in the municipality today.

### Alternative names

申 (Shēn/sén) or 申城 (Shēnchéng/sén-zen, "Shen City") was an early name originating from Lord Chunshen, a 3rd-century BC nobleman and prime minister of the state of Chu, whose fief included modern Shanghai. Shanghai-based sports teams and newspapers often use Shen in their names, such as Shanghai Shenhua and Shen Bao.
华亭 (Huátíng/gho-din) was another early name for Shanghai. In AD 751 during the mid-Tang dynasty, Huating County was established by Zhao Juzhen, the governor of Wu Commandery, at modern-day Songjiang, the first county-level administration within modern-day Shanghai. The first five-star hotel in the city was named after Huating.
魔都 (Módū/mó-tu, "monster/fiend/magical city"), a contemporary nickname for Shanghai, is widely known among the youth. The name was first mentioned in Japanese novelist Shōfu Muramatsu's 1924 novel Mato, which portrayed Shanghai as a dichotomous city where both light and darkness existed.
The city has various nicknames in English, including the "New York of China", in reference to its status as a cosmopolitan megalopolis and financial hub, the "Pearl of the Orient", and the "Paris of the East." This is similar to Ho Chi Minh City (also known as Saigon), in Vietnam, which has also been nicknamed as "Paris of the Orient," due to Vietnam's historical French status.

## History
### Antiquity

The western part of modern-day Shanghai was inhabited 6,000 years ago. During the Spring and Autumn period (approximately 771 to 476 BC), it belonged to the Kingdom of Wu, which was conquered by the Kingdom of Yue, which in turn was conquered by the Kingdom of Chu. During the Warring States period (475 BC), Shanghai was part of the fief of Lord Chunshen of Chu, one of the Four Lords of the Warring States. He ordered the excavation of the Huangpu River. Its former or poetic name, the Chunshen River, gave Shanghai its nickname of "Shēn." Fishermen living in the Shanghai area then created a fish tool called the hù, which lent its name to the outlet of Suzhou Creek north of the Old City and became a common nickname and abbreviation for the city.

### Imperial era
#### Tang, Song, Yuan dynasties

During the Tang and Song dynasties, Qinglong Town (青龙镇) in modern Qingpu District was a major trading port. Established in 746 (the fifth year of the Tang Tianbao era), it developed into what was historically called a "giant town of the Southeast," with thirteen temples and seven pagodas. Mi Fu, a scholar and artist of the Song dynasty, served as its mayor. The port experienced thriving trade with provinces along the Yangtze and the Chinese coast, as well as with foreign countries such as Japan and Silla. By the end of the Song dynasty, the center of trading had moved downstream of the Wusong River to Shanghai. It was upgraded in status from a village to a market town in 1074, and in 1172, a second sea wall was built to stabilize the ocean coastline, supplementing an earlier dike. From the Yuan dynasty in 1292 until Shanghai officially became a municipality in 1927, central Shanghai was administered as a county under Songjiang Prefecture, which had its seat in the present-day Songjiang District.

#### Ming dynasty

Two important events helped promote Shanghai's developments in the Ming dynasty. A city wall was built for the first time in 1554 to protect the town from raids by Japanese pirates. It measured 10 m (33 ft) high and 5 km (3 mi) in circumference. A City God Temple was built in 1602 during the Wanli reign. This honor was usually reserved for prefectural capitals and not normally given to a mere county seat such as Shanghai. Scholars have theorized that this likely reflected the town's economic importance, as opposed to its low political status.

#### Qing dynasty

During the Qing dynasty, Shanghai became one of the most important seaports in the Yangtze Delta region as a result of two important central government policy changes: in 1684, the Kangxi Emperor reversed the Ming dynasty prohibition on oceangoing vessels—a ban that had been in force since 1525; and in 1732, the Qianlong Emperor moved the customs office for Jiangsu province (江海关; see Customs House, Shanghai) from the prefectural capital of Songjiang to Shanghai, and gave Shanghai exclusive control over customs collections for Jiangsu's foreign trade. As a result of these two critical decisions, Shanghai became the major trade port for all of the lower Yangtze region by 1735, despite still being at the lowest administrative level in the political hierarchy.
* Songjiang Square Pagoda, built in the 11th century
* The Mahavira Hall at Zhenru Temple, built in 1320
* The walled Old City of Shanghai in the 17th century
In the 19th century, international attention to Shanghai grew due to Europe and recognition of its economic and trade potential at the Yangtze. During the First Opium War (1839–1842), British forces occupied the city. The war ended in 1842 with the Treaty of Nanking, which opened Shanghai as one of the five treaty ports for international trade. The Treaty of the Bogue, the Treaty of Wanghia, and the Treaty of Whampoa (signed in 1843, 1844, and 1844, respectively) forced Chinese concession to European and American desires for visitation and trade on Chinese soil. Britain, France, and the United States all established a presence outside the walled city of Shanghai, which remained under the direct administration of the Chinese.
The Chinese-held Old City of Shanghai fell to rebels from the Small Swords Society in 1853, but control of the city was regained by the Qing government in February 1855. In 1854, the Shanghai Municipal Council was created to manage the foreign settlements. Between 1860 and 1862, the Taiping rebels twice attacked Shanghai and destroyed the city's eastern and southern suburbs, but failed to take the city. In 1863, the British settlement to the south of Suzhou Creek (northern Huangpu District) and the American settlement to the north (southern Hongkou District) joined in order to form the Shanghai International Settlement. The French opted out of the Shanghai Municipal Council and maintained its own concession at the city's south and southwest.
The First Sino-Japanese War concluded with the 1895 Treaty of Shimonoseki, which elevated Japan to become another foreign power in Shanghai. Japan built the first factories in Shanghai, which was soon copied by other foreign powers. All this international activity gave Shanghai the nickname "the Great Athens of China."

### Republic era

The Republic of China was established in 1912. The same year, the Old City walls were dismantled as they blocked the city's expansion. In July 1921, the Chinese Communist Party was founded in the Shanghai French Concession. On 30 May 1925, the May Thirtieth Movement broke out when a worker in a Japanese-owned cotton mill was shot and killed by a Japanese foreman. Workers in the city then launched general strikes against imperialism, which became nationwide protests that gave rise to Chinese nationalism.
The golden age of Shanghai began with its elevation to municipality after it was separated from Jiangsu on 7 July 1927. This new Chinese municipality covered an area of 494.69 km$^2$ (191.0 sq mi), including the modern-day districts of Baoshan, Yangpu, Zhabei, Nanshi, and Pudong, but excluded the foreign concessions territories. Headed by a Chinese mayor and municipal council, the new city government's first task—the Greater Shanghai Plan—was to create a new city center in Jiangwan town of Yangpu district, outside the boundaries of the foreign concessions. The plan included a public museum, library, sports stadium, and city hall, which were partially constructed before being interrupted by the Japanese invasion. In the 1920s, shidaiqu became a new form of entertainment and was popularised in Shanghai.
The city flourished, becoming a primary commercial and financial hub of the Asia-Pacific region in the 1930s. During the ensuing decades, citizens of many countries and all continents came to Shanghai to live and work; those who stayed for long periods⁠⁠—some for generations⁠—called themselves "Shanghailanders." In the 1920s and 1930s, almost 20,000 White Russians fled the newly established Soviet Union to reside in Shanghai. These Shanghai Russians constituted the second-largest foreign community. By 1932, Shanghai had become the world's fifth-largest city and home to 70,000 foreigners. In the 1930s, some 30,000 Jewish refugees from Europe arrived in the city.
* Shanghai, filmed in 1937
* The Bund in the late 1920s seen from the French Concession
* Nanking Road (modern-day East Nanjing Road) in the 1930s
* Shanghai Park Hotel was the tallest building in Asia for decades.
* Former Shanghai Library
* The HSBC Building, built in 1923, and the Customs House, built-in 1927

#### Japanese invasion

On 28 January 1932, Japanese military forces invaded Shanghai while the Chinese resisted. More than 10,000 shops and hundreds of factories and public buildings were destroyed, leaving Zhabei district ruined. About 18,000 civilians were either killed, injured, or declared missing. A ceasefire was brokered on 5 May. In 1937, the Battle of Shanghai resulted in the occupation of the Chinese-administered parts of Shanghai outside of the International Settlement and the French Concession. People who stayed in the occupied city suffered on a daily basis, experiencing hunger, oppression, or death. The foreign concessions were ultimately occupied by the Japanese on 8 December 1941 and remained occupied until Japan's surrender in 1945; multiple war crimes were committed during that time.
A side-effect of the Japanese invasion of Shanghai was the Shanghai Ghetto. Japanese consul to Kaunas, Lithuania, Chiune Sugihara issued thousands of visas to Jewish refugees who were escaping the Nazi's Final Solution to the Jewish Question. They traveled from Keidan, Lithuania across Russia by railroad to Vladivostok from where they traveled by ship to Kobe, Japan. Their stay in Kobe was short as the Japanese government transferred them to Shanghai by November 1941. Other Jewish refugees found haven in Shanghai, not through Sugihara, but came on ships from Italy. The refugees from Europe were interned into a cramped ghetto in the Hongkou District and after the Japanese attack on Pearl Harbor, even the Iraqi Jews who had been living in Shanghai from before the outbreak of WWII were interned. Among the refugees in the Shanghai Ghetto was the Mirrer Yeshiva, including its students and faculty. On 3 September 1945, the Chinese Army liberated the Ghetto and most of the Jews left over the next few years.

### People's Republic era

On 27 May 1949, the People's Liberation Army took control of Shanghai through the Shanghai Campaign. Under the new People's Republic of China (PRC), Shanghai was one of only three municipalities not merged into neighboring provinces (the others being Beijing and Tianjin). Most foreign firms moved their offices from Shanghai to Hong Kong, as part of a foreign divestment due to the PRC's victory.
After the war, Shanghai's economy was restored—from 1949 to 1952, the city's agricultural and industrial output increased by 51.5% and 94.2%, respectively. There were 20 urban districts and 10 suburbs at the time. On 17 January 1958, Jiading, Baoshan, and Shanghai County in Jiangsu became part of Shanghai Municipality, which expanded to 863 km$^2$ (333.2 sq mi). The following December, the land area of Shanghai was further expanded to 5,910 km$^2$ (2,281.9 sq mi) after more surrounding suburban areas in Jiangsu were added: Chongming, Jinshan, Qingpu, Fengxian, Chuansha, and Nanhui. In 1964, the city's administrative divisions were rearranged to 10 urban districts and 10 counties.
As the industrial center of China with the most skilled industrial workers, Shanghai became a center for radical leftism during the 1950s and 1960s. The radical leftist Jiang Qing and her three allies, together the Gang of Four, were based in the city. During the Cultural Revolution (1966–1976), Shanghai's society was severely damaged. The majority of the workers in the Shanghai branch of the People's Bank of China were Red Guards and they formed a group called the Anti-Economy Liaison Headquarters within the branch.$^{:38}$ The Anti-Economy Liaison Headquarters dismantled economic organizations in Shanghai, investigated bank withdrawals, and disrupted regular bank service in the city.$^{:38}$The Shanghai People's Commune was established in the city during the January Storm of 1967. Despite the disruptions of the Cultural Revolution, Shanghai maintained economic production with a positive annual growth rate.
During the Third Front campaign to develop basic industry and heavy industry in China's hinterlands in case of invasion by the Soviet Union or the United States, 354,900 Shanghainese were sent to work on Third Front projects.$^{:xvi}$ The centrepiece of Shanghai's Small Third Front project was the "rear base" in Anhui rear base which served as "a multi-function manufacturing base for anti-aircraft and anti-tank weaponry.$^{:xvi}$
Since 1949, Shanghai has been a comparatively heavy contributor of tax revenue to the central government; in 1983, the city's contribution in tax revenue was greater than the investment received in the past 33 years combined. Its importance to the fiscal well-being of the central government also denied it from economic liberalizations begun in 1978.
In 1990, Deng Xiaoping permitted Shanghai to initiate economic reforms, which reintroduced foreign capital to the city and developed the Pudong district, resulting in the birth of Lujiazui. That year, the China's central government designated Shanghai as the "Dragon Head" of economic reform. As of 2020, Shanghai is classified as an Alpha+ city by the Globalization and World Cities Research Network, making it one of the world's Top 10 major cities.
In early 2022, Shanghai experienced a large outbreak of COVID-19 cases. After localized lockdowns failed to stem the rise in cases, the Chinese government locked down the entire city on 5 April. This resulted in widespread food shortages across the city emerged as food-supply chains were severely disrupted by the government's lockdown measures, which were not lifted until 1 June.

## Geography

Shanghai is located on the Yangtze Estuary of China's east coast, with the Yangtze River to the north and Hangzhou Bay to the south, with the East China Sea to the east. The land is formed by the Yangtze's natural deposition and modern land reclamation projects. As such, it has sandy soil, and skyscrapers have to be built with deep concrete piles to avoid sinking into the soft ground. The provincial-level Municipality of Shanghai administers both the estuary and many of its surrounding islands. It borders the provinces of Zhejiang to the south and Jiangsu to the west and north. The municipality's northernmost point is on Chongming Island, which is the second-largest island in mainland China after its expansion during the 20th century. It does not administratively include an exclave of Jiangsu on northern Chongming or the two islands forming Shanghai's Yangshan Port, which are parts of Zhejiang's Shengsi County.
Shanghai is located on an alluvial plain. As such, the vast majority of its 6,340.5 km$^2$ (2,448.1 sq mi) land area is flat, with an average elevation of 4 m (13 ft). Tidal flat ecosystems exist around the estuary, however, they have long been reclaimed for agricultural purposes. The city's few hills, such as She Shan, lie to the southwest, and its highest point is the peak of Dajinshan Island (103 m or 338 ft) in Hangzhou Bay. Shanghai has many rivers, canals, streams, and lakes, and it is known for its rich water resources as part of the Lake Tai drainage basin.
Downtown Shanghai is bisected by the Huangpu River, a man-made tributary of the Yangtze created by order of Lord Chunshen during the Warring States period. The historic center of the city was located on the west bank of the Huangpu (Puxi), near the mouth of Suzhou Creek, connecting it with Lake Tai and the Grand Canal. The central financial district, Lujiazui, has been established on the east bank of the Huangpu (Pudong). Along Shanghai's eastern shore, the destruction of local wetlands due to the construction of Pudong International Airport has been partially offset by the protection and expansion of a nearby shoal, Jiuduansha, as a nature preserve.

### Climate

Shanghai has a humid subtropical climate (Köppen: Cfa), with an average annual temperature of 17.5 °C (63.5 °F) for downtown areas and 16.2–17.2 °C (61.2–63.0 °F) for suburbs. The city experiences four distinct seasons. Winters are temperate to cold and damp—northwesterly winds from Siberia can cause nighttime temperatures to drop below freezing. Each year, there are an average of 4.7 days with snowfall and 1.6 days with snow cover. Summers are hot and humid, and occasional downpours or thunderstorms can be expected. On average, 14.5 days exceed 35 °C (95 °F) annually. In summer and the beginning of autumn, the city is susceptible to typhoons.
The most pleasant seasons are generally spring, although changeable and often rainy, and autumn, which is usually sunny and dry. With monthly percent possible sunshine ranging from 28% in June to 46% in August, the city receives 1,754 hours of bright sunshine annually. (All the mean values mentioned in this paragraph are data observed in Baoshan District） According to China's seasonal division standard, from 2001 to 2024, Shanghai enters spring on 9 March, summer on 16 May, autumn on 5 October, and winter on 4 December. Extremes since 1951 have ranged from −10.1 °C (14 °F) on 31 January 1977 (unofficial record of −12.1 °C (10 °F) was set on 19 January 1893) to 40.9 °C (106 °F) on 21 July 2017 and 13 July 2022 at a weather station in Xujiahui and 2 August 2024 in Minhang District following a record hot night set at 32.1 °C (90 °F) as the highest ever daily minimum temperature at Xujiahui. On 8 August 2013, the weather station at Shanghai Pudong International Airport also observed a high temperature of 41.0 °C (106 °F).
Climate data for Shanghai (Xujiahui), elevation 5 m (16 ft), (1991–2020 normals, extremes 1951–present) :
| Month | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | Year |
| Record high °C (°F) | 21.6 (70.9) | 27.0 (80.6) | 29.5 (85.1) | 33.9 (93.0) | 36.7 (98.1) | 38.4 (101.1) | 40.9 (105.6) | 40.8 (105.4) | 38.2 (100.8) | 36.0 (96.8) | 28.5 (83.3) | 23.4 (74.1) | 40.9 (105.6) |
| Mean daily maximum °C (°F) | 8.7 (47.7) | 10.7 (51.3) | 14.9 (58.8) | 20.9 (69.6) | 25.8 (78.4) | 28.6 (83.5) | 33.2 (91.8) | 32.6 (90.7) | 28.7 (83.7) | 23.5 (74.3) | 17.8 (64.0) | 11.3 (52.3) | 21.4 (70.5) |
| Daily mean °C (°F) | 5.4 (41.7) | 7.0 (44.6) | 10.7 (51.3) | 16.1 (61.0) | 21.3 (70.3) | 24.7 (76.5) | 29.1 (84.4) | 28.8 (83.8) | 25.1 (77.2) | 19.9 (67.8) | 14.3 (57.7) | 7.9 (46.2) | 17.5 (63.5) |
| Mean daily minimum °C (°F) | 2.9 (37.2) | 4.1 (39.4) | 7.6 (45.7) | 12.6 (54.7) | 17.9 (64.2) | 22.0 (71.6) | 26.2 (79.2) | 26.2 (79.2) | 22.5 (72.5) | 17.1 (62.8) | 11.4 (52.5) | 5.3 (41.5) | 14.7 (58.4) |
| Record low °C (°F) | −10.1 (13.8) | −7.9 (17.8) | −5.4 (22.3) | −0.5 (31.1) | 6.9 (44.4) | 12.3 (54.1) | 16.3 (61.3) | 18.8 (65.8) | 10.8 (51.4) | 1.7 (35.1) | −4.2 (24.4) | −8.5 (16.7) | −10.1 (13.8) |
| Average precipitation mm (inches) | 72.2 (2.84) | 65.0 (2.56) | 97.3 (3.83) | 84.2 (3.31) | 91.0 (3.58) | 224.9 (8.85) | 163.2 (6.43) | 225.9 (8.89) | 131.5 (5.18) | 69.6 (2.74) | 61.4 (2.42) | 50.4 (1.98) | 1,336.6 (52.61) |
| Average precipitation days (≥ 0.1 mm) | 10.6 | 10.4 | 12.7 | 11.3 | 11.2 | 14.3 | 12.2 | 12.7 | 10.1 | 7.5 | 9.2 | 8.5 | 130.7 |
| Average snowy days | 2.1 | 1.8 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.9 | 5.4 |
| Average relative humidity (%) | 71 | 71 | 70 | 69 | 70 | 79 | 76 | 76 | 74 | 70 | 71 | 69 | 72 |
| Mean monthly sunshine hours | 114.3 | 119.9 | 128.5 | 148.5 | 169.8 | 130.9 | 190.8 | 185.7 | 167.5 | 161.4 | 131.1 | 127.4 | 1,775.8 |
| Source: China Meteorological Administration (sun 1981–2010)all-time extreme temperature ||||||||||||||
Climate data for Shanghai (Minhang District), elevation 6 m (20 ft), (1991–2020 normals, extremes 1981–2010) :
| Month | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | Year |
| Record high °C (°F) | 22.2 (72.0) | 27.1 (80.8) | 29.5 (85.1) | 33.1 (91.6) | 34.4 (93.9) | 37.3 (99.1) | 39.5 (103.1) | 39.8 (103.6) | 36.2 (97.2) | 34.1 (93.4) | 28.3 (82.9) | 23.0 (73.4) | 39.8 (103.6) |
| Mean daily maximum °C (°F) | 8.7 (47.7) | 10.7 (51.3) | 14.8 (58.6) | 20.6 (69.1) | 25.5 (77.9) | 28.3 (82.9) | 32.8 (91.0) | 32.3 (90.1) | 28.5 (83.3) | 23.6 (74.5) | 17.9 (64.2) | 11.5 (52.7) | 21.3 (70.3) |
| Daily mean °C (°F) | 4.9 (40.8) | 6.6 (43.9) | 10.4 (50.7) | 15.8 (60.4) | 20.9 (69.6) | 24.4 (75.9) | 28.8 (83.8) | 28.5 (83.3) | 24.7 (76.5) | 19.5 (67.1) | 13.7 (56.7) | 7.3 (45.1) | 17.1 (62.8) |
| Mean daily minimum °C (°F) | 1.9 (35.4) | 3.3 (37.9) | 6.8 (44.2) | 11.9 (53.4) | 17.2 (63.0) | 21.5 (70.7) | 25.8 (78.4) | 25.7 (78.3) | 21.6 (70.9) | 15.9 (60.6) | 10.1 (50.2) | 3.9 (39.0) | 13.8 (56.8) |
| Record low °C (°F) | −7.9 (17.8) | −6.3 (20.7) | −3.3 (26.1) | 0.0 (32.0) | 7.2 (45.0) | 12.8 (55.0) | 18.4 (65.1) | 19.3 (66.7) | 11.4 (52.5) | 3.2 (37.8) | −2.0 (28.4) | −8.5 (16.7) | −8.5 (16.7) |
| Average precipitation mm (inches) | 70.4 (2.77) | 65.4 (2.57) | 95.4 (3.76) | 82.5 (3.25) | 93.2 (3.67) | 207.3 (8.16) | 148.0 (5.83) | 187.1 (7.37) | 118.1 (4.65) | 68.4 (2.69) | 59.4 (2.34) | 50.3 (1.98) | 1,245.5 (49.04) |
| Average precipitation days (≥ 0.1 mm) | 10.9 | 10.2 | 12.9 | 11.3 | 11.2 | 14.5 | 11.7 | 12.4 | 9.8 | 7.4 | 9.1 | 8.3 | 129.7 |
| Average snowy days | 1.8 | 1.4 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.7 | 4.4 |
| Average relative humidity (%) | 74 | 73 | 72 | 71 | 73 | 80 | 78 | 78 | 76 | 73 | 74 | 72 | 75 |
| Mean monthly sunshine hours | 114.8 | 117.9 | 143.8 | 168.1 | 176.8 | 131.2 | 209.4 | 202.3 | 163.7 | 162.1 | 131.1 | 129.7 | 1,850.9 |
| Percentage possible sunshine | 36 | 37 | 39 | 43 | 41 | 31 | 49 | 50 | 45 | 46 | 42 | 41 | 42 |
| Source: China Meteorological Administration ||||||||||||||

## Cityscape

* View of Lujiazui from The Bund during the day
* View of Pudong from Hongkou District
* Night view of Lujiazui in Pudong
The Bund, located by the bank of the Huangpu River, is home to a row of early 20th-century architecture, ranging in style from the neoclassical HSBC Building to the Art Deco Sassoon House (now part of the Peace Hotel). Many areas in the former foreign concessions are also well-preserved, the most notable being the French Concession. Shanghai is also home to many architecturally distinctive and even eccentric buildings, including the Shanghai Museum, the Shanghai Grand Theatre, the Oriental Art Center, and the Oriental Pearl Tower. Despite rampant redevelopment, the Old City still retains some traditional architecture and designs, such as the Yu Garden, an elaborate Jiangnan style garden.
As a result of its construction boom during the 1920s and 1930s, Shanghai has among the most Art Deco buildings in the world. One of the most famous architects working in Shanghai was László Hudec, a Hungarian-Slovak who lived in the city between 1918 and 1947. His most notable Art Deco buildings include the Park Hotel, the Grand Cinema, and the Paramount. Other prominent architects who contributed to the Art Deco style are Clement Palmer and Arthur Turner, who together designed the Peace Hotel, the Metropole Hotel, and the Broadway Mansions; and Austrian architect C.H. Gonda, who designed the Capitol Theatre. The Bund has been revitalized several times. The first was in 1986, with a new promenade by the Dutch architect Paulus Snoeren. The second was before the 2010 Expo, which includes restoration of the century-old Waibaidu Bridge and reconfiguration of traffic flow.
One distinctive cultural element is the shikumen (石库门, "stone storage door") residence, typically two- or three-story gray brick houses with the front yard protected by a heavy wooden door in a stylistic stone arch. Each residence is connected and arranged in straight alleys, known as longtang (弄堂). The house is similar to western-style terrace houses or townhouses, but distinguished by the tall, heavy brick wall and archway in front of each house.
The shikumen is a cultural blend of elements found in Western architecture with traditional Jiangnan Chinese architecture and social behavior. Like almost all traditional Chinese dwellings, it has a courtyard, which reduces outside noise. Vegetation can be grown in the courtyard, and it can also allow for sunlight and ventilation in the rooms.
Some of Shanghai's buildings feature Soviet neoclassical architecture or Stalinist architecture, though the city has fewer such structures than Beijing. These buildings were mostly erected between the founding of the People's Republic in 1949 and the Sino-Soviet Split in the late 1960s. During this time period, large numbers of Soviet experts, including architects, poured into China to aid the country in the construction of a communist state. An example of Soviet neoclassical architecture in Shanghai is the modern-day Shanghai Exhibition Center.
Shanghai—Lujiazui in particular—has numerous skyscrapers, making it the fifth city in the world with the most skyscrapers. Among the most prominent examples are the 421 m (1,381 ft) high Jin Mao Tower, the 492 m (1,614 ft) high Shanghai World Financial Center, and the 632 m (2,073 ft) high Shanghai Tower, which is the tallest building in China and the third tallest in the world. Completed in 2015, the tower takes the form of nine twisted sections stacked atop each other, totaling 128 floors. It is featured in its double-skin facade design, which eliminates the need for either layer to be opaqued for reflectivity as the double-layer structure has already reduced the heat absorption. The futuristic-looking Oriental Pearl Tower, at 468 m (1,535 ft), is located nearby at the northern tip of Lujiazui. Skyscrapers outside of Lujiazui include the White Magnolia Plaza in Hongkou, the Shimao International Plaza in Huangpu, and the Shanghai Wheelock Square in Jing'an.
* The Shanghai Museum
* The Shanghai Grand Theater
* The Shanghai Exhibition Center, an example of Stalinist architecture
* The Oriental Pearl Tower at night
* Shanghai Tower
* Glass facades of two skyscrapers

## Politics
### Structure

Current leaders of the Shanghai Municipal Government :
| Title | CCP Committee Secretary | SMPC Chairwoman | Mayor | Shanghai CPPCC Chairman |
| Name | Chen Jining | Huang Lixin | Gong Zheng | Hu Wenrong |
| Ancestral home | Lishu, Jilin | Suqian, Jiangsu | Suzhou, Jiangsu | Putian, Fujian |
| Born | February 1964 (age 61) | August 1962 (age 62) | March 1960 (age 64–65) | July 1964 (age 60) |
| Assumed office | October 2022 | January 2024 | March 2020 | January 2023 |
Like all governing institutions in mainland China, Shanghai has a parallel party-government system, in which the CCP Committee Secretary, officially termed the Chinese Communist Party Shanghai Municipal Committee Secretary, outranks the Mayor. The CCP committee acts as the top policy-formulation body, and is typically composed of 12 members (including the secretary), and has control over the Shanghai Municipal People's Government.
Political power in Shanghai has frequently been a stepping stone to higher positions in the central government. Since Jiang Zemin became the General Secretary of the Chinese Communist Party in June 1989, all former Shanghai party secretaries but one were elevated to the Politburo Standing Committee, the de facto highest decision-making body in China, including Jiang himself (Party General Secretary), Zhu Rongji (Premier), Wu Bangguo (NPC Chairman), Huang Ju (Vice Premier), Xi Jinping (current General Secretary), Yu Zhengsheng (CPPCC Chairman), Han Zheng (Vice Premier and Vice President), and Li Qiang (Premier). Zeng Qinghong, a former deputy party secretary of Shanghai, also rose to the Politburo Standing Committee and became the Vice President and an influential power broker. Li Xi, another former deputy party secretary of Shanghai, has become the Politburo Standing Committee and Secretary of CCDI member in 2022. The only exception is Chen Liangyu, who was fired in 2006 and later convicted of corruption.
Officials with ties to the Shanghai administration collectively form a powerful faction in the central government known as the Shanghai Clique, which has often been viewed as competing against the rival Youth League Faction over personnel appointments and policy decisions. However, Xi Jinping, successor to Hu Jintao as General Secretary and President, was largely an independent leader and took anti-corruption campaigns on both factions.

### Administrative divisions

Shanghai is one of the four municipalities under the direct administration of the Central People's Government, and is divided into 16 county-level districts.
Administrative divisions of Shanghai :
| Huangpu Xuhui Changning Jing'an Putuo Hongkou Yangpu Minhang Baoshan Jiading Pudong Jinshan Songjiang Qingpu Fengxian Chongming ||||||||
| Division code | Division | Area (km$^2$) | Total population 2022 | Seat | Postal code |
| 310000 | Shanghai | 6,340.50 | 24,758,900 | Huangpu | 200000 |
| 310101 | Huangpu | 20.46 | 507,800 | Waitan Subdistrict | 200001 |
| 310104 | Xuhui | 54.76 | 1,098,500 | Xujiahui Subdistrict | 200030 |
| 310105 | Changning | 38.30 | 684,600 | Jiangsu Road Subdistrict | 200050 |
| 310106 | Jing'an | 36.88 | 940,500 | Jiangning Road Subdistrict | 200040 |
| 310107 | Putuo | 54.83 | 1,242,900 | Zhenru Town Subdistrict | 200333 |
| 310109 | Hongkou | 23.48 | 681,900 | Jiaxing Road Subdistrict | 200080 |
| 310110 | Yangpu | 60.73 | 1,199,200 | Pingliang Road Subdistrict | 200082 |
| 310112 | Minhang | 370.75 | 2,688,800 | Xinzhuang town | 201100 |
| 310113 | Baoshan | 270.99 | 2,271,900 | Youyi Road Subdistrict | 201900 |
| 310114 | Jiading | 464.20 | 1,893,400 | Xincheng Road Subdistrict | 201800 |
| 310115 | Pudong | 1,210.41 | 5,782,000 | Huamu Subdistrict | 200135 |
| 310116 | Jinshan | 586.05 | 823,700 | Shanyang town | 201500 |
| 310117 | Songjiang | 605.64 | 1,954,500 | Fangsong Subdistrict | 201600 |
| 310118 | Qingpu | 670.14 | 1,265,600 | Xiayang Subdistrict | 201700 |
| 310120 | Fengxian | 687.39 | 1,126,300 | Nanqiao town | 201400 |
| 310151 | Chongming | 1,185.49 | 597,400 | Chengqiao town | 202100 |
Divisions in Chinese and varieties of romanizations :
| English | Chinese | Pinyin | Shanghainese Romanization |
| Shanghai Municipality | 上海市 | Shànghǎi Shì | zaon he zy |
| Huangpu District | 黄浦区 | Huángpǔ Qū | waon phu chiu |
| Xuhui District | 徐汇区 | Xúhuì Qū | zi we chiu |
| Changning District | 长宁区 | Chángníng Qū | zan nyin chiu |
| Jing'an District | 静安区 | Jìng'ān Qū | zin oe chiu |
| Putuo District | 普陀区 | Pǔtuó Qū | phu du chiu |
| Hongkou District | 虹口区 | Hóngkǒu Qū | ghon kheu chiu |
| Yangpu District | 杨浦区 | Yángpǔ Qū | yan phu chiu |
| Minhang District | 闵行区 | Mǐnháng Qū | min ghaon chiu |
| Baoshan District | 宝山区 | Bǎoshān Qū | pau sae chiu |
| Jiading District | 嘉定区 | Jiādìng Qū | ka din chiu |
| Pudong New Area | 浦东新区 | Pǔdōng Xīnqū | phu ton sin chiu |
| Jinshan District | 金山区 | Jīnshān Qū | cin se chiu |
| Songjiang District | 松江区 | Sōngjiāng Qū | son kaon chiu |
| Qingpu District | 青浦区 | Qīngpǔ Qū | tsin phu chiu |
| Fengxian District | 奉贤区 | Fèngxián Qū | von yi chiu |
| Chongming District | 崇明区 | Chóngmíng Qū | dzon min chiu |
Although every district has its own urban core, the city hall and major administrative units are located in Huangpu District, which also serves as a commercial area, including the famous Nanjing Road. Other major commercial areas include Xintiandi and Huaihai Road in Huangpu District, and Xujiahui in Xuhui District. Many universities in Shanghai are located in residential areas in Yangpu District and Putuo District.
Seven of the districts govern Puxi (lit. "The West Bank," or "West of the River Pu"), the older part of urban Shanghai on the west bank of the Huangpu River. These seven districts are collectively referred to as Shanghai Proper (上海市区) or the core city (市中心), which comprise Huangpu, Xuhui, Changning, Jing'an, Putuo, Hongkou, and Yangpu.
Pudong (lit. "The East Bank," or "East of the River Pu"), the newer part of urban and suburban Shanghai on the east bank of the Huangpu River, is governed by Pudong New Area (浦东新区).
Seven of the districts govern suburbs, satellite towns, and rural areas farther away from the urban core: Baoshan, Minhang, Jiading, Jinshan, Songjiang, Qingpu, and Fengxian.
Chongming District comprises the islands of Changxing and Hengsha and most—but not all—of Chongming Island.
The former district of Nanhui was absorbed into Pudong District in 2009. In 2011, Luwan District merged with Huangpu District. As of 2015, these county-level divisions are further divided into the following 210 township-level divisions: 109 towns, 2 townships, and 99 subdistricts. Those are in turn divided into the following village-level divisions: 3,661 neighborhood committees and 1,704 village committees.
There is a sizable Korean community and Japanese community in Shanghai, largely in the Minhang District.

## Economy

| City | Area km$^2$ | Population (2020) | GDP (CN¥) | GDP (US$) |
| Shanghai | 6,341 | 26,875,500 | CN¥ 4,465 billion | US$663.9 billion |
| Suzhou | 8,488 | 12,748,252 | CN¥ 2,396 billion | US$356.0 billion |
| Ningbo | 9,816 | 9,618,000 | CN¥ 1,570 billion | US$233.5 billion |
| Wuxi | 4,628 | 7,462,135 | CN¥ 1,485 billion | US$221.0 billion |
| Nantong | 8,544 | 7,726,635 | CN¥ 1,138 billion | US$169.2 billion |
| Changzhou | 4,385 | 5,278,121 | CN¥ 955 billion | US$142.0 billion |
| Jiaxing | 4,009 | 5,400,868 | CN¥ 551 billion | US$73.6 billion |
| Huzhou | 5,818 | 3,367,579 | CN¥ 272 billion | US$40.7 billion |
| Zhoushan | 1,378 | 1,157,817 | CN¥ 151 billion | US$20.0 billion |
| Greater Shanghai Metropolitan Area | 53,407 | 79,634,907 | CN¥ 12.983 trillion | US$1.927 trillion |
Shanghai has been described as the "showpiece" of the booming economy of China. The city is a global center for finance and innovation, and a national center for commerce, trade, and transportation, with the world's busiest container port—the Port of Shanghai. As of 2018, the Greater Shanghai metropolitan area, which includes Suzhou, Wuxi, Nantong, Ningbo, Jiaxing, Zhoushan, and Huzhou, was estimated to produce a gross metropolitan product of nearly 9.1 trillion RMB ($1.33 trillion in nominal or $2.08 trillion in PPP), exceeding that of Mexico with GDP (nominal) of $1.22 trillion, the 15th largest in the world. As of 2020, the economy of Shanghai was estimated to be $1 trillion (PPP), ranking the most productive metro area of China and among the top ten largest metropolitan economies in the world. Shanghai's six largest industries—retail, finance, IT, real estate, machine manufacturing, and automotive manufacturing—comprise about half the city's GDP. As of 2024, Shanghai had a GDP of CN¥5.39 trillion ($757 billion in nominal) that makes up 4% of China's GDP, and a GDP per capita of CN¥216,791 (US$30,448 in nominal). In 2022, the average annual disposable income of Shanghai's residents was CN¥79,610 (US$11,836) per capita, while the average annual salary of people employed in urban units in Shanghai was CN¥212,476 (US$31,589), making it one of the wealthiest cities in China, but also the most expensive city in mainland China to live in according to a 2023 study by the Economist Intelligence Unit. Since 2018, Shanghai has been hosting the China International Import Expo (CIIE) annually, the world's first import-themed national-level expo.
In 2023, the city's imports and exports reached CN¥7.73 trillion (US$1.07 trillion), accounting for 18.5% of the national total.
According to Julius Baer's Global Wealth and Lifestyle Report, Shanghai was the most expensive city in the world for living a luxurious lifestyle in 2021. Shanghai was the 5th wealthiest city in the world, with a total wealth amounts to $1.8 trillion, and Shanghai was ranked fifth-highest in the number of billionaires by Forbes. Shanghai's nominal GDP was projected to reach US$1.3 trillion in 2035 (ranking first in China), making it one of the world's Top 5 major cities in terms of GRP according to a study by Oxford Economics. As of August 2024, Shanghai ranked 4th in the world and 2nd in China (after Beijing) by the largest number of the Fortune Global 500 companies in the world.
Economy of Shanghai since the Chinese economic reform :
| Year | 1978 | 1980 | 1983 | 1986 | 1990 | 1993 | 1996 | 2000 | 2003 | 2006 | 2010 | 2013 | 2016 | 2017 | 2018 | 2019 |
| GDP (¥T) | 0.027 | 0.031 | 0.035 | 0.049 | 0.078 | 0.152 | 0.298 | 0.481 | 0.676 | 1.072 | 1.744 | 2.226 | 2.818 | 3.063 | 3.268 | 3.816 |
| GDP per capita (¥K) | 2.85 | 2.73 | 2.95 | 3.96 | 5.91 | 11.06 | 20.81 | 30.31 | 38.88 | 55.62 | 77.28 | 92.85 | 116.58 | 126.63 | 134.83 | 157.14 |
| Average disposable income (urban) (¥K) | | 0.64 | | | 2.18 | 4.28 | 8.16 | 11.72 | 14.87 | 20.67 | 31.84 | 43.85 | 57.69 | 62.60 | 64.18 (total) | 69.44 (total) |
| Average disposable income (rural) (¥K) | | 0.40 | | | 1.67 | | 4.85 | 5.57 | 6.66 | 9.21 | 13.75 | 19.21 | 25.52 | 27.82 | 64.18 (total) | 69.44 (total) |
Shanghai was the largest and most prosperous city in East Asia during the 1930s, and its rapid redevelopment began in the 1990s. In the last two decades, Shanghai has been one of the fastest-developing cities in the world; it has recorded double-digit GDP growth in almost every year between 1992 and 2008, before the 2007–2008 financial crisis.

### Finance

Shanghai is a global financial center, ranking first in the whole of Asia & Oceania region and third globally (after New York and London) in the 28th edition of the Global Financial Centres Index, published in September 2020 by Z/Yen and China Development Institute. Shanghai is also a large hub of the Chinese and global technology industry and home to a large startup ecosystem. As of 2021, the city was ranked as the 2nd Fintech powerhouse in the world after New York City.
As of 2019, the Shanghai Stock Exchange had a market capitalization of US$4.02 trillion, making it the largest stock exchange in China and the fourth-largest stock exchange in the world. In 2009, the trading volume of six key commodities—including rubber, copper, and zinc—on the Shanghai Futures Exchange all ranked first globally. By the end of 2017, Shanghai had 1,491 financial institutions, of which 251 were foreign-invested.
In September 2013, with the backing of Chinese Premier Li Keqiang, the city launched the Shanghai Free-Trade Zone—the first free-trade zone in mainland China. The zone introduced a number of pilot reforms designed to incentivize foreign investment. In April 2014, The Banker reported that Shanghai "has attracted the highest volumes of financial sector foreign direct investment in the Asia-Pacific region in the 12 months to the end of January 2014." In August 2014, fDi magazine named Shanghai the "Chinese Province of the Future 2014/15" due to "particularly impressive performances in the Business Friendliness and Connectivity categories, as well as placing second in the Economic Potential and Human Capital and Lifestyle categories."

### Manufacturing

As one of the main industrial centers of China, Shanghai plays a key role in domestic manufacturing and heavy industry. Several industrial zones—including Shanghai Hongqiao Economic and Technological Development Zone, Jinqiao Export Economic Processing Zone, Minhang Economic and Technological Development Zone, and Shanghai Caohejing High-Tech Development Zone—are backbones of Shanghai's secondary sector. Shanghai is home to China's largest steelmaker Baosteel Group, China's largest shipbuilding base Hudong–Zhonghua Shipbuilding Group, and one of China's oldest shipbuilders, the Jiangnan Shipyard. Auto manufacturing is another important industry. The Shanghai-based SAIC Motor is one of the three largest automotive corporations in China, and has strategic partnerships with Volkswagen and General Motors. The company ranked 84 on the Fortune Global 500 list in 2023.
During the Mao era, Shanghai's economy primarily focused on light industry.$^{:1–2}$

### Tourism

Tourism is a major industry of Shanghai. In 2017, the number of domestic tourists increased by 7.5% to 318 million, while the number of overseas tourists increased by 2.2% to 8.73 million. In 2017, Shanghai was the highest earning tourist city in the world. As of 2023, Shanghai had 57 five-star hotels, 52 four star hotels, 1,942 travel agencies, 144 rated tourist attractions, and 34 red tourist attractions.
In 2023, Shanghai's tourism industry generated an added value of CN¥177.12 billion (US$24.53 billion), marking a remarkable 98.5% increase compared to the previous year. The city welcomed a total of 3.64 million tourists, a 4.8-fold growth compared to 2022. The number of foreign tourists reached 2.41 million with a 5.2-fold increase.
The conference and meeting sector is also growing. According to the International Congress and Convention Association, Shanghai hosted 82 international meetings in 2018, a 34% increase from 61 in 2017.

### Free-trade zone

Shanghai is home to China (Shanghai) Pilot Free-Trade Zone, the first free-trade zone in mainland China. As of October 2019, it is also the second largest free-trade zone in mainland China in terms of land area (behind Hainan Free Trade Zone [zh], which covers the whole Hainan province) by covering an area of 240.22 km$^2$ (92.75 sq mi) and integrating four existing bonded zones—Waigaoqiao Free Trade Zone, Waigaoqiao Free Trade Logistics Park, Yangshan Free Trade Port Area, and Pudong Airport Comprehensive Free Trade Zone. The industrial chain of port logistics has shaped the future development direction of the free-trade zone in Shanghai. Currently, two port chain centers have been approved for construction in Waigaoqiao and Yangshan. Several preferential policies have been implemented to attract foreign investment in various industries to the zone. Because the zone is not technically considered Chinese territory for tax purposes, commodities entering the zone are exempt from duty and customs clearance.

## Demographics

As of 2023, Shanghai had a total population of 24,874,500, including 14,801,700 (59.5%) hukou holders (registered locally). As of 2022, 89.3% of Shanghai's population live in urban areas, and 10.7% live in rural areas. Based on the population of its total administrative area, Shanghai is the second largest of the four municipalities of China, behind Chongqing, but is generally considered the largest Chinese city because the urban population of Chongqing is much smaller. According to the OECD, Shanghai's metropolitan area has an estimated population of 34 million.
According to the Shanghai Municipal Statistics Bureau, about 157,900 residents in Shanghai are foreigners, including 28,900 Japanese, 21,900 Americans and 20,800 Koreans. The actual number of foreign citizens in the city is probably much higher. Shanghai is also a domestic immigration city—40.3% (9.8 million) of the city's residents are from other regions of China.
Shanghai has a life expectancy of 83.18 years for the city's registered population, the highest life expectancy of all cities in mainland China. This has also caused the city to experience population aging—in 2021, 17.4% (4.3 million) of the city's registered population was aged 65 or above. In 2017, the Chinese government implemented population controls for Shanghai, resulting in a population decline of 10,000 people by the end of the year.

### Religion

Due to its cosmopolitan history, Shanghai has a blend of religious heritage; religious buildings and institutions are scattered around the city. According to a 2012 survey, only 13.1% of the city's population belongs to organized religions, including Buddhists with 10.4%, Protestants with 1.9%, Catholics with 0.7%, and other faiths with 0.1% while the remaining 86.9% of the population could be either atheists or involved in worship of nature deities and ancestors or folk religious sects.
* Chinese folk religion, or atheist (87.46%)
* Buddhism (10.3%)
* Christianity (1.88%)
* Islam (0.36%)
Buddhism, in its Chinese varieties, has had a presence in Shanghai since the Three Kingdoms period, during which the Longhua Temple—the largest temple in Shanghai—and the Jing'an Temple were founded. Another significant temple is the Jade Buddha Temple, which was named after a large statue of Buddha carved out of jade in the temple. As of 2014, Buddhism in Shanghai had 114 temples, 1,182 clergical staff, and 453,300 registered followers. The religion also has its own college, the Shanghai Buddhist College [zh], and its own press, Shanghai Buddhological Press [zh].
Catholicism was brought into Shanghai in 1608 by Italian missionary Lazzaro Cattaneo. The Apostolic Vicariate of Shanghai was erected in 1933, and was further elevated to the Diocese of Shanghai in 1946. Notable Catholic sites include the St. Ignatius Cathedral in Xujiahui—the largest Catholic church in the city, the St. Francis Xavier Church, and the She Shan Basilica. Other forms of Christianity in Shanghai include Eastern Orthodox minorities and, since 1996, registered Christian Protestant churches. The Protestant All Saints Church in Huangpu was built in 1925 and features a Neo-Romanesque tower. Shanghai has long had the highest concentration of urban Catholics in China.$^{:38}$
Although currently making up a fraction of the religious population in Shanghai, Jewish people have played an influential role in the city's history. After the Treaty of Nanking ended the First Opium War in 1842, the city was opened up to western populations and merchants traveled to Shanghai for its rich business potential, including many prominent Jewish families. The Sassoons amassed great wealth in the opium and textile trades, cementing their status by funding many of the buildings that have become iconic in Shanghai's skyline, such as the Cathay Hotel in 1929. The Hardoons were another prominent Baghdadi Jewish family that used their business success to define Shanghai in the 20th century. The head of the family, Silas Hardoon, one of the richest people in the world during the 1800s, financed Nanjing Road, which then housed departmental stores in the International Settlement, that is now one of the busiest shopping centers in the world.
During World War II, thousands of Jews emigrated to Shanghai in an effort to flee Nazi Germany. They lived in a designated area called the Shanghai Ghetto and formed a community centered on the Ohel Moishe Synagogue, which is now the Shanghai Jewish Refugees Museum. In 1939, Horace Kadoorie, the head of the powerful philanthropic Sephardic Jewish family in Shanghai, founded the Shanghai Jewish Youth Association to support Jewish refugees through English education so they would be prepared to emigrate from Shanghai when the time came.
Islam came into Shanghai during the Yuan dynasty. The city's first mosque, Songjiang Mosque, was built during the Zhizheng (至正) era under Emperor Huizong (reigned 1333 – 1368). Shanghai's Muslim population increased in the 19th and early 20th centuries (when the city was a treaty port), during which time many mosques—including the Xiaotaoyuan Mosque, the Huxi Mosque, and the Pudong Mosque—were built. The Shanghai Islamic Association is located in the Xiaotaoyuan Mosque in Huangpu. According to the sixth census of China in 2010, there are an estimated 85,000 Muslims in Shanghai, compared from 20,000 in 1949 and 7,000 in 1936.
Shanghai has several folk religious temples, including the City God Temple at the heart of the Old City, the Dajing Ge Pavilion dedicated to the Three Kingdoms general Guan Yu, the Confucian Temple of Shanghai, and a major Taoist center Shanghai White Cloud Temple [zh] where the Shanghai Taoist Association locates.

### Language

Ability to speak the following dialects/languages in Shanghai (2013) :
| Languages | Languages | % | Can Speak |
| Mandarin | Mandarin | 97.0% | 97.0% |
| Shanghainese | Shanghainese | 81.4% | 81.4% |
| English | English | 47.5% | 47.5% |
| Other Chinese | Other Chinese | 29.7% | 29.7% |
| Other foreign languages | Other foreign languages | 7.8% | 7.8% |
| Sampled among residents ≥ 13 years old. |||||
The vernacular language spoken in the city is Shanghainese, part of the Taihu Wu subgroup of the Wu Chinese language family. This is different from the national language, Mandarin, which is mutually unintelligible with Wu Chinese. Modern Shanghainese derives from the indigenous Wu spoken in the former Songjiang prefecture but has been influenced by other dialects of Taihu Wu, most notably Suzhounese, and Ningbonese
Prior to its expansion, the language spoken in Shanghai was not as prominent as those spoken around Jiaxing and later Suzhou, and was known as "the local tongue" (本地閑話), a name which is now used in suburbs only. In the late 19th century, downtown Shanghainese (市區閑話 or simply 上海閑話) appeared, undergoing rapid changes and quickly replacing Suzhounese as the prestige dialect of the Yangtze River Delta region. At the time, most of the immigration into the city came from the two adjacent provinces, Jiangsu and Zhejiang, the local dialects of which had the greatest influence on Shanghainese. After 1949, Putonghua (Standard Mandarin) has also had a great impact on Shanghainese as a result of being rigorously promoted by the government. Since the 1990s, many migrants outside of the Wu-speaking region have come to Shanghai for education and jobs. They often cannot speak the local language and therefore use Putonghua (Mandarin) as a lingua franca. Because Putonghua and English were more favored, Shanghainese began to decline, and fluency among young speakers weakened. In recent years, there have been movements within the city to promote the local language and protect it from fading out.

## Education and research

Shanghai is an international center of research and development and as of 2024, it was ranked second globally (after Beijing) by scientific research outputs, as tracked by the Nature Index. It is also a major center of higher education in China. As of 2023, Shanghai had 68 universities and colleges, ranking first in East China region as a city with most higher education institutions.
Shanghai has many highly ranked educational institutions, with 15 universities listed in 147 Double First-Class Universities ranking second nationwide among all cities in China (after Beijing). A number of China's most prestigious universities appearing in the global university rankings are based in Shanghai, including Fudan University, Shanghai Jiao Tong University, Tongji University, East China Normal University, Shanghai University, East China University of Science and Technology, Donghua University, Shanghai University of Finance and Economics, ShanghaiTech University, Shanghai International Studies University, University of Shanghai for Science and Technology, Shanghai University of Electric Power, Shanghai Normal University, Shanghai Maritime University, Second Military Medical University, Shanghai University of Traditional Chinese Medicine, Shanghai Ocean University, Shanghai University of Engineering Science, Shanghai Institute of Technology, Shanghai Conservatory of Music, and Shanghai University of Sport. Some of these universities were selected as "985 universities" or "211 universities" since the 90s by the Chinese government in order to build world-class universities.
Shanghai is a seat of two members (Fudan University and Shanghai Jiao Tong University) of the C9 League, an alliance of elite Chinese universities offering comprehensive and leading education, and these two universities are ranked consistently in the Asia top 10, and in the global top 100 research comprehensive universities according to the most influential university rankings in the world such as QS Rankings, Shanghai Rankings, Times Higher Education Rankings and U.S. News & World Report Best Global Universities Ranking. Fudan University established a joint EMBA program with Washington University in St. Louis in 2002 which has since consistently been ranked as one of the best in the world.
The other two members of the "Project 985," Tongji University and East China Normal University, are also based in Shanghai and internationally; they are regarded as one of the most reputable Chinese universities by the Times Higher Education World Reputation Rankings where they ranked 150–175th globally. The city is also home to the Shanghai University of Sport, which consistently ranks the best in China among universities specialized in sports. As of 2024, Shanghai University of Sport ranks #1 in Asia and #29 globally according to the "Global Ranking of Sport Science Schools and Departments" released by Shanghai Ranking.
The city has many Chinese–foreign joint education institutes [zh], such as the Shanghai University–University of Technology Sydney Business School since 1994, the University of Michigan–Shanghai Jiao Tong University Joint Institute since 2006, and New York University Shanghai—the first China–U.S. joint venture university—since 2012. In 2013, the Shanghai Municipality and the Chinese Academy of Sciences founded the ShanghaiTech University in the Zhangjiang Hi-Tech Park in Pudong. Shanghai is also home to the cadre school China Executive Leadership Academy in Pudong and the China Europe International Business School. The city government's education agency is the Shanghai Municipal Education Commission.
The city is also a seat of the Shanghai Academy of Social Sciences, China's oldest think tank for the humanities and social sciences. It is the largest one outside the capital of Beijing after the Chinese Academy of Social Sciences (CASS).
By the end of 2023, the city also had a total of 49 institutions for postgraduate education, 68 institutions for higher education, 900 secondary schools, 70 vocational schools, 664 primary schools, and 31 special education schools. In Shanghai, the nine years of compulsory education—including five years of primary education and four years of junior secondary education—are free, with a gross enrollment ratio of over 99.9%. The city's compulsory education system is among the best in the world: in 2009 and 2012, 15-year-old students from Shanghai ranked first in every subject (math, reading, and science) in the Program for International Student Assessment, a worldwide study of academic performance conducted by the OECD. The consecutive three-year senior secondary education is priced and uses the Senior High School Entrance Examination (Zhongkao) as a selection process, with a gross enrollment ratio of 98%. Among all senior high schools, the four with the best teaching quality—Shanghai High School, No. 2 High School Attached to East China Normal University, High School Affiliated to Fudan University, and High School Affiliated to Shanghai Jiao Tong University—are termed "The Four Schools" ("四校") of Shanghai. As of October 2019, the city's National College Entrance Examination (Gaokao) is structured under the "3+3" system, in which all general senior high school students study three compulsory subjects (Chinese, English, and math) and three subjects chosen from six options (physics, chemistry, biology, history, geography, and politics).

## Transport
### Public

Shanghai has an extensive public transportation system comprising metros, buses, ferries, and taxis, all of which can be accessed using a Shanghai Public Transport Card.
Shanghai's rapid transit system, the Shanghai Metro, incorporates both subway and light metro lines and extends to every core urban district as well as neighboring suburban districts. As of 2021, there are 19 metro lines (excluding the Shanghai maglev train and Jinshan railway), 515 stations, and 803 km (499 mi) of lines in operation, making it the longest network in the world. On 8 March 2019, it set the city's daily metro ridership record with 13.3 million. The average fare ranges from CN¥3 (US$0.48) to CN¥9 (US$1.28), depending on the travel distance.
Opened in 2004, the Shanghai maglev train is the first and the fastest commercial high-speed maglev in the world, with a maximum operation speed of 430 km/h (267 mph). The train can complete the 30-kilometer (19 mi) journey between Longyang Road station and Pudong International Airport in 7 minutes 20 seconds, comparing to 32 minutes by Metro Line 2 and 30 minutes by car. A one-way ticket costs CN¥50 (US$8), or CN¥40 (US$6.40) for those with airline tickets or public transportation cards. A round-trip ticket costs CN¥80 (US$12.80), and VIP tickets cost double the standard fare.
With the first tram line been in service in 1908, trams were once popular in Shanghai in the early 20th century. By 1925, there were 328 tramcars and 14 routes operated by Chinese, French, and British companies collaboratively, all of which were nationalized after the PRC's victory in 1949. Since the 1960s, many tram lines were either dismantled or replaced by trolleybus or motorbus lines; the last tram line was demolished in 1975. Shanghai reintroduced trams in 2010, as a modern rubber-tire Translohr system in Zhangjiang area of East Shanghai as Zhangjiang Tram. In 2018, the steel wheeled Songjiang Tram started operating in Songjiang District. Additional tram lines are under planning in Hongqiao Subdistrict and Jiading District as of 2019.
Shanghai also has the world's most extensive bus network, including the world's oldest continuously operating trolleybus system, with 1,575 lines covering a total length of 8,997 km (5,590 mi) by 2019. The system is operated by multiple companies. Bus fares generally cost CN¥2 (US$0.32). Shanghai also has three bus rapid transit systems, namely the Yan'an Road Medium Capacity Bus Transit System, Fengpu Express and Nantuan Express.
As of 2019, a total of 40,000 taxis were in operation in Shanghai. The base fare for taxis is CN¥14 (US$2.24), which covers the first 3 km (2 mi) and includes a CN¥1 (US$0.14) fuel surcharge. The base fare is CN¥18 (US$2.55) between 11:00 pm and 5:00 am. Each additional kilometer costs CN¥2.7 (US$0.45), or CN¥4.05 (US$0.67) between 11:00 pm and 5:00 am. Taxicabs and DiDi play major roles in urban transportation and DiDi is often cheaper than taxis.
As of January 2021, Shanghai Metro has 459 stations and 772 km. The scale of operation is the first in the world. in 2017, the average daily passenger traffic of the Shanghai metro was 9.693 million, and the total passenger traffic reached 3.538 billion. It is one of the busiest metro cities in the world. The metro lines cover the central city densely and connect most districts and counties.

### Roads and expressways

Shanghai is a major hub of China's expressway network. Many national expressways (prefixed with the letter G) pass through or end in Shanghai, including Jinghu Expressway (overlaps with Hurong Expressway), Shenhai Expressway, Hushaan Expressway, Huyu Expressway, Hukun Expressway (overlaps with Hangzhou Bay Ring Expressway), and Shanghai Ring Expressway. There are also numerous municipal expressways prefixed with the letter S. As of 2019, Shanghai has a total of 12 bridges and 14 tunnels crossing the Huangpu River. The Shanghai Yangtze River Bridge is the city's only bridge–tunnel complex across Yangtze River.
The expressway network within the city center consists of North–South Elevated Road, Yan'an Elevated Road, and Inner Ring Road. Other ring roads in Shanghai include Middle Ring Road, Outer Ring Expressway, and Shanghai Ring Expressway.
Bicycle lanes are common in Shanghai, separating non-motorized traffic from car traffic on most surface streets. However, on some main roads, including all expressways, bicycles and motorcycles are banned. In recent years, cycling has seen a resurgence in popularity due to the emergence of a large number of dockless app-based bicycle-sharing systems, such as Mobike, Hello, and DiDi Bike [zh] . As of December 2018, bicycle-sharing systems had an average of 1.15 million daily riders within the city.
Private car ownership in Shanghai is rapidly increasing: in 2019, there were 3.40 million private cars in the city, a 12.5% increase from 2018. New private cars cannot be driven without a license plate, which are sold in monthly license plate auctions. Around 9,500 license plates are auctioned each month, and the average price is about CN¥89,600 (US$12,739) in 2019. According to the city's vehicle regulations introduced in June 2016, only locally registered residents and those who have paid social insurance or individual income taxes for over three years are eligible to be in the auction. The purpose of this policy is to limit the growth of automobile traffic and alleviate congestion. Public transport, biking infrastructure, walkability, generally permits to live in the city without a car.
License plates for fully electric cars or plug-in hybrid vehicles are free.$^{:168}$

### Railways

Shanghai has four major railway stations: Shanghai railway station, Shanghai South railway station, Shanghai West railway station, and Shanghai Hongqiao railway station. All are connected to the metro network and serve as hubs in the railway network of China. And now Shanghai has around twenty railway lines running under this city, which largely facilitate people's life in Shanghai.
Built in 1876, the Woosung railway was the first railway in Shanghai and the first railway in operation in China By 1909, Shanghai–Nanjing railway and Shanghai–Hangzhou railway were in service. As of October 2019, the two railways have been integrated into two main railways in China: Beijing–Shanghai railway and Shanghai–Kunming railway, respectively.
Shanghai has four high-speed railways (HSRs): Beijing–Shanghai HSR (overlaps with Shanghai–Wuhan–Chengdu passenger railway), Shanghai–Nanjing intercity railway, Shanghai–Kunming HSR, and Shanghai–Nantong railway. One HSR is under construction: Shanghai–Suzhou–Huzhou HSR.
Shanghai also has four commuter railways: Pudong railway (passenger service is currently suspended) and Jinshan railway operated by China Railway, and Line 16 and Line 17 operated by Shanghai Metro. As of January 2022, four additional lines—Chongming line, Jiamin line, Airport link line and Lianggang Express line—are under construction.

### Air and sea

Shanghai is one of the largest air transportation hubs in Asia. The city has two commercial airports: Shanghai Pudong International Airport and Shanghai Hongqiao International Airport. Pudong International Airport is the primary international airport, while Hongqiao International Airport mainly operates domestic flights with limited short-haul international flights. In 2018, Pudong International Airport served 74.0 million passengers and handled 3.8 million tons of cargo, making it the ninth-busiest airport by passenger volume and third-busiest airport by cargo volume. The same year, Hongqiao International Airport served 43.6 million passengers, making it the 19th-busiest airport by passenger volume.
Since its opening, the Port of Shanghai has rapidly grown to become the largest port in China. Yangshan Port was built in 2005 because the river was unsuitable for docking large container ships. The port is connected with the mainland through the 32-kilometer (20 mi) long Donghai Bridge. Although the port is run by the Shanghai International Port Group under the government of Shanghai, it administratively belongs to Shengsi County, Zhejiang.
Overtaking the Port of Singapore in 2010, the Port of Shanghai has become world's busiest container port with an annual TEU transportation of 42 million in 2018. Besides cargo, the Port of Shanghai handled 259 cruises and 1.89 million passengers in 2019.
Shanghai is part of the 21st Century Maritime Silk Road that runs from the Chinese coast to the south via the southern tip of India to Mombasa, from there to the Mediterranean, there to the Upper Adriatic region to the northern Italian hub of Trieste with its rail connections to Central and the Eastern Europe.

## Society

Urban Plan and infrastructure
After the opening of the port, Shanghai carried out a large number of municipal constructions by the Public Concession Municipal Council, including power plants and water plants. The "Greater Shanghai Plan" formulated in 1927 was the earliest urban master plan for Shanghai. Now, Shanghai's urban planning is carried out in accordance with the "Shanghai Urban Master Plan" (1999–2020) approved by the State Council in May 2001, with the construction of an international economic, financial, trade and shipping center as the core. In the Shanghai Urban Planning Exhibition Hall, you can see the corresponding urban planning model within the scope of more than 100 square kilometers of the inner ring road made at a scale of 1:500.
Yangshupu Water Plant
In the decades after 1949, municipal construction remained at the stage of building new workers' housing and replacing electricity and water pipes. Since the 1990s, Shanghai has started large-scale municipal construction, widely promoting flat-to-slope projects (converting the flat roofs of old houses into sloped roofs) and roof water tank renovation projects. Illegal buildings and dirty roads are also rectified every year. Taking the opportunity of hosting the 2010 Shanghai World Expo, the Shanghai municipal government has carried out large-scale renovations on the city landscape, roads, and residential buildings. Shanghai has a large area of shantytowns in history. In the 1990s, 3.65 million square meters of dilapidated shanties were renovated, but the shantytowns in Caojia Village and Guangfu Road have never been started due to cost issues. The urban village landscape, which is in sharp contrast with the surrounding high-rise buildings, remains to this day.
Before Shanghai opened its port, all gardens were private gardens, the most famous of which were Yuyuan, Luxiang Garden, Guyi Garden, Qiuxia Garden, Zuibaichi, etc. After the opening of the port, public gardens began to appear, and the public garden born in 1868 was the first park. But before 1928, Chinese people were not allowed to enter the parks built by the Municipal Council and the Municipal Council. At present, except for individual parks such as Shanghai Zoo and Shanghai Wild Animal Park, park tickets have been cancelled in Shanghai. Since 2000, in order to purify the city's air and beautify the environment, Shanghai has begun to build a number of open green spaces in the city center and suburbs. By 2008, the total green area of Shanghai was 34,256 hectares, the public green area was 14,777 hectares, and the urban green coverage rate was 38%. The total forest area of the city reached nearly 100,000 hectares, and the forest coverage rate was 11.6%.
In order to solve the huge demand for funds for large-scale municipal construction since the 1990s, some officials of the Shanghai Municipal Government led a major reform of Shanghai's investment and financing system, first using the land resources in the hands of the government and introducing the financing method of land lease. During this period, Shanghai raised more than 100 billion yuan through land lease. In 1997, affected by the Asian financial crisis, Shanghai's land lease was greatly reduced, but the scale of the domestic securities market expanded rapidly, residents' savings deposits continued to grow, and social surplus funds increased. Faced with this situation, the Shanghai Municipal Government formulated policies to push profitable infrastructure projects to the market and implement social financing, and at the same time formulated a number of measures to reduce the risk of enterprises participating in financing. In the 1990s, Shanghai raised more than 200 billion yuan through social channels. At the same time, Shanghai actively draws on international experience, and through further improving development mechanisms; expanding the participation of capital markets and social insurance funds in financing; exploring the use of internationally accepted financing methods such as BOT and BOO; and increasing public financial support, further expanding the scope and capacity of financing to meet the needs of municipal construction.

## Culture

The culture of Shanghai was formed by a combination of the nearby Wuyue culture and the "East Meets West" Haipai culture. Wuyue culture's influence is manifested in Shanghainese language—which comprises dialectal elements from nearby Jiaxing, Suzhou, and Ningbo—and Shanghai cuisine, which was influenced by Jiangsu cuisine and Zhejiang cuisine. Haipai culture emerged after Shanghai became a prosperous port in the early 20th century, with numerous foreigners from Europe, America, Japan, and India moving into the city. The culture fuses elements of Western cultures with the local Wuyue culture, and its influence extends to the city's literature, fashion, architecture, music, and cuisine. The term Haipai—originally referring to a painting school in Shanghai—was coined by a group of Beijing writers in 1920 to criticize some Shanghai scholars for admiring capitalism and Western culture. In the early 21st century, Shanghai has been recognized as a new influence and inspiration for cyberpunk culture.

### Museums

Cultural curation in Shanghai has seen significant growth since 2013, with several new museums having been opened in the city. This is in part due to the city's 2018 development plans, which aim to make Shanghai "an excellent global city." As such, Shanghai has several museums of regional and national importance. The Shanghai Museum has one of the largest collections of Chinese artifacts in the world, including a large collection of ancient Chinese bronzes and ceramics. The China Art Museum, located in the former China pavilion at Expo 2010, is one of the largest museums in Asia and displays an animated replica of the 12th century painting Along the River During the Qingming Festival. The Shanghai Natural History Museum and the Shanghai Science and Technology Museum are notable natural history and science museums. In addition, there are numerous smaller, specialist museums housed in important archeological and historical sites, such as the Songze Museum, the Site of the First National Congress of the Chinese Communist Party, the site of the former Provisional Government of the Republic of Korea, the Shanghai Jewish Refugees Museum, and the Shanghai Post Office Museum (located in the General Post Office Building).

### Cuisine

Benbang cuisine (本帮菜) is cooking style that originated in the 1600s, with influences from surrounding provinces. It emphasizes the use of condiments while retaining the original flavors of the raw ingredients. Sugar is an important ingredient in Benbang cuisine, especially when used in combination with soy sauce. Signature dishes of Benbang cuisine include Xiaolongbao, Red braised pork belly, and Shanghai hairy crab. Haipai cuisine, on the other hand, is a Western-influenced cooking style that originated in Shanghai. It absorbed elements from French, British, Russian, German, and Italian cuisines and adapted them to suit the local taste according to the features of local ingredients. Famous dishes of Haipai cuisine include Shanghai-style borscht (罗宋汤, "Russian soup"), crispy pork cutlets, and Shanghai salad derived from Olivier salad. Both Benbang and Haipai cuisine make use of a variety of seafood, including freshwater fish, shrimps, and crabs.
* Nanxiang xiaolongbao（南翔小笼包）: Xiaolongbao refers to Chinese soup dumplings. Nanxiang xiaolongbao is a traditional specialty of Nanxiang town in Jiading district, renowned for its thin skin, tender meat, abundant soup, and fresh flavor. The dumplings are usually served piping hot in xiaolong, or bamboo baskets. The craft of making xiaolongbao was designated as a municipal intangible cultural heritage in April 2007.
* Shanghai shengjian （上海生煎） : Shanghai shengjian, or Shanghai pan-fried buns, a renowned Shanghai delicacy, involves pan-frying the buns without prior steaming. The filling consists of savory pork and green onions, creating a soupy texture. After frying, water is added to the pan before covering it. The buns are then cooked for approximately 8–10 minutes until the bottoms turn golden brown and crispy.
* Congyou banmian（葱油拌面）: Congyou banmian, or scallion oil noodles, is a popular noodle dish in Shanghai and can be found in many local restaurants and food stalls. The scallion oil is made by crisping and browning chopped scallions in hot oil. The dish is then coated in scallion oil, soy sauce, and spices, offering a blend of savory, sweet, and mildly spicy flavors.
* Paigu niangao（排骨年糕）: Paigu niangao, or stir-fried pork ribs and rice cakes, is a traditional dish in Shanghai. This dish uses fresh pork ribs paired with small and thin rice cakes, which are cooked through oil blanching and simmering. The pork ribs have a golden color, a crispy surface, and tender meat while the rice cakes are soft and chewy.
* Shuijing xiaren（水晶虾仁）: Shuijing xiaren, or crystal shrimp, is a favorite among Shanghai locals. This dish features shrimp and eggs, with no additional ingredients to distract from its simplicity. The shrimp is cooked until just translucent, earning its "crystal" name. Well-prepared crystal shrimp is tender yet crispy, with a robust shrimp flavor and a reddish hue tinged with milky white.

### Arts

The Songjiang School (淞江派), containing the Huating School (华亭派) founded by Gu Zhengyi, was a small painting school in Shanghai during the Ming and Qing Dynasties. It was represented by Dong Qichang. The school was considered an expansion of the Wu School in Suzhou, the cultural center of the Jiangnan region at the time. In the mid 19th century, the Shanghai School movement commenced, focusing less on the symbolism emphasized by the Literati style but more on the visual content of painting through the use of bright colors. Secular objects like flowers and birds were often selected as themes. Western art was introduced to Shanghai in 1847 by Spanish missionary Joannes Ferrer (范廷佐), and the city's first Western atelier was established in 1864 inside the Tushanwan orphanage (土山湾孤儿院). During the Republic of China, many famous artists including Zhang Daqian, Liu Haisu, Xu Beihong, Feng Zikai, and Yan Wenliang settled in Shanghai, allowing it to gradually become the art center of China. Various art forms—including photography, wood carving, sculpture, comics (Manhua), and Lianhuanhua—thrived. Sanmao was created to dramatize the chaos created by the Second Sino-Japanese War. Today, the most comprehensive art and cultural facility in Shanghai is the China Art Museum. In addition, the Chinese Painting Academy features traditional Chinese painting, while the Power Station of Art displays contemporary art. The city also has many art galleries, many of which are located in the M50 Art District and Tianzifang. First held in 1996, the Shanghai Biennale has become an important place for Chinese and foreign arts to interact.
Traditional Chinese opera (Xiqu) became a popular source of public entertainment in the late 19th century. In the early 20th century, monologue and burlesque in Shanghainese appeared, absorbing elements from traditional dramas. The Great World opened in 1912 and was a significant stage at the time. In the 1920s, Pingtan expanded from Suzhou to Shanghai. Pingtan art developed rapidly to 103 programs every day by the 1930s because of the abundant commercial radio stations in the city. Around the same time, a Shanghai-style Beijing Opera was formed. Led by Zhou Xinfang and Gai Jiaotian [zh], it attracted many Xiqu masters, like Mei Lanfang, to the city. A small troupe from Shengxian (now Shengzhou) also began to promote Yue opera on the Shanghainese stage. A unique style of opera, Shanghai opera, was formed when local folksongs were fused with modern operas. As of 2012, prominent troupes in Shanghai include Shanghai Jingju Theatre Company, Shanghai Kunqu Opera Troupe [zh], Shanghai Yue Opera House, and Shanghai Huju Opera House.
Drama appeared in missionary schools in Shanghai in the late 19th century. At the time, it was mainly performed in English. Scandals in Officialdom (官场丑史), staged in 1899, was one of the earliest-recorded plays. In 1907, Uncle Tom's Cabin; or, Life Among the Lowly (黑奴吁天录) was performed at the Lyceum Theatre [zh]. After the New Culture Movement, drama became a popular way for students and intellectuals to express their views. The city has several major institutes of theater training, including the Shanghai Conservatory of Music, the Shanghai Dramatic Arts Centre, the Shanghai Opera House, and the Shanghai Theatre Academy. Notable theaters in Shanghai include the Shanghai Grand Theatre, the Oriental Art Center, and the People's Theatre.
Shanghai is considered to be the birthplace of Chinese cinema. China's first short film, The Difficult Couple (1913), and the country's first fictional feature film, An Orphan Rescues His Grandfather (孤儿救祖记, 1923) were both produced in Shanghai. Shanghai's film industry grew during the early 1930s, generating stars such as Hu Die, Ruan Lingyu, Zhou Xuan, Jin Yan, and Zhao Dan. Another film star, Jiang Qing, went on to become Madame Mao Zedong. The exile of Shanghainese filmmakers and actors as a result of the Second Sino-Japanese War and the Communist revolution contributed enormously to the development of the Hong Kong film industry. The movie In the Mood for Love directed by Wong Kar-wai, a Shanghai native, depicts a slice of the displaced Shanghainese community in Hong Kong and the nostalgia for that era, featuring 1940s music by Zhou Xuan.
Shanghai's cultural festivals include Shanghai International Television Festival, Shanghai International Film Festival, Shanghai International Art Festival, Shanghai International Tourism Festival, Shanghai Spring International Music Festival, etc. Shanghai TV Festival is the earliest international TV festival founded in China. It was founded in 1986. The Shanghai International Film Festival was founded in 1993 and is one of the nine major international film festivals in the A category. The highest award is the "Golden Goblet Award"

### Fashion

Since 2001, Shanghai has held its own fashion week called Shanghai Fashion Week twice every year in April and October. The main venue is in Fuxing Park, and the opening and closing ceremonies are held in the Shanghai Fashion Center. The April session is also part of the one-month Shanghai International Fashion Culture Festival. Shanghai Fashion Week is considered to be an event of national significance featuring both international and Chinese designers. The international presence has included many promising young British fashion designers. The event is hosted by the Shanghai Municipal Government and supported by the People's Republic Ministry of Commerce.

## Sports

Shanghai is home to several football teams, including two in the Chinese Super League: Shanghai Shenhua and Shanghai Port. Shanghai's top-tier basketball team, the Shanghai Sharks of the Chinese Basketball Association, developed Yao Ming before he entered the NBA. Shanghai's baseball team, the Shanghai Golden Eagles, plays in the China Baseball League.
The Shanghai Cricket Club dates back to 1858 when the first recorded cricket match was played between a team of British Naval officers and a Shanghai 11. Following a 45-year dormancy after the founding of the PRC in 1949, the club was re-established in 1994 by expatriates living in the city and has since grown to over 300 members. The Shanghai cricket team played various international matches between 1866 and 1948. With cricket in the rest of China almost non-existent, for that period they were the de facto China national cricket team.
Shanghai is home to many prominent Chinese professional athletes, such as basketball player Yao Ming, 110 metres hurdles Liu Xiang, table tennis player Wang Liqin, and badminton player Wang Yihan.
In 2023, athletes from Shanghai collectively won 19 gold medals at world championships and 38 gold medals at the highest-level national competitions.
Shanghai is the host of several international sports events. Since 2004, it has hosted the Chinese Grand Prix, a round of the Formula One World Championship. The race is staged annually at the Shanghai International Circuit. It hosted the 1000th Formula One race on 14 April 2019. In 2010, Shanghai became the host city of Deutsche Tourenwagen Masters, which raced in a street circuit in Pudong. In 2012, Shanghai began hosting 4 Hours of Shanghai as one round from the inaugural season of the FIA World Endurance Championship. The city also hosts the Shanghai Masters tennis tournament, which is part of ATP World Tour Masters 1000, as well as golf tournaments including the BMW Masters and WGC-HSBC Champions.
On 21 September 2017, Shanghai hosted a National Hockey League (NHL) ice hockey exhibition game in an effort to increase fan interest for the 2017–18 NHL season.
Shanghai is solidifying its status as a global hub for premier professional sports events. In 2023, Shanghai hosted a total of 118 sports events, with 190,000 participants and 1.29 million spectators, driving a consumption of CN¥3.713 billion (US$510.83 million).
In 2024, the city is set to host nearly 175 domestic and international tournaments. Notable events on the calendar include the Olympic Qualifier Series, the Formula 1 Chinese Grand Prix, the 2024 FIA Formula E World Championship (Shanghai), the 2024 Archery World Cup, the WDSF Grand Slam Final, and the ISU Four Continents Figure Skating Championships 2024, among others.

## Environment
### Parks and resorts

Shanghai has an extensive public park system; by 2022, the city had 670 parks, of which 281 had free admission, and the per capita park area was 9 m$^2$ (97 sq ft). Some of the parks also have become popular tourist attractions due to their unique location, history, or architecture.
The People's Square park, located in the heart of downtown Shanghai, is especially well known for its proximity to other major landmarks in the city. Fuxing Park, located in the former French Concession, features formal French-style gardens and is surrounded by high-end bars and cafes.
Zhongshan Park, in western central Shanghai, is famous for its monument of Chopin, the tallest statue dedicated to the composer in the world. Built in 1914 as Jessfield Park, it once contained the campus of St. John's University, Shanghai's first international college; today, the park features sakura and peony gardens and a 150-year-old platanus, and it also serves as an interchange hub in the metro system.
One of Shanghai's newer parks is the Xujiahui Park, which was built in 1999, on the former grounds of the Great Chinese Rubber Works Factory and the EMI Recording Studio (now La Villa Rouge restaurant). The park has an artificial lake with a sky bridge running across the park. Shanghai Botanical Garden is located 12 km (7 mi) southwest of the city center and was established in 1978. In 2011, the largest botanical garden in Shanghai—Shanghai Chen Shan Botanical Garden—opened in Songjiang District.
Other notable parks in Shanghai include Lu Xun Park, Century Park, Gucun Park, Gongqing Forest Park, and Jing'an Park.
The Shanghai Disney Resort Project was approved by the government on 4 November 2009 and opened in 2016. The $4.4 billion theme park and resort in Pudong features a castle that is the biggest among Disney's resorts. More than 11 million people visited the resort in its first year of operation.

### Air pollution

Air pollution in Shanghai is not as severe as in many other Chinese cities, but is still considered substantial by world standards. During the December 2013 Eastern China smog, air pollution rates reached between 23 and 31 times the international standard. On 6 December 2013, levels of PM$_{2.5}$ particulate matter in Shanghai rose above 600 micrograms per cubic meter and in the surrounding area, above 700 micrograms per cubic meter. Levels of PM$_{2.5}$ in Putuo District reached 726 micrograms per cubic meter. As a result, the Shanghai Municipal Education Commission received orders to suspend students' outdoor activities. Authorities pulled nearly one-third of government vehicles from the roads, while much construction work was halted. Most inbound flights were canceled, and more than 50 flights at Pudong International Airport were diverted.
On 23 January 2014, Yang Xiong, the mayor of Shanghai, announced that three main measures would be taken to manage the air pollution in Shanghai, along with surrounding Anhui, Jiangsu, and Zhejiang provinces. The measures involved implementing the 2013 air-cleaning program, establishing a linkage mechanism with the three surrounding provinces, and improving the city's early-warning systems. On 12 February 2014, China's cabinet announced that a CN¥10 billion (US$1.7 billion) fund will be set up to help companies meet the new environmental standards. The effect of the policy was significant. From 2013 to 2018, more than 3,000 treatment facilities for industrial waste gases were installed, and the city's annual smoke, nitrogen oxide, and sulfur dioxide emission decreased by 65%, 54%, and 95%, respectively.
In 2023, the Air Quality Index (AQI) of Shanghai reached a rate of 87.7%, a 0.6% increase compared to the previous year. The annual average concentration of inhalable particulate matter (PM10) was 48 microgrammes per cubic meter, while the annual average concentration of fine particulate matter was 28 microgrammes per cubic meter.

### Environmental protection

Public awareness of the environment is growing, and the city is investing in a number of environmental protection projects. A 16-year rehabilitation of Suzhou Creek, which runs through the city, was finished in 2012, clearing the creek of barges and factories and removing 1.3 million cubic meters of sludge. Additionally, the government has moved almost all the factories within the city center to either the outskirts or other provinces, and provided incentives for transportation companies to invest in LPG buses and taxis.
On 1 July 2019, Shanghai adopted a new garbage-classification system that sorts out waste into residual waste, kitchen waste, recyclable waste, and hazardous waste. The wastes are collected by separate vehicles and sent to incineration plants, landfills, recycling centers, and hazardous-waste-disposal facilities, respectively.

## Media

Media in Shanghai [zh] covers newspapers, publisher, broadcast, television, and Internet, with some media having influence over the country. In regard to foreign publications in Shanghai, Hartmut Walravens of the IFLA Newspapers Section said that when the Japanese controlled Shanghai in the 1940s "it was very difficult to publish good papers – one either had to concentrate on emigration problems, or cooperate like the Chronicle."
As of March 2020, newspapers publishing in Shanghai include:
* Jiefang Daily
* Oriental Sports Daily
* Shanghai Review of Books
* Shanghai Daily
* Shanghai Star
* Xinmin Evening News
* Wen Hui Bao
* Wenhui Book Review
Newspapers formerly published in Shanghai include:
* Der Ostasiatische Lloyd
* Deutsche Shanghai Zeitung
* Gelbe Post
* North China Daily News
* Shanghai Evening Post & Mercury
* The Shanghai Gazette
* Shanghai Jewish Chronicle
* Shanghai Herald
* The Shanghai Mercury
* The Shanghai Post
* Shanghai Times [zh]
* Shen Bao
* Israel's Messenger
The city's main broadcaster is Shanghai Media Group.

## International relations

The city is the seat of the New Development Bank, a multilateral development bank established by the BRICS states.

### Twin towns – sister cities

Shanghai is twinned with 68 cities from the following 57 countries:
* Yokohama, Japan (1973)
* Osaka, Japan (1974)
* Milan, Italy (1979)
* Rotterdam, Netherlands (1979)
* San Francisco, United States (1979)
* Zagreb, Croatia (1980)
* Osaka Prefecture, Japan (1980)
* Hamhung, North Korea (1982)
* Metro Manila, Philippines (1983)
* Karachi, Pakistan (1984)
* Antwerp, Belgium (1984)
* Montreal, Canada (1985)
* Piraeus, Greece (1985)
* Pomeranian Voivodeship, Poland (1985)
* Chicago, United States (1985)
* Hamburg, Germany (1986)
* Casablanca, Morocco (1986)
* Marseille, France (1987)
* São Paulo, Brazil (1988)
* Saint Petersburg, Russia (1988)
* Queensland, Australia (1989)
* Istanbul, Turkey (1989)
* Alexandria, Egypt (1992)
* Haifa, Israel (1993)
* Busan, South Korea (1993)
* Ho Chi Minh City, Vietnam (1994)
* Port Vila, Vanuatu (1994)
* Dunedin, New Zealand (1994)
* Tashkent, Uzbekistan (1994)
* Porto, Portugal (1995)
* Aden, Yemen (1995)
* Windhoek, Namibia (1995)
* Santiago de Cuba, Cuba (1996)
* Rosario, Argentina (1997)
* Espoo, Finland (1998)
* Jalisco, Mexico (1998)
* Liverpool, United Kingdom (1999)
* Maputo, Mozambique (1999)
* Chiang Mai, Thailand (2000)
* Dubai, United Arab Emirates (2000)
* KwaZulu-Natal, South Africa (2001)
* Guayaquil, Ecuador (2001)
* Valparaíso, Chile (2001)
* Barcelona, Spain (2001)
* Oslo, Norway (2001)
* Constanța, Romania (2002)
* Colombo, Sri Lanka (2003)
* Bratislava Region, Slovakia (2003)
* Central Denmark Region, Denmark (2003)
* Cork, Ireland (2005)
* East Java, Indonesia (2006)
* Basel-Stadt, Switzerland (2007)
* Phnom Penh, Cambodia (2008)
* Auvergne-Rhône-Alpes, France (2008)
* London, United Kingdom (2009)
* Salzburg, Austria (2009)
* Montreal, Canada (2011)
* Budapest, Hungary (2013)
* Mumbai, India (2014)
* Houston, United States (2015)
* Bangkok, Thailand (2016)
* Sofia, Bulgaria (2016)
* Belgrade, Serbia (2018)
* Lima, Peru (2018)
* Minsk, Belarus (2019)
* Tabriz, Iran (2019)
* Jakarta, Indonesia (2020)
* Melbourne, Australia

### Consulates and consulates general

As of September 2020, Shanghai hosts 71 consulates general and 5 consulates, excluding Hong Kong and Macao trade office.
| Argentina  Australia  Austria  Belarus  Belgium  Brazil  Bulgaria  Cambodia  Canada  Chile  Colombia  Costa Rica  Cuba  Czech Republic  Denmark  Ecuador  Egypt  Ethiopia  Fiji | Finland  France  Germany  Greece  Hungary  India  Indonesia  Iran  Ireland  Israel  Italy  Japan  Kazakhstan  Laos  Luxembourg  Malaysia  Maldives (Consulate)  Malta  Mexico | Monaco (Consulate)  Mongolia  Nepal (Consulate)  Netherlands  New Zealand  Nigeria  Norway  Pakistan  Panama  Papua New Guinea (Consulate)  Peru  Philippines  Poland  Portugal  Romania  Russia  Serbia  Seychelles  Singapore | Slovakia  Slovenia (Consulate)  South Africa  South Korea  Spain  Sri Lanka  Sweden  Switzerland  Thailand  Turkey  Ukraine  United Arab Emirates  United Kingdom  United States  Uruguay  Uzbekistan  Vanuatu  Venezuela  Vietnam |