Yes, a visa is required to visit Sri Lanka. If you're from Maldives or Singapore, you won't need visa.