When entering the Tanzanian mainland and Zanzibar directly from Germany/Switzerland or Austria, no compulsory vaccinations are required, in particular no yellow fever vaccination. This also applies when entering in transit via a yellow fever endemic area, as long as the airport is not left during the stopover and the stay is less than 12 hours. However, you should have vaccination protection against tetanus, hepatitis A, diphtheria and polio. Vaccinations against hepatitis B and typhoid are recommended for long stays.
We recommend that you consult your family doctor in good time. You can find further information on the website of the German Federal Foreign Office.