The occurrence of the COVID-19 pandemic due to the coronavirus has considerably affected the lifestyles of different populations at the international level. Indeed, the containment imposed by the authorities of the different countries to stop the spread of this pandemic has induced a change in food availability, supply, preparation, and satisfaction. This has affected the lifestyle and food security of households, compounded by stress, fear of the unknown, and a lack of future visibility. The purpose of this study was to assess the food security situation in Morocco during the COVID-19 pandemic. From May to August 2020, an online questionnaire was sent to 947 Moroccan adults. Information on sociodemographic and socioeconomic characteristics and food security (FS) was collected. FS was assessed using the Household Food Insecurity Access Scale (HFIAS). The results show that 39.5% of the participants were food secure and 60.5% were food insecure, categorized as mild (44.6%), moderately (14.1%) and severely food insecure (1.8%). The study data revealed that a large proportion of the population was food insecure. Food insecurity that continues to be a considerable challenge for developing countries, including Morocco requires careful consideration in order to better manage the impact of the COVID-19 pandemic on food security in the aim to propose measures for emergency situations in the future.