A series of 2-methylthio-1,4-dihydropyrimidine derivatives (IIa–IIl) were synthesized in good yields by alkylation of 1,2,3,4-tetrahydropyrimidines (Ia–Il) with methyl iodide in the presence of pyridine. Their structures were confirmed by elemental analysis, IR, and 1H NMR spectra. Molecular docking of title compounds was done using VLife MDS 3.5 on voltage-dependent calcium channel b subunit functional core and its complex with the a1 interaction domain i.e. AID-b complex (PDB code 1T3L) to identify potential candidates with minimum dock score for cardioprotective activity. Biological screening of the potential candidates (IIf and IIi) was done for cardioprotective activity. Adult Sprague–dawley rats were pretreated with test compounds IIf and IIi. After the treatment period, adrenaline was subcutaneously injected to rats at an interval of 24 h for 2 days to induce myocardial injury. After 48 h, rats were anaesthetized and electrocardiographic (ECG) observations were performed. Potential compounds IIf and IIi showed significant cardioprotective activity against adrenaline-induced myocardial infarction in rats. Adrenaline-induced ECG alterations such as reduced R–R interval, increased heart rate, reduced P duration, and ST-segment elevation were brought to the near normal values by pretreatment of compounds IIf and IIi.