Last reviewed: November 6, 2026. Checked against current guidance from the CDC, the American Academy of Pediatrics (AAP), Children’s Hospital of Philadelphia (CHOP) and Nationwide Children’s Hospital.
Quick answer: Your baby’s immune system works from the day they are born, but it is immature and has not met most germs yet. In the first months, babies rely heavily on antibodies passed from mom through the placenta and breast milk, and these borrowed antibodies fade over the first few months. Babies are most vulnerable in roughly the first 2 to 3 months, and their own defenses grow steadily stronger after that, helped by vaccines that start at 2 months. The immune system keeps maturing through the toddler and preschool years.
Newborns can seem so fragile, and it is natural to wonder when they will be able to handle the coughs and colds of everyday life. The good news is that babies are born with more protection than many parents realize.
The harder news is that this protection has gaps, especially in the first few months. This guide explains how a baby’s immune system develops, how long a mother’s immunity lasts, and the simple, proven steps that help keep your baby safe while their body learns.
How Does a Newborn’s Immune System Work?
A baby’s immune system starts developing early in pregnancy. By birth, the basic parts are in place. What newborns lack is experience. According to CHOP, newborns have not yet met most germs, and some of their first-line defenses, such as certain white blood cells, are limited at birth.
From the moment they are born, babies are surrounded by bacteria and viruses. Most of these are harmless. Each new encounter helps the immune system learn what is normal and what needs fighting. This learning takes time, which is why young babies can get very sick from infections that would only cause a mild cold in an older child.
To bridge the gap, babies get help in two ways:
- Antibodies from pregnancy. Before birth, mom passes antibodies to her baby through the placenta.
- Antibodies from breast milk. After birth, breast milk keeps supplying antibodies and other protective factors.
How Long Do Babies Carry Their Mother’s Immunity?
The antibodies a baby gets in the womb give short-term protection. CHOP explains that some antibodies start crossing the placenta in early pregnancy, but most pass to the baby late in the third trimester. Levels are high at birth and then fall over the first few months of life.
A few things affect how much protection a baby starts with:
- Which illnesses mom is immune to. A baby only gets antibodies against infections the mother has had or been vaccinated against.
- How early the baby was born. Because most antibodies cross late in pregnancy, premature babies usually start with lower levels.
- Vaccines during pregnancy. Some vaccines given in pregnancy are timed so mom can pass extra antibodies to her baby before birth.
- Breastfeeding. Breast milk adds ongoing protection for as long as you breastfeed.
What a mother eats does not change how long her antibodies last in the baby. The protection is borrowed, so it naturally wears off as the baby’s own immune system takes over.
When Does a Baby’s Immune System Get Stronger?
There is no single day when a baby’s immune system “switches on.” It gets stronger gradually. Here is a general picture of how it changes over time.
| Age | What is happening | How you can help |
|---|---|---|
| Birth to 2 months | Most vulnerable stage. Baby relies mainly on mom’s antibodies. Own defenses are limited and inexperienced. | Breastfeed if you can, limit visitors who are sick, wash hands, and treat any fever of 100.4°F (38°C) or higher as urgent. |
| 2 to 6 months | Mom’s antibodies fade. Baby’s own defenses improve. First routine vaccines start at 2 months. | Keep up with well-baby visits and vaccines on schedule. |
| 6 to 12 months | Baby’s immune system is making more of its own protection. Babies often catch more colds as they explore and meet more people. | Continue vaccines, including a yearly flu shot from 6 months, and keep handwashing habits. |
| 1 to 5 years | Immune system keeps maturing with each infection and vaccine. Frequent colds are common, especially in child care. | Stay current on vaccines and talk to your doctor if illnesses seem unusually frequent or severe. |
CHOP notes that babies generally overcome much of their early weakness in first-line defenses by around 2 months of age. That is one reason the first few weeks need the most care.
Why Are the First 3 Months So Important?
In the first 3 months, a fever can be the only sign of a serious infection. Young babies often cannot show other clues, and infections can spread quickly. That is why doctors take any fever in this age group seriously.
Nationwide Children’s Hospital advises calling your baby’s provider right away if your baby is younger than 3 months and has a temperature of 100.4°F (38°C) or higher. For babies this young, a rectal temperature is the most reliable. Do not give any fever medicine to a baby under 3 months unless the doctor tells you to. Our guide to what counts as a fever in a baby explains how to take a temperature and when to go to the ER.
How Can I Help Protect My Newborn’s Immune System?
You cannot rush the immune system, but you can lower your baby’s chances of getting sick and give them the best support while it matures.
Breastfeed if you can
The AAP explains that breast milk gives babies antibodies that help fight infection. Colostrum, the first milk, is especially rich in them. Breastfed babies are less likely to get ear infections, vomiting and diarrhea, pneumonia and some other infections. Any amount of breast milk helps. If breastfeeding is not possible or not right for your family, iron-fortified infant formula is a safe, healthy choice. Never make homemade formula.
Keep up with vaccines
Vaccines teach the immune system to recognize serious germs without your baby having to catch the disease first. Routine infant vaccines begin at 2 months. CHOP explains that newborns can respond to vaccines, and later doses build stronger, longer-lasting protection. Follow the vaccine schedule your pediatrician recommends and ask any questions you have at each visit.
Protect your baby from RSV
RSV is a common virus that is the leading cause of hospital stays in US babies. According to the CDC, babies can be protected in one of two ways: an RSV vaccine given to mom late in pregnancy, or an RSV antibody shot given to the baby. Most babies need only one of these. Read more in our guide to RSV in babies.
Get vaccinated during pregnancy and around the baby
The CDC recommends the Tdap vaccine during every pregnancy, between weeks 27 and 36. Mom’s antibodies pass to the baby and lower the risk of whooping cough in babies under 2 months by 78%. Your provider may also recommend a flu shot during flu season. Ask everyone who spends time with your baby, such as partners, grandparents and babysitters, to stay up to date on their own whooping cough and flu vaccines. Our article on flu in babies covers the flu shot and warning signs.
Limit germ exposure in the early weeks
- Ask everyone to wash their hands before holding the baby.
- Keep people who are sick, even with a “mild cold,” away from your baby.
- Avoid kisses on the baby’s face and hands, especially from visitors.
- In the first weeks, choose quieter outings over crowded indoor places, particularly during cold and flu season.
- Keep your home smoke-free. Smoke exposure raises the risk of breathing infections.
Give vitamin D, and skip other supplements
The CDC and AAP recommend 400 IU of vitamin D a day for breastfed and partially breastfed babies, starting shortly after birth. Babies who drink enough formula may not need extra; ask your pediatrician. There is no supplement that is proven to “boost” a healthy baby’s immune system. The AAP says the evidence for probiotics in babies is limited. Do not give probiotics, fish oil, herbal products or other supplements unless your pediatrician recommends them.
Support healthy routines
For about the first 6 months, breast milk or formula is all your baby needs. Do not give water, juice or other foods before then. Around 6 months, your baby can start solid foods. Sleep is also part of healthy growth, so follow safe sleep habits and expect frequent night waking in the early months. If nights are hard, see our tips for when your newborn won’t sleep at night.
Is It Normal for My Baby to Get Sick a Lot?
Yes, especially once your baby starts meeting more people or goes to child care. Healthy babies and toddlers often catch many colds a year. Each illness is part of how the immune system learns. Frequent colds that clear up on their own are usually not a sign of a weak immune system.
It is worth talking to your pediatrician if your child has infections that are unusually severe, keep coming back in the same place, need many rounds of antibiotics, or come with poor weight gain or slow growth. Your doctor can decide whether any tests are needed.
When to Call the Doctor
Call your baby’s doctor right away if your baby:
- Is younger than 3 months and has a temperature of 100.4°F (38°C) or higher
- Is very sleepy, hard to wake, floppy or unusually irritable
- Is feeding much less than usual or has far fewer wet diapers
- Has a rash that looks unusual or does not fade when pressed
- Has a stiff neck
- Has a cough with fast breathing, or a cold that is getting worse instead of better
Call 911 or go to the emergency department if your baby has trouble breathing, pauses in breathing, blue or gray lips, a seizure, or cannot be woken.
Frequently Asked Questions
Do newborns have any immunity at all?
Yes. Babies are born with a working immune system plus antibodies from their mother. What they lack is experience with germs. Their own defenses improve over the first months and keep maturing for years.
How long does breast milk protect my baby?
Breast milk keeps supplying antibodies for as long as you breastfeed. It does not make a baby immune to everything, but it lowers the risk of several common infections. Even partial breastfeeding offers some benefit.
Can I boost my baby’s immune system with food or supplements?
No supplement is proven to boost a healthy baby’s immunity. Breast milk or formula, vaccines and good hygiene are what help most. The one routine supplement is vitamin D for breastfed babies.
When is it safe to take my newborn out in public?
Fresh air and walks are fine for healthy babies. In the first couple of months, it is sensible to avoid crowded indoor places and anyone who is sick. Ask your pediatrician if your baby was premature or has health conditions.
Are premature babies more at risk of infections?
Often, yes. Most of mom’s antibodies cross the placenta late in pregnancy, so babies born early usually have fewer of them. Your baby’s care team will give you advice on extra precautions and protection, such as RSV prevention.
Does my baby still need vaccines if I breastfeed?
Yes. Breast milk and vaccines work together. Breast milk does not protect against serious diseases like whooping cough or measles the way vaccines do.
The Bottom Line
A baby’s immune system gets stronger gradually, not all at once. The first 2 to 3 months are the most vulnerable time, when babies lean on antibodies from mom. Over the following months, and especially once vaccines begin, their own defenses grow steadily, and they keep maturing through early childhood. Breastfeeding if you can, keeping up with vaccines (including those in pregnancy), protecting against RSV, and keeping sick people away are the steps that truly help. Treat any fever in a baby under 3 months as urgent, and call your pediatrician whenever you are worried.
This article is for general information and isn’t a substitute for medical advice. Always contact your pediatrician with questions about your baby’s health.
7 Sources
Newborn Stages uses trusted sources, including government health agencies, children’s hospitals and pediatric organizations, to support the facts in our articles. Read our editorial policy to learn how we research, fact-check and keep our content accurate.
- Children’s Hospital of Philadelphia. Development of the Immune System.
- American Academy of Pediatrics (HealthyChildren.org). Breastfeeding Benefits Your Baby’s Immune System.
- CDC. Tdap Vaccination for Pregnant Women.
- CDC. CDC study shows effectiveness of RSV immunization for infants.
- CDC. Vitamin D and Breastfeeding.
- American Academy of Pediatrics (HealthyChildren.org). Probiotics in Infant Formula.
- Nationwide Children’s Hospital. Fever in a Newborn Baby.







