This study investigates the impact of COVID-19 on dietary diversity and food security in Pakistan's Punjab and Sindh provinces, assessing how the pandemic has influenced individuals' access to varied and nutritious foods. Utilizing data from 1067 respondents collected through online surveys, the research highlights significant changes in food consumption patterns, with infected individuals showing higher Dietary Diversity Scores (DDS) than those not infected. The findings indicate a shift towards more readily available and affordable food items such as cereals, fruits, and dairy products, reflecting adjustments in dietary habits during the pandemic. Socio-economic factors, including age, gender, urban residency, and wealth, were identified as key determinants of dietary diversity. Specifically, women and urban residents showed improved dietary habits during the pandemic. In addition, the study identifies nutritional awareness as a critical factor in promoting healthier food choices, suggesting that well-informed individuals have more diverse diets, which could aid in disease prevention, contributing to potential disease prevention. The research underscores the pandemic's profound effects on dietary patterns and food security. It calls for policy interventions focused on improving food access, enhancing public awareness on nutrition, and integrating food security measures into pandemic response strategies to support vulnerable populations and ensure long-term resilience against health crises.