The muscles of the heart, termed the myocardium, make up the middle and thickest layer of the heart wall. This layer lies between the single-cell endocardium layer, which lines the inner chambers, and the outer epicardium, which makes up part of the pericardium that surrounds and protects the heart