Prenatal and postpartum depression are important public health challenges because of their long-term adverse impacts on maternal and neonatal health. This study investigated the risk of maternal depression among pregnant and postpartum women in poor rural China, along with the correlation between primary family caregiver identity and maternal depression risk.Pregnant women and new mothers were randomly selected from poor rural villages in the Qinba Mountains area in Shaanxi. Basic demographic information was collected regarding the women and their primary family caregivers. The Edinburgh Postnatal Depression Scale was used to identify women at risk of depression, and the Perceived Social Support Scale was used to evaluate perceived family support.This study included 220 pregnant women and 473 new mothers. The mean proportions of women at risk of prenatal and postpartum depression were 19.5% and 18.6%, respectively. Regression analysis showed that identification of the baby's grandmother as the primary family caregiver was negatively correlated with maternal depression risk (β=-0.979, 95% confidence interval [CI]=-1.946 to -0.012, P=0.047). However, the husband's involvement in that role was not significantly correlated with maternal depression risk (β=-0.499, 95% CI=-1.579 to 0.581, P=0.363). Identification of the baby's grandmother as the primary family caregiver was positively correlated with family support score (β=0.967, 95% CI=-0.062 to 1.996, P=0.065).Prenatal and postpartum depression are prevalent in poor rural China. The involvement of the baby's grandmother as the primary family caregiver may reduce maternal depression risk, but the husband's involvement in that role has no effect.