These effects of ranolazine on the surface electrocardiogram are believed to result from inhibition of the fast-rectifying potassium current, which prolongs the ventricular action potential, and from inhibition of the late sodium current, which shortens the ventricular action potential.