Stress and/or lack of water or nutrition is the cause for eating babies. When the environment is free of constant stress, and the mice do not lack for water or nutrition, then there will be no baby eating.
This is all from my own experience - and listening to others who produce mice with no issues.


