Men greeting Men – A handshake is appropriate in most situations. Handshakes tend to be energetic and very often linger a bit. It is also appropriate for two men to walk hand in hand in public. This does not have any implication on their sexual preferences, it's just a sign of friendship and closeness.
Women greeting Women – A handshake and/or bow is appropriate in most situations. If you would like to show great respect you may also place your left hand over your right elbow when handshaking and bowing. Handshakes tend to be energetic and very often linger a bit.
Meetings between Men and Women – Appropriate greetings depend on the nature of the relationship. If the man is Muslim a woman may bow and greet but handshakes are not appropriate. For all others a handshake and/or bow is appropriate but it is best to wait for the woman to extend her hand, otherwise a bow or a nod of acknowledgment will suffice.
Note: Greeting is an important aspect of the culture and is very lengthy, lasting anywhere from one minute to ten. Elders are very respected in Tanzanian culture and are always greeted by saying “shikamo”, whereas they reply “marahaba”. Also, always use your right hand when shaking hands.