Always contact your doctor or GP to discuss which vaccinations you will or won’t need in your personal situation.
It’s good to know that a yellow fever vaccination is only obligated when you depart from a yellow fever country. Kenia is such a country. So pay attention to which countries you enter before coming to Tanzania. This yellow fever vaccination is the only obligated vaccination to travel in Tanzania when coming from a yellow fever country.
Visit your doctor or GP at least 5 weeks before your departure to Tanzania. Preferably as soon as possible to make sure you are on time when you’d need any vaccinations. Not all vaccinations have an immediate effect and for some vaccinations, you will need a few vaccinations spread over a certain period of time.