Pyloric stenosis seems to be multifactorial, with some genetic and some environmental components.
It is uncertain whether it is a congenital anatomic narrowing or a functional hypertrophy of the pyloric sphincter muscle.