Objective. To estimate the prevalence of suicidal ideation (SI) and the association with social determinants (SD) in the Mexican population during the Covid-19 pandemic. Materials and methods. Data from the survey of Distance Psychological Care for Mental Health were used due to the Covid-19 Contingency, obtained from 2020. Sample of 79 665. Logistic regression models were performed obtaining odds ratios (OR) with 95% confidence intervals (95%CI). Results. The prevalence of SI was 17.1% (women: 18.8%, men: 14.4%). The main associated SDs were: being a woman (OR = 1.11; CI95% 1.06,1.13), young women (OR = 1.30; CI95% 1.09,1.54), education (OR = 1.89;CI95% 1.14,3.12), single (OR = 1.31; CI95% 1.24,1.38), unemployment (OR = 2.33; CI95% 2.21,2.45), social distancing (OR 1.81; CI95% 1.68,1.96), living alone (OR 1.18; CI95% 1.10,1.27), loss of family member due to Covid-19 (OR = 1.41; 95%CI 1.30,1.54), depression diagnosis (OR = 5.72; 95%CI 5.41,6.05), physical violence (OR = 2.71; 95%CI 2.49,2.95), excessive alcohol consumption (OR = 1.68; 95%CI 1.58,1.79), drug use (OR = 3.13;95%CI 2.88,3.41) and suspicion or diagnosis of Covid-19 (OR = 1.79; 95% CI 1.67-1.89). Conclusions. The prevalence of SI during the Covid-19 pandemic was high; the relevance of the structural and intermediate SD that influence SI is herein discussed.