Quaternary ammonium salts of certain phenylbutylamines are useful antiarrhythmic drugs. A method for treating arrhythmia and prolonging the action potential of cardiac tissue is provided. Pharmaceutical formulations containing such quaternary ammonium salts are disclosed.