It is your responsibility to obtain the necessary visa for your travel to Tanzania In order to get a visa to Tanzania you have two options:
You can either apply for it at the counter when you come to Tanzania. This will take some time, you will have to go through several queues. Payment for visas on entry into Tanzania is in US dollars only.
The option that we highly recommend is that you apply for your visa online. It is a simple way of applying for a visa and you skip the longest queues at the airport on your arrival. You fill out your information on the website and then you will have your visa in about 3-4 weeks. Apply for your visa here: https://eservices.immigration.go.tz/visa/