Sotalol is a medication used to treat heart arrhythmias. The U.S. Food and Drug Administration advises that sotalol only be used for serious arrhythmias, because its prolongation of the QT interval carries a small risk of life-threatening torsade de pointes.