Some enzyme production. The Gut Wall The Gut Wall The gut wall is divided into 3 main layers: An outer muscle layer, protected by a thin coating of fibres A middle layer, called the submucosa An inner layer, called the mucosa Oesophagus Main function - To push food to the stomach. Muscle layer – Two thick layers force solid food along by peristalsis.