No. Posthitis isn’t contagious. However, it can be caused through sexually transmitted diseases (STDs).