Where is the myocardium located?

The myocardium is located between the endocardium and the visceral layer of the serous membrane (epicardium) of the heart.