The immune system is strongest in infancy and childhood. It gradually declines in adulthood. And it may weaken further in old age. However, a healthy lifestyle and proper immune system support can help maintain its function throughout life.