In general, it lasts a lifetime. But if you are above 65 years of age, and if you have had the last shot 5 years back, then it is recommended that you get yourself revaccinated. If you are a person with lowered immunity, you can get in once in 5 or more years after talking to your doctor