IntroductionDepression during pregnancy can put strain on pregnant women’s interpersonal relationships, the formation of emotional bonds with the fetus, and the adaptation to the new routine and social role post-pregnancy. Some studies have associated socioeconomic factors, emotional factors, interpersonal relationships, perceived social support, gestational risk, and the occurrence of certain diseases during pregnancy with higher risk of depression.ObjectivesThis study aimed to investigate the prevalence of depression during pregnancy and associated factors in low- and high-risk prenatal patients at a Brazilian university hospital.MethodsThis study presents a retrospective and prospective cross-sectional design. A total of 684 prenatal psychological analysis records from a Brazilian tertiary university service were retrospectively evaluated to assess depression through the PRIME-MD questionnaire between 2002–2017. Between 2017 and 2018, 76 patients treated at the same service were prospectively evaluated with the aforementioned instrument. Medical records were accessed to obtain labor and birth data. Multivariate analyses assessed the association between sociodemographic, gestational or obstetric, and health variables and the presence of depression during pregnancy.ResultsA total of 760 pregnant women were included in the study, with a depression prevalence of 20.66% (n = 157). At the time of assessment, 48 (21.05%) women from the low-risk pregnancy group and 109 (20.49%) from the high-risk pregnancy group were depressed. The mean age was 30.01 ± 6.55 years in the group with depression and 29.81 ± 6.50 years in the group without depression. In the univariate analysis, there was an association of risk for depression with absence of paid work, absence of a partner, low family income and diagnosis of epilepsy, being a protective factor the presence of diabetes during pregnancy. However, in the multivariate analysis, a lower family income, not having a partner at the time of the assessment, and the prevalence of epilepsy were independently associated with an increased risk of depression during pregnancy.ConclusionThis study showed that 1 in 5 women had depression during pregnancy, with no association with obstetric risk, but those women living in unfavorable economic conditions, without a partner, and having epilepsy were at increased risk of depression.