How your baby's immune system develops
6-minute read
Babies' immune systems are not as strong as those of adults. Breastfeeding and vaccinating your baby will help protect them from a serious illness.
What is the immune system?
Your immune system is a network of cells and proteins that are found throughout your body. The immune system fights germs that cause infection.
Germs such as bacteria and viruses are sometimes described as ‘foreign’. This is because they don’t belong in our bodies. Germs can cause your baby to become sick.
If bacteria, a virus or something foreign gets into your body, the immune system starts to act quickly. White blood cells notice that something foreign has entered your body. The white blood cells make special proteins called ‘antibodies’, and also switch on other parts of the immune system. This is called the ‘immune response’ and it fights the infection.
After antibodies have been made, the immune system can 'remember' the germ or virus. This helps the body to fight the germ more easily next time. This memory is called ‘immunity’.
The immune system in babies
A baby’s immune system is not fully developed when they are born. It gets stronger as the baby gets older. The immune system works throughout our lives fighting germs that can cause disease.
A mother’s antibodies are shared with their baby through the placenta during the third trimester (last 3 months) of pregnancy. The mother’s antibodies help protect the baby from illnesses when the baby is born. The type of antibodies passed from mother to baby depends on the mother’s own level of immunity.
Good bacteria in our gut help our immune system to work well. During birth, these good bacteria are in the vagina and are passed on to the baby. This helps good bacteria to start living in the baby’s gut.
After birth, more antibodies are passed to your baby from the colostrum and in breast milk.
Premature babies
Premature babies do not receive as many antibodies from their mothers as full-term babies. Their immune systems are not very strong. Premature babies have a greater chance of getting sick from germs like bacteria and viruses.
How to boost your baby’s immune system
The immunity that your baby receives from their mother at birth does not last long. It will gradually go away after a few weeks or months.
Babies make their own antibodies. Each time they get infected with a virus or other germ, their immune system starts to work. They make new antibodies that will protect them now and in the future.
But immunity in a baby is not as strong as in adults. And it takes time to fully develop. In the meantime, there are some important things you can do to protect your baby.
Breastfeeding
Breast milk contains many good things to help build your baby’s immune system. These include proteins, fats, and sugars, as well as antibodies and probiotics. When a mother comes into contact with germs, she makes antibodies to help her fight the infection. These are passed to the baby in breast milk. Because mothers and babies usually come into contact with the same germs, the mother’s breast milk can protect the baby.
Breastfed babies have fewer infections and get better more quickly than formula-fed babies. However, for mothers who are unable to breastfeed or who choose not to, infant formula is a healthy option.
Breastfeeding cannot fully protect your baby from life-threatening infections like polio, diphtheria or measles. These diseases are very serious and can make your baby very sick. Fortunately, we now have vaccines that work with the immune system to protect your baby.
Vaccination
Vaccinating your children is the safest and most effective way to protect them against serious disease.
Vaccination causes an immune response in the same way that a virus or bacteria would. But it makes an immune response happen without the child actually getting sick. The vaccine makes your child ‘immune’. If your child catches the real disease in future, their immune system will remember the germ. The immune response will swing into action and fight off the disease, or prevent serious complications.
You can be vaccinated for whooping cough in your third trimester or pregnancy. This helps pass on your immunity against whooping cough to your baby.
You can also be vaccinated against influenza (the ‘flu’) when pregnant. This is recommended at any stage of pregnancy, but should happen before the ‘flu’ season starts. Your antibodies to the flu vaccine are also passed on to your baby.
Your baby’s first vaccines are given at birth, then at 6 weeks, 4 months and 6 months of age. Other vaccines and boosters are given over the first few years of life.
Diet and supplements
Taking antibiotics kills some of the good gut bacteria that are important for immunity. Some people think that probiotics can boost immunity after they have had antibiotics. Probiotics are safe for women to use in late pregnancy and after the baby is born. However, it is not clear if probiotics are useful for children or adults. Talk to your doctor before giving probiotics to your baby.
In most cases, breast milk and formula provide all the vitamins and minerals your baby needs. Giving extra vitamins is not recommended for babies.
Once your baby starts on solids, a range of fresh foods should be enough to keep their immune system healthy. This can include different types of pureed vegetables and fruits. Try to keep breastfeeding at the same time as starting solid food.

Speak to a maternal child health nurse
Call Pregnancy, Birth and Baby to speak to a maternal child health nurse on 1800 882 436 or video call. Available 7am to midnight (AET), 7 days a week.
Learn more here about the development and quality assurance of healthdirect content.
Last reviewed: May 2022