Self-compassion is an important psychological skill that may facilitate the adoption of a mindful way of parenting, especially during the COVID‐19 pandemic. However, the association between these constructs may be explained by several variables, such as maternal psychopathological symptoms, with a well-established interference in parenting. This study aimed to compare mothers who experienced and mothers who did not experience a negative emotional impact of the COVID-19 pandemic on self-compassion, mindful parenting, postpartum depressive symptoms (PPDS) and postpartum anxious symptoms (PPAS). We also explored whether mothers’ self-compassion was associated with mindful parenting and whether this relationship may be mediated by PPDS and PPAS. A sample of 977 Portuguese mothers of infants aged between zero and six months completed an online survey between December 2020 and January 2021, a period of major pandemic-related restrictions. The survey included several self-report questionnaires that assessed sociodemographic, clinical, and COVID-19 information, self-compassion, mindful parenting, PPDS and PPAS. Mothers who reported having felt that the pandemic had a negative emotional impact during their postpartum period (79.5%) presented lower levels of self-compassion and mindful parenting, and higher levels of PPDS and PPAS. Regarding the mediation model, higher levels of self-compassion were related to higher levels of mindful parenting, and this association was mediated by lower levels of PPAS. These results highlight the relevance of mothers’ self-compassion for helping them feel less anxious and to adopt a mindful way of parenting in the postpartum period, particularly during the pandemic. Compassion-based interventions may be particularly important in reducing PPAS and promoting mindful parenting and should be available to postpartum mothers, especially during, but also beyond the pandemic.