The enteric nervous system ( ENS ) is a part of the peripheral nervous system . It controls the reflexes of the gastrointestinal system . The enteric nervous system ( ENS ) is a subdivision of the autonomic nervous system ( ANS ) , that directly controls the gastrointestinal system .