Coronary arteries with advanced atherosclerosis do not necessarily have greater contractile responses than those with early atherosclerosis. This study aimed to clarify the relationship between thickness of the medial layer and the contractile response to acetylcholine (ACh) in coronary artery using optical coherence tomography (OCT). The OCT and the vasomotor response to ACh in the left anterior descending coronary artery were assessed in 32 patients with previous myocardial infarction. The intimal and medial layer areas were measured by planimetric analysis of the OCT images. The coronary contractile response to ACh had a positive linear relationship with medial area ( r = 0.61, P < 0.001). In contrast, the relationship between the coronary contractile response to ACh and intimal area was described by an inverted U-shaped curve that was fitted to a quadratic regression model ( R2 = 0.35, P = 0.002, y-axis, contraction; x-axis, intimal area). The contractile response increased as the intimal layer thickened up to the inflection point; thereafter, the contractile response declined. The relationship between medial area and intimal area was also described by an inverted U-shaped curve that was fitted to a quadratic regression model ( R2 = 0.41, P < 0.01, y-axis, medial area; x-axis, intimal area). The medial area increased as the intimal area thickened up to the inflection point; thereafter, the medial area thinned. In conclusion, the thinned medial layer was associated with the attenuated contractile response in a coronary artery with greater atherosclerosis. NEW & NOTEWORTHY This is the first clinical study to show the relationship between the contractile response and the thickness of medial smooth muscle layer in coronary artery of patients with previous myocardial infarction using OCT. The contractile response to acetylcholine was attenuated, and medial layer area was thinned in coronary artery with greater atherosclerosis compared with those in coronary artery with mild or moderate atherosclerosis. The coronary contractile response was positively correlated with thickness of the medial layer in coronary arteries with either mild or greater atherosclerosis. Thus, coronary arteries with advanced atherosclerosis do not necessarily have greater contractile responses than those with early atherosclerosis, which could be related to the thinned medial layer.