It’s recommended to get vaccinated at least 2–4 weeks before travel to allow your body to develop full protection. Some countries require proof of vaccination at least 10 days prior to entry.