The esophagus is located in the chest. It is about 10 inches long. The esophagus lies behind the heart and windpipe, which is also known as the trachea.