Caught for a first-time petty theft and dreading jail? Under the new criminal code a court can now order you to do unpaid work for the community instead of sending you to prison, because community service is, for the first time, a real punishment written into Indian criminal law.
Quick answer: Community service is a new punishment added by the Bharatiya Nyaya Sanhita, 2023, which replaced the Indian Penal Code on 1 July 2024. Section 4(f) of the BNS lists it as one of six punishments a court can impose. It means unpaid work, ordered by the court, that benefits the community, and the convict earns nothing for it. The definition sits in the Explanation to section 23 of the Bharatiya Nagarik Suraksha Sanhita, 2023.
If you are short on time, jump to the table below to see which offences can end in community service instead of jail.
The old Indian Penal Code, 1860, had no punishment called community service. The Bharatiya Nyaya Sanhita, 2023 changed that. Section 4 of the BNS now lists the punishments a court can award:
Community service is the last of these, at section 4(f). It is the newest and the only one that keeps the convict in the community rather than in a prison cell or out of pocket.
The meaning is fixed by law, not left to guesswork. The Explanation to section 23 of the Bharatiya Nagarik Suraksha Sanhita, 2023 says community service “shall mean the work which the Court may order a convict to perform as a form of punishment that benefits the community, for which he shall not be entitled to any remuneration.” In plain words: it is unpaid work, ordered by a court as a sentence, done for the community's benefit.
Two points follow from that definition. First, it is a punishment, so it comes only after a conviction. Second, it carries no pay, so the convict cannot claim any wage for the work.
Community service is not available for every crime. The BNS attaches it to a small set of less serious offences. These are the ones confirmed in the Act.
| Offence | BNS section | Community service available |
|---|---|---|
| A public servant who unlawfully engages in trade | Section 202 | Yes |
| Non-appearance in response to a proclamation, that is, failing to appear at the place and time required | Section 209 | Yes |
| Attempt to commit suicide with intent to compel or restrain a public servant from discharging official duty | Section 226 | Yes |
| Petty theft, where the value of the stolen property is low and the person is convicted for the first time, on return or restoration of the property | Section 303(2) | Yes |
| Defamation, punishable with simple imprisonment up to 2 years, or fine, or both, or community service | Section 356(2) | Yes |
For petty theft under section 303(2), community service is the punishment when the stolen property is of low value, the person has no earlier conviction, and the property is returned or restored. For defamation under section 356(2), community service is one of the options a court can choose, alongside simple imprisonment of up to 2 years, a fine, or both.
Community service is ordered by a court, and the BNSS sets out which Magistrate can pass it. Section 23 of the Bharatiya Nagarik Suraksha Sanhita, 2023 lays down the sentencing powers.
Two limits matter in practice:
All three are punishments a court can award under section 4 of the BNS, but they work very differently.
Community service is still a punishment, so it follows a conviction and goes on the record. It is not the same as probation, which is a separate route where a first-time offender can be released, often without a jail sentence, on conditions. To understand that route, read how probation helps a first-time offender avoid jail.
A college student in Pune, a first-time offender with no earlier conviction, is caught taking a mobile phone of low value. She returns the phone to its owner. Because the property is of low value, it is her first offence, and the phone has been restored, section 303(2) of the BNS, 2023 lets the court award community service instead of jail. Section 4(f) of the BNS lists community service as a punishment, and the Explanation to section 23 of the BNSS, 2023 defines it as unpaid work that benefits the community. So the court orders her to do supervised, unpaid community work for a period it decides. She stays out of prison, earns nothing for the work, and finishes her sentence without a jail term on her back.
If you or a family member is facing a criminal case, gather every record before you make decisions. Your lawyer can get certified copies from the court, and you can seek related records from a public authority using the Right to Information Act, 2005.
For a plain-English guide to your rights and how RTI works alongside a court case, read The RTI Playbook.
Yes. Community service is listed as a punishment in section 4(f) of the Bharatiya Nyaya Sanhita, 2023. This is the first time it appears as a statutory punishment in Indian criminal law. The BNS came into force on 1 July 2024 and replaced the Indian Penal Code, 1860.
The Bharatiya Nyaya Sanhita, 2023 introduced it. Section 4 of the BNS lists the punishments a court can impose, and community service is the sixth, at section 4(f). Its meaning is defined in the Explanation to section 23 of the Bharatiya Nagarik Suraksha Sanhita, 2023.
The Explanation to section 23 of the BNSS says it means the work the court may order a convict to perform as a form of punishment that benefits the community, for which he shall not be entitled to any remuneration. In short, it is unpaid work for the community's benefit, ordered as a sentence.
The BNS attaches it to a set of less serious offences. These include a public servant unlawfully engaging in trade (section 202), non-appearance in response to a proclamation (section 209), attempt to commit suicide to compel or restrain a public servant (section 226), petty theft by a first-time offender on restoration of the property (section 303(2)), and defamation (section 356(2)).
A court orders it. Under section 23 of the BNSS, a Magistrate of the first class may impose imprisonment up to 3 years, or a fine up to ₹50,000, or both, or community service. A Magistrate of the second class may impose imprisonment up to 1 year, or a fine up to ₹10,000, or both, or community service.
No. The Explanation to section 23 of the BNSS is clear that the convict shall not be entitled to any remuneration. The whole point is unpaid work that benefits the community, awarded as a punishment.
The Act does not fix a number of hours or a maximum duration. There is at present no separate central rulebook on the exact manner of community service. The court decides the nature and length of the work case by case. Treat any fixed hour figure you see online with caution.
A fine takes your money, a jail term takes your liberty, and community service takes your time through unpaid work that benefits the public. All three are punishments under section 4 of the BNS, but only community service keeps you in the community while you serve the sentence.
No. The Indian Penal Code, 1860 had no punishment called community service. It was added for the first time by the Bharatiya Nyaya Sanhita, 2023, which replaced the IPC on 1 July 2024.
No. Community service is itself a punishment under section 4 of the BNS and follows a conviction. Probation is a separate route where a first-time offender can be released on conditions, often without a jail sentence. They are different tools a court can use.