Many people consider pregnancy as one of the most important events in the life of any woman, which has important effects on the mental state of the mother and her fetus. Therefore, this study was conducted to evaluate the effect of mindfulness and spiritual health training of pregnant women on pregnancy anxiety and maternal-fetal attachment in Iranian culture. This is an experimental study with a pretest–posttest design and a control group. The population of the present study included all pregnant women of Arak from 2020 to 2021, from whom 48 women in 20–32 weeks of gestation were selected by convenience sampling and randomly assigned to experimental and control groups. The participants completed the Pregnancy Anxiety Questionnaire and the Maternal-Fetal Attachment Scale. The educational intervention group received mindfulness and spiritual health training through eight 90- to 120-min sessions on WhatsApp messenger over 8 weeks as well as routine pregnancy care, and the control group received only routine pregnancy care. At the end of the sessions, the posttest was completed by both experimental and control groups. Multivariate analyses of covariance results showed that mindfulness and spiritual health training significantly decreased pregnancy anxiety in the experimental group ( p < .05) and significantly increased maternal-fetal attachment in this group relative to the control group (p < .05). According to the findings of the present study, providing mindfulness and spiritual health training to pregnant women can help improve the quality of pregnancy by increasing maternal-fetal attachment and decreasing pregnancy anxiety.