Human babies are born earlier and less finished than almost any other mammal, because of a trade-off between upright walking and brain size. Much of their development therefore happens outside the womb — including the gut. The microbiome established in the first months is largely settled by age three, is roughly the mass of the brain, and shapes lifelong health. Almost every feeding problem you will meet makes more sense once you understand this.
This is the foundation the rest of infant feeding rests on. If you understand what a baby's gut is expecting, then colic, reflux, intolerance and allergy stop looking like random misfortunes and start looking like predictable consequences.
A note on how to read this. Some of what follows compares breastfed and formula-fed babies, because the differences are how we understand the mechanisms behind feeding problems. None of it is a judgement on how any family feeds their baby. Families formula feed for countless reasons, many of them not a choice at all. The purpose here is to help practitioners understand what is happening physiologically, so they can support every family better — whatever is in the bottle.
Table of contents
Why babies are born unfinished
As female primate bodies adapted to walking upright, the shape of the pelvis changed. Combine that with the skull size needed to house a large human brain, and you get what's known as the evolutionary compromise: human babies must be born earlier, less physically capable and more dependent than virtually every other mammal.
Because they arrive "too early", much of their development happens outside the womb — the fourth trimester. The brain doubles in size and creates billions of synaptic connections in the first year, yet most children won't walk independently until the end of it.
Over millions of years, that meant babies were carried by family members and rarely left alone. That single fact explains a great deal — including why reflux is so common in babies who spend long periods lying flat.
What happens in the first days
During pregnancy, progesterone suppresses prolactin and with it the ability to make lactose. The body is capable of making milk but doesn't begin until after birth. From around 20 hours after the placenta is delivered, progesterone drops and milk production can begin — which is why retained placental products can delay it.
Before that, colostrum does specific jobs: it clears the sticky meconium from the gut, and provides antioxidants and immune protection.
Infant blood sugar levels are always low in the first two hours after birth. A great deal of unnecessary intervention follows from too-early or inaccurate readings, requested by people unaware that excessively high blood sugar is also damaging.
Healthy babies don't need large fluid volumes immediately after birth. They're breaking down the extra blood volume needed during pregnancy, which liberates fluid to be excreted and also bilirubin — a powerful antioxidant that breastfed babies retain a little longer, because higher-protein formula binds it for immediate excretion rather than allowing it to recirculate via the liver as it evolved to do.
Volumes then climb steadily as lactose production increases — and the baby's lactase production rises in step:
Amounts vary enormously, and so does the caloric density of the milk. If a baby is gaining well, there is no need to know the amounts.
The microbiome
The first months are when the gut is colonised by hundreds of lifeforms forming a complex ecosystem. Put together, these would make a mass almost as big as the brain — which is why the microbiome is increasingly treated as an extra organ, sometimes described as a second controlling brain.
The microbes transferred in milk interact with immature gut cells, establish colonies, multiply, and direct actual gut development in ways that let them persist and crowd out harmful invaders.
Gut bacteria break food down into metabolites we can absorb — but they also communicate with and influence the developing brain, and go on doing so throughout life. This pioneer microbiome is probably the single biggest factor in lifelong health, and by age three it has settled and is not readily reshaped. Hence the emphasis on the first thousand days.
How the mother's body feeds it
A mother's milk is not a static product. Her body actively samples her environment through the air she breathes and the food she eats, and sensitised cells migrate from her gut and airways to the breast, where specific antibodies are made. These are the entero-mammary (gut to breast) and broncho-mammary (airway to breast) pathways.
More surprising: there is a small but significant backwash of infant saliva into the breast ducts during feeding, and the breast responds to it. A mother who kisses and nuzzles her baby is actively sampling the child's microbiome — which becomes a genuinely protective strategy when the child is also being cared for by others.
We saw how fast this works during the Covid pandemic: it takes scientists months or years to develop a vaccine; a breastfeeding mother produces specific antibodies within days, on autopilot.
On probiotics in formula. Breastmilk contains upwards of 200 complex sugars (oligosaccharides) which act interactively to feed specific bacteria. Formula manufacturers have added a handful of complex carbohydrates from plant sources such as pectin or chicory. Different bacteria grow as a result — which is a rather different thing from replicating the system. See also why giving probiotics directly to babies is questionable.
Gut permeability
One of the biggest differences between infant and adult bodies is how permeable the gut lining is.
The period after birth is critical, because the gut needs to let some of breastmilk's gifts through to the rest of the body — notably pluripotent stem cells, which travel to other organs and are capable of repair work. Later in life a "leaky gut", whether from viruses, alcohol or food antigens, is associated with inflammation and disorders such as irritable bowel syndrome.
So a newborn's gut is intentionally leaky. That's the design.
It also means the first few days carry weight. Giving any food other than breastmilk in that window alters the oral and gut microbiome in all exposed children, and in susceptible ones increases the risk of creating sensitivities to those foods. This is the mechanism behind a great deal of what later presents as cows' milk protein allergy.
Gut acidity and infection
The first barrier to microbial infection is stomach acid. A breastfed baby's normal stomach pH of under 4 is enough to kill most pathogens swallowed.
A baby who isn't breastfed often has a less acidic stomach with a higher pH, which lets fungi and bacteria survive and go on to colonise the intestines. Some survivors can grow in the stomach itself and ferment food, producing gas — and alcohol — as by-products.
| Fully breastfed | Formula-fed | |
|---|---|---|
| Gut pH | 5.1 – 5.4 | 5.9 – 7.3 |
| Stomach emptying | Half gone in ~45 min; empty in under 2 hours | Roughly twice as long |
| Constipation | Unknown in the healthy fully breastfed baby | Common |
That lower pH isn't incidental. The Lactobacilli and Bifidus strains that dominate a breastfed baby's gut produce acetic and lactic acid, preventing pathogens like Cronobacter and Clostridia from establishing themselves.
This is also why acid-suppressing drugs deserve caution: anything that neutralises stomach acid for a long period increases the danger of infection. They are sometimes needed, but many haven't been researched in infants, and some manufacturers advise against giving them to children.
Transit time and feeding intervals
Watch: a lactation consultant's top tip for relieving trapped gas in babies.
Breastmilk is digested rapidly — half gone from the stomach in around 45 minutes, the stomach completely empty in well under two hours. Formula stays roughly twice as long, which in preterm infants has been shown to increase the risk of feed intolerance and sepsis.
So breastfed babies need to feed often and cannot be expected to go long periods between feeds. Routine or scheduled feeding was built on ignorance of infant biology, and has done enormous damage to normal breastfeeding.
Prescribed three and four hour intervals derive from less digestible foods. Slower transit might look like a benefit — fewer nappies, longer gaps — but it also means foreign proteins are in contact with the body for longer. The gut's alternative response is to push everything through fast, along with a lot of fluid, which we'd recognise as diarrhoea.
One historical note worth knowing: the very high-casein formulas of earlier decades had a sedating effect, because casein breaks down into opioid compounds that lengthen sleep beyond what is typical for a young baby. Modern formulas are not those formulas — composition is now regulated and casein levels are far lower.
It's still useful context when a family asks why a "Hungry Baby" or "Follow-on" milk seems to make their baby sleep longer: those products sit at the higher-casein end of the range, and longer sleep is a digestion effect rather than a sign the baby was previously underfed. Worth knowing when advising, not a reason to alarm anyone already using one.
The body's own defences
Infant defence mechanisms are largely self-regulating, and should not be suppressed unnecessarily. Pain, fever and increased secretions are indications that a cause needs identifying — blot out the indication and the damage continues.
Mucus and blood in stools
Mucus traps threats and carries them out of the body, and increases in response to irritation. Mucus in infant stools is normal and frequently over-interpreted — only large quantities warrant concern.
Blood in infant stools is different. It means mucus has failed to prevent damage to the cells lining the gut, and that is a cause for concern. Find the irritation and end it: infection, allergen or toxin. Sometimes a change in maternal diet to remove the likely allergen is all that's needed.
Fever
Most bacteria and viruses are temperature-sensitive and thrive only within a limited range. Raising body temperature is one of the body's first defences, and a fever simply signals the immune system has engaged — it can be triggered by an allergen as readily as an infection.
Fever should not be actively suppressed by medication unless it's high enough to raise concern about seizures. The common antipyretics all have side effects, including reducing the body's ability to fight infection. Temperature can be lowered by simple physical means that work immediately, pose no threat to immature kidneys, and don't down-regulate temperature for hours afterwards.
Ear infections
An infant's eustachian tubes sit lower in the back of the throat than they will in adulthood. For a breastfed baby that's protective — breastmilk washes over the opening at every feed. For a formula-fed baby the same anatomy works against them, as foreign proteins washing over the opening can provoke reactions that encourage pathogen growth. It's part of why otitis media is more common in children who aren't breastfed.
Epigenetics
The old nature-versus-nurture debate is settled: the genes we're born with can be expressed in different ways with different consequences, depending on physical and emotional environment.
What we eat — and what our parents and grandparents ate — is among the biggest influences, because diet feeds the microbiome that feeds us. Milk is food and passive protection, but it's also a signalling mechanism that drives development along the lines the genes dictate.
Changes to gene expression can be inherited: increased obesity risk, for example, can be built in before birth. But it isn't fixed forever — expression can revert to baseline over generations if conditions change.
Formula-fed babies still receive at least two to three times the protein intake of breastfed infants, even as manufacturers reduce levels in response to the known link between high cows' milk protein and obesity.
Practical tip: where a family is formula feeding, suggest a first formula with the lowest protein level rather than the highest, and advise against moving on to higher-protein mixes. First Steps Nutrition Trust publishes independent information on every infant formula licensed for sale in the UK.
Common questions
When does a baby's microbiome settle?
By around three years of age, after which it is not readily reshaped. The first months are when it is established.
Why do breastfed babies feed so often?
Breastmilk is digested rapidly — half leaves the stomach in about 45 minutes and the stomach is empty in under two hours. Formula takes roughly twice as long, which is where three and four hour feeding intervals came from.
Is mucus in a baby's stool normal?
Yes. Mucus traps threats and carries them out of the body, and increases with irritation. Only large quantities are a concern. Blood in the stool is different and does need investigating.
Should you treat a baby's fever?
Fever is a protective mechanism showing the immune system has engaged. It should not be actively suppressed unless high enough to raise concern about seizures. Always seek medical advice about a feverish infant.
Can a breastfed baby be constipated?
Constipation is unknown in the healthy, fully breastfed baby. It is a common consequence of slower gut transit in formula-fed infants.
Why does the first feed matter so much?
A newborn's gut is intentionally permeable so beneficial factors, including maternal stem cells, can pass into the body. Anything else given in that window alters the microbiome in all exposed babies and can create sensitivities in susceptible ones.
This article is for guidance and education. It is not a substitute for medical advice. Always consult a medical professional about a baby in your care.
About this article
Drawn from Babyem's Colic, Reflux & Infant Allergies course, written by Shel Banks IBCLC in conjunction with Maureen Minchin, author of Milk Matters: infant feeding and an immune disorder.
Shel Banks is an International Board Certified Lactation Consultant, author of Why Formula Feeding Matters, and a co-author of the Cochrane systematic review on dietary modifications for infantile colic (Biagioli et al., 2018).
This is Module 1 of five
The course builds from this foundation through colic and reflux, lactose intolerance and CMPA, medications and specialist formulas, to supporting families. Start with the free guide and bonus masterclass with IBCLC Shel Banks, or go straight to the accredited course at Level 3 or Level 4.
