In this study, we replicated a rigorous test of the proposed mechanisms of change associated with Mothering from the Inside out (MIO), an evidence-based parenting therapy that aims to enhance maternal reflective functioning and mental representations of caregiving in mothers enrolled in addiction treatment and caring for young children. First, using data from 84 mothers who enrolled in our second randomized controlled trial, we examined whether therapist fidelity to core MIO treatment components predicted improvement in maternal reflective functioning and mental representations of caregiving, even after taking fidelity to non-MIO components into account. Next, we examined whether improvement in directly targeted outcomes (e.g., maternal mentalizing and mental representations of caregiving) led to improvements in the indirectly targeted outcome of maternal caregiving sensitivity, even after controlling for other plausible competing mechanisms (e.g., improvement in maternal psychiatric distress and substance use). Third, we examined whether improvement in targeted parenting outcomes (e.g., maternal mentalizing, mental representations of caregiving and caregiving sensitivity) was associated in improvement in child attachment status, even after controlling for competing mechanisms (e.g., improvement in maternal psychiatric distress and substance use). Finally, we examined whether improvement in maternal mentalizing and caregiving representations was associated with a reduction in relapse to substance use. Support was found for the first three tests of mechanisms but not the fourth. Implications for future research and intervention development are discussed.