PurposeFollowing the COVID-19 pandemic, the upward trend of organic food (OF) consumption is no longer restrained to western markets but has also extended to emerging markets in different parts of the world. Still, extent post-pandemic literature has devoted little attention to the factors shaping consumers' intent to purchase organic food in developing markets. The current research empirically investigates the antecedents of consumers' attitude and intent to purchase organic food in an emerging market context (i.e. Morocco). This research also explores the differences between OF consumers' manifest attitudes prior to and following the COVID-19 pandemic.Design/methodology/approachTo achieve the study's objectives, data were collected from 1,060 Moroccan respondents using online self-administered questionnaires in two different eras: prior to the COVID-19 pandemic with a total of 441 valid responses and following the pandemic with 619 valid responses. Confirmatory factor analysis (CFA) was employed to validate the data, and a partial least squares (PLS) estimation was used to test the hypotheses.FindingsFirst, attitude towards OF has a significant impact on consumers' purchase intention; at the same time, it is influenced by subjective norms, organic labeling, perceived behavioral control, health consciousness, and environmental concern. This study's findings also suggest subjective norms, organic labeling, perceived behavioral control, health consciousness, environmental concern, age, and income as the key determinants of consumers' intention to purchase OF. Second, the IPMA analysis suggests that while health consciousness, organic labeling and perceived behavioral control are the most important constructs influencing attitude towards OF, consumers' purchase intention is mostly influenced by health consciousness, attitude towards OF and age. Finally, the PLS-Multigroup Analysis conveyed few discrepancies in the results when comparing the two eras (i.e. subjective norms and age had more significant impacts on consumers' purchase intent following the COVID-19 pandemic).Practical implicationsThis study provides organic food retailers and practitioners with a deeper understanding of the key aspects shaping consumers' intent to purchase organic products in emerging markets. The comparative analysis will also provide important insights on how to shape consumers' attitudes and purchase intentions in a new-normal marked by the COVID-19 pandemic.Originality/valueThis study's findings contribute to the growing literature on consumers' behavior in the organic food industry, particularly in developing countries where research is still narrow. This study's study is the first of its kind to compare consumers' intention to purchase organic food before and following the COVID-19 pandemic.