Trimetazidine is a widely used anti-ischemic agent, but its effect on myocardial preconditioning in anesthetized animals has not been investigated. The aim of this study was to examine the effects of trimetazidine on ischemic preconditioning and carbachol preconditioning in anesthetized rats. Ischemic preconditioning, induced by 5-min coronary artery occlusion and 5-min reperfusion, decreased the incidence of ventricular tachycardia and abolished the occurrence of ventricular fibrillation during 30-min ischemia. Trimetazidine (10 mg/kg, i.v.) alone attenuated these parameters of arrhythmia. Carbachol infusion induced preconditioning with a marked depression of mean arterial blood pressure, heart rate and ventricular tachycardia. The marked reductions in parameters of arrhythmia induced by ischemic preconditioning and carbachol preconditioning were preserved in the presence of trimetazidine. Arrhythmia scores and myocardial infarct size were significantly reduced with ischemic preconditioning or carbachol preconditioning and were not inhibited by trimetazidine. These results show that trimetazidine protects the heart against ischemia-induced arrhythmias, reduces myocardial infarct size, preserves the effects of ischemic preconditioning and pharmacological preconditioning, and is able to mimic ischemic preconditioning in anesthetized rats.