Tipping isn’t mandatory in Tanzania but a little generosity will be received positively, especially when considering the low wages that Tanzanian service workers are typically paid.
Setting aside a small amount for porters, guides and drivers is wise, as is leaving spare change or rounding up the bill at restaurants.