Self-harm, such as eating disorders and selfmutilation, represents dissociated compensatory attempts to serve self-regulatory functions. Self-harm develops when the child who has become attached to those who have inflicted pain and suffering maintains that attachment by inflicting pain on himself. Brain imaging studies have found that the communication pattern between parent and child shapes the way the child's attachment system adapts to experiences with the attachment figure, literally hardwiring the child's brain. The good news is that a safe and secure attachment is very good medicine and can rewire the brain. An attachment-based multi-phase approach to treatment is presented.