India
There are two classifications of magistrates: judicial magistrates, who are part of the judiciary (court), and executive magistrates, who are government administrative officials and belong to the executive branch of the government.
There are four categories of magistrates in the judiciary of India. This classification is given in the Criminal Procedure Code, 1973 (CrPC). It stipulates that in each sessions district, there shall be:
a chief judicial magistrate
a sub-divisional judicial magistrate (SD-JM)
a judicial magistrates first class (JFCM/JM-FC)
The chief judicial magistrate [CJM] (including additional chief judicial magistrates) hear all types of criminal cases. All magistrates' courts are controlled by the CJM who looks over the work of judicial magistrates, but cannot take any action against them. The CJM can only report the misbehavior of judicial magistrates to the High Court. A court of chief judicial magistrates can sentence a person to jail for up to seven years and impose fines up to any amount. The CJM is the most senior magistrate in their district.
There is a sub-divisional judicial magistrate (SDJM) in every subdivision. They hear cases related to the Dowry Act, EC Act, and other criminal cases. They also maintain and control the judicial court below them. A court of sub-divisional judicial magistrates may sentence a person to imprisonment for up to three years and impose a fine of up to ₹10,000 (US$100). Judicial magistrates can try criminal cases.
A judicial magistrate of first class (also known as judicial first class magistrate) can sentence a person to jail for up to three years and impose a fine of up to ₹10,000 (US$100).
An executive magistrate is an officer of the executive branch of the state government (e.g., government department, typically the land revenue department) rather than the Judicial branch. The primary mandate of an Executive Magistrate is to preserve public tranquility and prevent any actions that may disrupt peace and order. They are vested with specific powers under both the Bharatiya Nagarik Suraksha Sanhita (BNSS - the "Indian Citizen Safety Code") and the Bharatiya Nyaya Sanhita (BNS - the "Indian Justice Code"). These powers are conferred by Sections 125–129, 152, 163, 164 and 166 of the BNSS. They are distinct from Judicial Magistrates, who preside over courts, conduct trials and try criminal cases. These officers cannot try any accused nor pass verdicts. A person arrested on the orders of a court located outside the local jurisdiction should be produced before an executive magistrate who can also set the bail amount for the arrested individual to avoid police custody, depending on the terms of the warrant. The executive magistrate also can pass orders restraining persons from committing a particular act or preventing persons from entering an area (Section 163, BNSS). There is no specific provision to order a "curfew". The executive magistrates alone are authorised to use force against people. In plain language, they alone can disperse an "unlawful assembly". Technically, the police are to assist the executive magistrate. Executive magistrates can dictate to the police the manner of force (baton charge, tear gas, blank fire, firing) and how much force should be used. They can also seek the assistance of the armed forces to quell a riot.
There are, in each revenue district (as opposed to a sessions district) the following kinds of executive magistrates:
a district magistrate (DM)
two or more additional district magistrates (ADM)
four or more sub-divisional magistrates (SDM)
at least ten executive magistrates
All of the executive magistrates of the district, except the ADM, are under the control of the DM.
These magistrates are normally conferred on the officers of the Revenue Department, although an officer can be appointed exclusively as an executive magistrate. Normally, the collector of the district is appointed as the DM. Similarly, the sub-collectors/sub divisional officers are appointed as the SDMs. Tehsildars and deputy/additional tehsildars are appointed as executive magistrates.
In some metropolitan areas, the government has conferred specific or full powers of an Executive Magistrate upon Police Commissioners and their deputies within the police commissionerate system.
The BNSS, 2023 (Section 15) allows state governments to appoint "Special Executive Magistrates." These can be either existing Executive Magistrates or senior police officers (Superintendent of Police or higher). They are appointed for specific areas or duties and are granted certain powers of Executive Magistrates, as determined by the state government. Their appointment is for a term decided by the state.
Under the old CrPC, there was no distinction between the executive and judicial magistrates and some states still follow the old CrPC.