Dissociative identity disorder (DID), previously known as multiple personality disorder (MPD), is a mental illness characterized by at least two distinct and relatively enduring personality states. This is accompanied by memory gaps beyond what would be explained by ordinary forgetfulness.