ChamberOne

Sri Lanka: the Online Safety Act No. 9 of 2024 explained for practitioners

By the ChamberOne team 6 minute read

Sri Lanka's Online Safety Act, No. 9 of 2024, was certified on 1 February 2024 and published in the Official Gazette on 2 February 2024. The Act establishes the Online Safety Commission, creates criminal offences centred on prohibited online statements, and gives the Commission and the courts tools to restrict access to harmful content. As at November 2026, no amendment to the principal Act has been enacted, although an amendment bill was gazetted as a draft on 31 July 2024. This article sets out the main provisions as they stand in the principal Act, notes the constitutional concerns raised after enactment, and explains what the pending amendment process means in practice. It is general information only, not legal advice.

Key points

  • The Online Safety Act, No. 9 of 2024 came into force on 2 February 2024 and remains the operative text as at November 2026; no amendment has been enacted.
  • The Act establishes a five-member Online Safety Commission appointed by the President with Constitutional Council approval, each serving three-year terms.
  • Offences in sections 12 to 22 range from false statements threatening national security (up to 5 years) to online cheating causing property loss (up to 7 years); all offences are non-cognizable and bailable.
  • Not every offence requires a 'false statement' as defined in section 52: section 20, covering statements that publish private information causing harassment, does not carry a falsity requirement.
  • An amendment bill was gazetted in July 2024 and remains under government review; practitioners must monitor the Official Gazette for any enacted changes.

Background and commencement

The Online Safety Bill was debated in Parliament on 23 and 24 January 2024 and passed on 24 January 2024. The Speaker certified it on 1 February 2024 and it was published in the Official Gazette on 2 February 2024, becoming the Online Safety Act, No. 9 of 2024.

Before the vote, petitions were filed in the Supreme Court under Article 121 of the Constitution. The Court issued a determination finding that certain clauses were inconsistent with the Constitution, and specified the amendments needed to allow enactment by a simple majority. Some amendments were introduced during the Committee Stage, but after enactment the Human Rights Commission of Sri Lanka (HRCSL) wrote to the Speaker on 8 February 2024 observing that several sections in the enacted text appeared not to comply fully with the Supreme Court's determination. The Act was not suspended or invalidated; it came into force and has been operative since February 2024.

The Online Safety Commission

Part I of the Act (sections 4 to 10) establishes the Online Safety Commission as a body corporate with perpetual succession. The Commission consists of five members appointed by the President, subject to the approval of the Constitutional Council, from persons with qualifications and experience in one or more of the fields of information technology, law, governance, social services, journalism, science and technology, or management. Each member's term of office is three years, with one reappointment permitted.

The President appoints one member as Chairman for a three-year term. The Chairman must nominate a Deputy Chairman within one month of appointment. Decisions require a quorum of three, including the Chairman or Deputy Chairman, and are made by majority vote with the Chairman having a casting vote in a tie.

Commission members and staff are deemed public servants for the purposes of the Penal Code (s.47). A suit or prosecution does not lie against the Commission or its members for acts done in good faith under the Act (s.45).

  1. 1Person submits complaint to Commission with URL or identifying details
  2. 2Commission investigates; person alleged to have made prohibited statement is given opportunity to be heard
  3. 3Commission issues notice to that person to stop circulation within 24 hours
  4. 4If ignored, Commission issues notice to internet service provider or intermediary to remove content
  5. 5If still ignored, Commission applies to Magistrate's Court for order
  6. Then back to step 1.
How a complaint moves through the Commission

Powers and functions of the Commission

Section 11 sets out the Commission's powers and functions. These include issuing directives to persons, internet service providers and intermediaries who have published a prohibited statement; issuing notices to disable access or remove prohibited statements; maintaining an online portal to inform the public of the falsity of statements; specifying declared online locations; carrying out investigations; issuing codes of practice for internet service providers and intermediaries; and registering websites that provide social media platforms to users in Sri Lanka.

On rules-making, the Commission must make its first rules within twenty-four months of commencement, following public consultation of at least two weeks. Each set of rules must be gazetted and placed before Parliament within three months for approval; rules not so approved are deemed rescinded.

The Commission can obtain police assistance for investigations (s.11(o)). A police officer may also obtain a Magistrate's warrant to intercept wire or electronic communications for the purpose of an investigation under the Act (s.35).

The offences

Part III (sections 12 to 22) contains the criminal offences. The Act turns on the concept of a 'false statement', defined in section 52 as a statement known or believed by its maker to be incorrect or untrue and made with intent to deceive or mislead. The definition expressly excludes a caution, an opinion, or an imputation made in good faith.

Not every offence in the Act requires the statement to be a 'false statement' as defined in section 52. Section 20, which creates the offence of communicating a statement that publishes private information about a person where harassment results, is drafted in terms of a 'statement' rather than a 'false statement'; the falsity element is not an ingredient of the section 20 offence. Practitioners should read each offence provision individually.

Section 12 makes it an offence to communicate a false statement that threatens national security, public health or public order, or promotes ill-will between classes of people: up to five years' imprisonment or a fine not exceeding five hundred thousand rupees, or both. Section 17 creates online cheating, where a false statement is used to fraudulently induce someone to give up property or suffer harm: up to seven years or seven hundred thousand rupees. Section 20 creates the offence of communicating a statement by publishing private information about a target where harassment results: up to five years or five hundred thousand rupees, doubled on a second or subsequent conviction.

Section 21 addresses child abuse committed by way of an online account or location. Publishing abusive or pornographic material relating to a child online carries a minimum of two years' imprisonment and a maximum of twenty years, plus a fine not exceeding one million rupees. Section 22 makes it an offence to make or alter a bot with the intention of communicating or enabling communication of an offence under the Act: up to five years or five hundred thousand rupees.

Every offence under the Act is non-cognizable and bailable (s.43). This means police cannot arrest without a warrant for these offences; the standard procedure runs through the Commission's process and the Magistrate's Court.

Declared online locations and intermediary liability

Part V (sections 28 to 31) allows the Commission to declare an online location a 'declared online location'. The trigger is that three or more different prohibited statements have been communicated to users in Sri Lanka on that location, in respect of which conditional orders were made absolute by a Magistrate under section 24, and at least three of those statements first appeared on that location within six months before the declaration. Declarations must be gazetted and carry an expiry date no later than two years from coming into effect.

Once a location is declared, internet service providers and intermediaries must take reasonable steps to ensure that paid content they carry does not appear on the declared location in Sri Lanka. Failure is an offence carrying up to seven years' imprisonment or a fine of up to ten million rupees, doubled on a second or subsequent conviction.

Section 27 provides a safe harbour for certain categories of internet service provider, including telecommunication services and services giving public internet access. The exemption does not apply if the provider initiated the communication, selected the recipient, modified the content, or failed to comply with the Act or a Commission code of practice.

Constitutional concerns and the amendment process

The Act attracted sustained criticism after enactment. The HRCSL, writing on 8 February 2024, observed that several sections appeared not to comply with the Supreme Court's determination and expressed deep concern about remaining inconsistencies with the Constitution.

On 31 July 2024, an amendment bill was gazetted as a draft. The International Commission of Jurists submitted observations in response to the government's public call for input on amendments, urging the government to repeal the Act in its current form or substantially revise it to bring it into line with Sri Lanka's international human rights law obligations. The ICJ's key concerns included overly broad Commission powers, vague offences, disproportionate sanctions, and inadequate judicial oversight.

As at November 2026, the amendment bill has not been enacted. The principal Act, No. 9 of 2024, remains the operative text. Practitioners must monitor the Official Gazette for any enacted changes; the draft bill does not alter the law in force.

What this means for practitioners

Litigation practitioners may be instructed by clients who have received Commission notices, been named in Magistrate's Court applications, or been summoned to disclose identity information as an internet intermediary. The process moves quickly: a person who receives a Commission notice under section 23(6) must comply within twenty-four hours or the matter proceeds to the next step.

Corporate and commercial lawyers advising media companies, tech platforms and businesses with online communities need to understand the intermediary liability provisions and the conditions on which the safe harbour applies or is lost. The Commission's power to issue codes of practice and to register social media platforms means regulatory obligations are likely to evolve as those rules are made and gazetted.

Practitioners whose clients are accused of communicating a prohibited statement should examine each offence provision individually. The definition of 'false statement' in section 52 requires knowledge or belief that the statement is incorrect or untrue and intent to deceive or mislead, and expressly excludes cautions, opinions and good-faith imputations. However, not every offence requires a false statement as so defined; section 20 in particular does not. The non-cognizable and bailable nature of all offences (s.43) is relevant to advice about police procedures.

Anyone advising on these matters should read the official certified text of the Act, monitor the Official Gazette for enacted amendments, and obtain specific legal advice appropriate to the client's circumstances.

Sources

  1. Online Safety Act, No. 9 of 2024 (Parliament of Sri Lanka official text)
  2. HRCSL Press Notice on Online Safety Act, 8 February 2024
  3. ICJ: Sri Lanka: ICJ calls for repeal or substantial revision of Online Safety Act, 18 September 2025
  4. Parliament of Sri Lanka: Online Safety Bill passed with majority vote, 24 January 2024

This article is general information about the law, legal practice and technology, current when it was published. It is not legal advice. Laws and guidance change: check the sources linked above and take advice on your own circumstances from a lawyer qualified where you are.

Read next