According to the CDC, the whooping cough vaccine typically provides good levels of protection within the first two years after getting vaccinated. Then, there tends to be a decrease in effectiveness each following year. That's why it's important to stay up-to-date on your vaccines.