The present disclosure relates to a method for the treatment or prevention of atrial fibrillation and/or atrial flutter comprising coadministration of a therapeutically effective amount of ivabradine or a pharmaceutically acceptable salt thereof and a therapeutically effective amount of ranolazine. Also provided are methods for modulating ventricular and atrial rate. This disclosure also relates to pharmaceutical formulations that are suitable for such combined administration.