Incidence of Myocardial Infarction is increasing day by day in developing countries. Most of the patients who sustain myocardial infarction have coronary atherosclerosis. There are several risk factors for the development of atherosclerosis. Among all the risk factors, vitamin D deficiency has been proposed to play an important role in the development of atherosclerosis. With this aim, a case-control study was carried out to explore the association of serum vitamin D with acute myocardial infarction. The enrolled study subjects were categorized into Group A which comprised of STEMI, Group B, comprised of NSTEMI and Group C comprised of age and sex matched individuals free from acute myocardial infarction. The mean values of serum vitamin D (in ng/ml) were 20.17, 20.8 and 24.77 respectively in STEMI, NSTEMI and control groups. It differed significantly among groups (p<0.001) and it was significantly low in STEMI and NSTEMI groups compared to control group (p<0.001 and p=0.004). From this study it can be concluded that low serum vitamin D is an independent risk factor for developing acute myocardial infarction. Individuals with serum vitamin D <20ng/ml have higher chance of developing acute myocardial infarction compared to those with serum vitamin D >20ng/ml.