Introduction: The COVID-19 pandemic had large impacts on mental health; however, most existing evidence is focused on the initial lockdown period and high-income contexts. By assessing trajectories of mental health symptoms in India over two years, we aim to understand the effect of later time periods and pandemic characteristics on mental health in a lower-middle income context. Methods: We used data from the Real-Time Insights of COVID-19 in India (RTI COVID-India) cohort study (N=3,662). We used covariate-adjusted linear regression models with generalized estimating equations to assess associations between mental health (PHQ-4 score) and pandemic periods as well as pandemic characteristics (COVID-19 cases and deaths, government stringency, self-reported financial impact, COVID-19 infection in the household) and explored effect modification by age, gender, and rural/urban residence. Results: Mental health symptoms dropped immediately following the lockdown period but rose again during the delta and omicron waves. Associations between mental health and later pandemic stages were stronger for adults 45 years of age and older (p<0.001). PHQ-4 scores were significantly and independently associated with all pandemic characteristics considered, including estimated COVID-19 deaths (PHQ-4 difference of 0.041 SD units; 95% Confidence Interval 0.030 - 0.053), government stringency index (0.060 SD units; 0.048 - 0.072), self-reported major financial impacts (0.45 SD units; 0.41-0.49), and COVID-19 infection in the household (0.11 SD units; 0.07-0.16). Conclusion: While the lockdown period and associated financial stress had the largest mental health impacts on Indian adults, the effects of the pandemic on mental health persisted over time, especially among middle-age and older adults. Results highlight the importance of investments in mental health supports and services to address the consequences of cyclical waves of infections and disease burden due to COVID-19 or other emerging pandemics.