Vaccine failure occurs when an individual does not develop adequate immunity after vaccination. This can manifest as either primary or secondary failure. Primary vaccine failure happens when an individual fails to mount an initial immune response, while secondary vaccine failure is when immunity wanes over time.