The COVID-19 pandemic in Shanghai is a part of the worldwide pandemic of coronavirus disease 2019 (COVID-19) caused by severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). The disease was first confirmed in Shanghai on 20 January 2020. , 65,641 confirmed cases cumulatively occurred in the city, of which 3,045 cases were imported from abroad. Of the 96 active hospitalized cases ending at midnight, 94 were in stable condition and 1 was in critical condition; 61,600 had cumulatively recovered and been discharged, and 595 died.

Related measures On 24 January, Shanghai announced the initiation of Level 1 Response for major public health emergency.

Lockdown and city restrictions

On 21 January, Shanghai announces the suspension of local live poultry trading.

On 25 January, Shanghai announced a 14-day quarantine and medical observation for arrivals from key areas of Hubei.

United Daily News reported that on 22 January, a customer in Shanghai waited in line at a pharmacy for nearly an hour to limit the purchase of a pack of masks, which were sold out in 30 minutes. On 31 January, Shanghai Municipal Government announced that from February 2, citizens can make registration appointments at designated places in each residence (village), and then purchase face masks at designated drugstores. 5 masks can be purchased per household, limited to one purchase by appointment only. From 31 January, all persons entering Shanghai are required to complete a health registration.

As of 10 February, most of the 13,000 residential quarters in Shanghai had implemented "closed management" and adopted entrance and exit management measures, including: strictly controlling the number of entrances and exits in the neighbourhood, strengthening the staffing of gatekeepers, and achieving staffing Entering must ask, register, and measure temperature. If the body temperature is abnormal, it will be reported and transferred in time according to the established "full chain disposal mechanism"

From 10 February, authorities have decided to temporarily suspend the entry of persons who have no place of residence in Shanghai and do not have a clear job during the epidemic prevention and control period. On 17 February, the "On-Demand Code" (随申办, suíshēnbàn), developed on the basis of "On-Demand Application" (mobile terminal run by Shanghai One Netcom), was officially launched online, with a three-colour dynamic management scheme of green, yellow and red. The scope of the pilot application included multiple scenarios such as offline parks, streets and towns.

On 3 March, Shanghai allowed logistics personnel, service personnel, maintenance personnel of public utilities, and courier personnel to enter communities if they showed a green "On-Demand Code", normal body temperature measurement, registration, and received residents' consent. From 4 March, Shanghai announced that all passengers who had traveled or lived in Korea, Italy, Iran, Japan and other countries within 14 days before entering Shanghai will implement home or centralized health surveillance for 14 days. From 13 March, the policy was expanded to eight countries: South Korea, Italy, Iran, Japan, France, Spain, Germany, and the United States.

Shanghai authorities announced a city-wide lockdown split in two stages for mass testing on 27 March 2022, after the city reached its highest recorded daily new cases due to the Omicron variant. Starting on 28 March, residents living east of the Huangpu River would go into lockdown for four days, and the other half for the remaining four.

Suspensions of cultural, sport, and educational activities On 22 January, Shanghai Municipal Culture and Tourism Bureau announced the postponement of the "2020 Wei Tour Shanghai" event, per the Emergency Notice on Prevention and Control of Pneumonia Epidemic of New Coronavirus Infection issued by Shanghai Municipal Culture and Tourism Bureau.

On 23 January, Shanghai announced that all training institutions and daycare institutions would temporarily suspend offline services until 29 February. The Shanghai Museum announced that the total number of daily visits would be reduced by 40%, and the temperature of all visitors would be measured, and then subsequently announced its closure during the Spring Festival from 24 January to 8 February. Shanghai Science and Technology Museum, Shanghai Museum of Natural Science (Shanghai Science and Technology Museum Branch), and Shanghai Disneyland were also temporarily closed from 25 January 2020. Shanghai Grand Theatre cancelled all performances and public cultural events from 24 January to 9 February.

On 26 January, the Shanghai Education Commission issued a notice stating that all types of primary and secondary schools, nursery schools, and kindergartens cannot start school before 17 February, canceling school holidays and childcare classes; all day-care facilities were postponed until the end of February. Shanghai Municipal Government stipulates that various enterprises in the Shanghai area should resume work no earlier than 24:00 on 9 February; later, due to the development of the epidemic, it was changed to that schools of all levels and classes will not open before the end of February. All training institutions and day care institutions would temporarily suspend offline services before the end of February. Later it was decided that starting in March, Shanghai universities, primary and secondary schools will launch online education, and students would not go to school.

On 28 January, a 2020 AFC Champions League playoff was held at Yuanshen Sports Center Stadium to an empty stadium, between Shanghai SIPG and Buriram United.

At the press conference on 31 January, Zhang Qi, deputy director of the Shanghai Municipal Culture and Tourism Bureau, said that after the epidemic, more than 4,200 venues such as museums, art galleries, libraries, cultural centres, tourism service consulting centres, and song and dance entertainment venues in Shanghai Facilities, 113 A-level tourist attractions, and non-A-level tourist attractions such as Shanghai Disneyland and Haichang Ocean Park were temporarily closed. 104 business performances and more than 2,700 public cultural events are suspended. Travel agencies have suspended team travel and "ticket + hotel" travel products. Cruises to and from Shanghai were cancelled from 30 January.

On 7 February, the Shanghai Municipal Bureau of Culture and Tourism issued the "Notice on temporarily retiring some of the tourism service quality deposits and supporting travel agencies to cope with operational difficulties". Travel agencies that meet the requirements can temporarily refund 80% of the tourism service quality deposits. On 12 February, Formula One announced that its F1 Chinese Grand Prix held in Shanghai was delayed, then later cancelled on August 25 after the rescheduled calendar involving Middle East races.

From 9 March, some shopping and dining shops and some leisure experiences of Disney Town, Xingyuan Park and Shanghai Disneyland Hotel resumed operation. Additionally, 8 A-level tourist attractions in Shanghai reopened. As of 12 March, 22 tourist attractions in Shanghai had reopened.

Travel restrictions On 22 January, Shanghai started temperature measurement inspections of person arriving from Wuhan at all stations and airports. On the same day, Shanghai suspended long-distance passenger transportation and inter-provincial charter buses to Wuhan. On 23 January, authorities jointly strengthened the inspection of highway toll stations and ground crossing checkpoints entering the city's borders, but only for vehicles and personnel from key areas.

The Pujiang tour was suspended from 24 January, and all cruises were cancelled. On 26 January, to prevent the spread of the epidemic, the section of Shanghai Metro Line 11 entering Kunshan City (Huaqiao Station to Anting Station) were suspended from 1 pm on that day. Starting from the same day, all shuttle buses and inter-provincial charter buses dispatched and arrived at Shanghai Inter-provincial Bus Terminal were suspended.

On 27 January, Shanghai Public Security Bureau stated that starting 14:00 on the same day, pneumococcal epidemic prevention and control of the novel coronavirus would be started at provincial public security checkpoints on highways entering Shanghai, following the work requirement of "checking every vehicle". In addition, all bus lines operating across provinces in Shanghai were adjusted to be suspended or not operating across provinces (line reduction to within Shanghai).

From 3 February, Shanghai Metro instituted temperature measurements at security checkpoints at Shanghai railway station, Pudong International Airport station, Shanghai South railway station, Hongqiao railway station, Hongqiao Terminal 2 station, and Hongqiao Terminal 1 station. On 6 February, another 51 stations were added to implement passenger "temperature measured" station entrance.

From 5 February, masks must be worn to enter Shanghai Metro. From 8 February, Shanghai's novel coronavirus infection pneumonia epidemic prevention and control headquarters required people entering public places such as airports, railway stations, coach stations, rail transit stations, medical and health institutions, shopping malls, and supermarkets to wear masks and cooperate with temperature tests.

On 14 February, the Jiading District of Shanghai and Kunshan City, Jiangsu signed the Memorandum of Joint Prevention and Control of Jiading and Kunming, which explicitly stated that the Jiading and Kunshan crossings mutually recognised the "Work Commute Certificate" issued by both parties, and the "Temporary Pass" issued for the communities of Jiading Anting and Kunshan Huaqiao, for people working and living across regions to pass. Those who have received the above documents will take their temperature and present their ID cards or valid IDs, as well as the "Temporary Pass" of Jiading Anting and Kunshan Huaqiao Residential Quarters, can enter and exit the two places through the dedicated channel during the morning and evening peak hours, without repeating reporting personal information. On 16 February, Jinshan District signed a similar agreement with Pinghu City and Jiashan County in Zhejiang, adopting a convenient transportation policy for those who work and live in the three places.

On 17 February, the Shanghai Municipal Transportation Commission issued the Shanghai "Yangtze River Delta Outbreak Prevention and Control Integrated Transport Vehicle Pass". Licensed freight vehicles can travel easily in the Yangtze River Delta region; after returning to Shanghai, licensed freight practitioners do not need to be quarantined again for 14 days. On 17 February, Shanghai announced that masks must be worn to take public transport and taxis.

From 20 February, Shanghai enterprises can apply to the Shanghai Road Transport Administration to organise for employees to return to Shanghai by means of inter-provincial charter buses. From 22 February, the end of the Shanghai Metro Lines 2, 5, 7, 8, and 16 operations were advanced to 21:00. From 23 February, multiple traffic crossings at the junctions of Shanghai with Jiangsu and Zhejiang resumed traffic. On 25 February, Shanghai announced the gradual roll-out of the "scanning code registration" measures for public transport passengers.

On 28 February, the city's metro system launched QR code scan registration for rail transit passengers in each of its carriages.

Effective 25 March, all international and Hong Kong, Macau, and Taiwan flights from Hongqiao Airport were to be handled at Pudong Airport in order to consolidate efforts at tracking and curtailing the importation of COVID-19 cases.

Handling of related illegal acts