The COVID-19 pandemic in Morocco is part of the worldwide pandemic of coronavirus disease 2019 (COVID-19) caused by severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). The virus was confirmed to have spread to Morocco on 2 March 2020, when the first case COVID-19 case was confirmed in Casablanca.

As of 24 June 2020, there have been 10,907 confirmed cases, of which 8,468 have recovered and 216 have died.The case fatality ratio for COVID-19 has been much lower than SARS of 2003, but the transmission has been significantly greater, with a significant total death toll. Model-based simulations for Morocco suggest that the 95% confidence interval for the time-varying reproduction number R t is higher than 2.0 and rising, having been lower than 1.0 in April and May 2020.

On 11 March 2020, it was announced that the wife and daughter of the French tourist also tested positive, bringing the total cases to 5. That same day, a sixth case was declared in a woman in her sixties that came from France and that presented respiratory troubles on 7 March. On 13 March 2020, two cases were confirmed: a 39-year-old Moroccan man who had returned from Spain and a 64-year-old French woman. The recovery of patient 0 was reported by the Ministry of Health the same day.

On 25 March 2020, the Ministry of health confirmed a new death bringing the total to 6, a 65 years old person who suffered from chronic illnesses. The recovery of a 69 years old person was confirmed, bringing the total number of recoveries to 7. 55 new cases were confirmed, bringing the total of positive cases to 225.On 26 March 2020, the Ministry of health confirmed four new deaths bringing the total to 10. A new recovery was confirmed, bringing the total number of recoveries to 8. 50 new cases were confirmed, bringing the total of positive cases to 275.

On 3 April 2020 at 8:00, 44 new cases, 4 recoveries and 3 deaths were reported. At 11:00, 15 additional recoveries were reported. At 18:00, 3 deaths, 7 recovery and 26 new cases were reported. At 22:00, 30 more new cases, one recovery and one death were confirmed bringing the total number of cases to 791, total number of deaths to 48, total number of recoveries to 57.There were 3,806 new cases in April, raising the total number of cases to 4,423. The death toll rose to 170. The number of recovered patients increased to 984, leaving 3,269 active cases at the end of the month

On 24 June 2020 at 10:00, 349 new cases and 19 recoveries were reported, bringing the total number of cases and recoveries to 10,693 and 8426, respectively. The same day at 17:00, the Ministry of health reported the number of confirmed cases as 10,907 and the number of recoveries as 8468. There were 11,789 new cases in July, raising the total number of confirmed cases to 24,322. The death toll rose by 125 to 353. The number of recovered patients nearly doubled to 17,658. At the end of the month there were 6,311 active cases.

The Government of Morocco announced they were suspending all passenger flights and ferry crossings to and from Spain, Algeria and France until future notice. On 14 March 2020, the Government announced it was suspending flights with an additional 25 countries. By that date, flights had been suspended to/from China, Spain, Italy, France and Algeria. Subsequently, air travel was to cease shortly between Morocco and Austria, Bahrain, Belgium, Brazil, Canada, Chad, Denmark, Egypt, Germany and the UAE.

Morocco declared a state of medical emergency on 19 March 2020, to take effect on 20 March 2020 at 6:00 pm local time and to remain in effect until April 20, 2020 with possibility to extend for a longer period. This directive requires the authorization of local state officials for citizens to leave their homes, while making exceptions for workers at supermarkets, pharmacies, banks, gas stations, medical clinics, telecommunications companies, and essential freelance jobs.In April, 2020, the government pardoned 5,654 prisoners, and it put forward procedures to protect inmates from the COVID-19 outbreak.