Thioridazine (sold under the brand name Mellaril) is a first-generation, or typical, antipsychotic that was used to treat schizophrenia. It works mainly by blocking dopamine D2 receptors in the brain.
Its use has declined sharply because it can prolong the QT interval on an electrocardiogram in a dose-related way, which raises the risk of dangerous heart-rhythm changes. Because of this, thioridazine carries a boxed warning and is generally reserved for patients who have not responded to other antipsychotics.