Although some Sri Lankan laws and customs are relaxed for foreign nationals, violating other local laws can get you in serious trouble. Sri Lanka is known for being especially strict regarding drugs, homosexuality, and disrespectful treatment of religious images.
To avoid a lengthy jail sentence (or worse), you should be acquainted with the aspects of Sri Lanka law that can impact and affect you as a traveler, including drinking laws, import restrictions, and where it’s illegal to take photos. Here are some local laws relevant to foreign visitors in Sri Lanka, as well as what to do if you run afoul of Sri Lankan military officials and other authorities.