The membranous (lateral) wall of the middle ear consists almost entirely of the tympanic membrane, but because the tympanic membrane does not extend superiorly into the epitympanic recess, the upper part of the membranous wall of the middle ear is the bony lateral wall of the epitympanic recess.