Mellaril is in a class of remedies called phenothiazines. It works by changing the actions of chemicals in the brain. This medication is taken to heal psychotic disorders, such as schizophrenia. Mellaril is generally reserved for people who do not respond to other pharmaceuticals or who cannot take other remedies due to side effects.