The COVID-19 pandemic has not only caused tremendous loss of life and health but has also greatly disrupted the world economy. The impact of this disruption has been especially harsh in urban settings of developing countries. We estimated the impact of the pandemic on the occurrence of food insecurity in a cohort of women living in Mexico City, and the socioeconomic characteristics associated with food insecurity severity. We analyzed data longitudinally from 685 women in the Mexico City-based ELEMENT cohort. Food insecurity at the household level was gathered using the Latin American and Caribbean Food Security Scale and measured in-person during 2015 to 2019 before the pandemic and by telephone during 2020-2021, in the midst of the pandemic. Fluctuations in the average of food insecurity as a function of calendar time were modeled using kernel-weighted local polynomial regression. Fixed and random-effects ordinal logistic regression models of food insecurity were fitted, with timing of data collection (pre-pandemic vs. during pandemic) as the main predictor. Food insecurity (at any level) increased from 41.6% during the pre-pandemic period to 53.8% in the pandemic stage. This increase was higher in the combined severe-moderate food insecurity levels: from 1.6% pre-pandemic to 16.8% during the pandemic. The odds of severe food insecurity were 3.4 times higher during the pandemic relative to pre-pandemic levels (p<0.01). Socioeconomic status quintile (Q) was significantly related to food insecurity (Q2 OR = 0.35 p<0.1, Q3 OR = 0.48 p = 0.014, Q4 OR = 0.24 p<0.01, and Q5 OR = 0.17 p<0.01), as well as lack of access to social security (OR = 1.69, p = 0.01), and schooling (OR = 0.37, p<0.01). Food insecurity increased in Mexico City households in the ELEMENT cohort as a result of the COVID-19 pandemic. These results contribute to the body of evidence suggesting that governments should implement well-designed, focalized programs in the context of economic crisis such as the one caused by COVID-19 to prevent families from the expected adverse health and well-being consequences associated to food insecurity, especially for the most vulnerable.