About Section 164
Section 164 CrPC lets a Magistrate record confessions and statements in the course of an investigation. Only the investigating agency can apply for a witness's statement to be recorded; a complainant who says the police misrecorded his statement cannot approach the Magistrate directly (Ramswaroop v. State of Rajasthan, S.B. Criminal Miscellaneous (Petition) No. 3545/2020, paras 15-16). The safeguards for a confession must be followed in letter and spirit, including time for reflection, and a mechanical recording is not substantial compliance (Babubhai Udesinh Parmar v. State of Gujarat, (2006) 12 SCC 268, paras 15-16); even then the court must look for circumstances casting doubt on voluntariness, and a retracted confession needs general corroboration (Parmananda Pegu v. State of Assam, (2004) 7 SCC 779, paras 18, 20-23).
Key Judgments
The Supreme Court acquitted a man sentenced to death for abducting and killing two boys, holding that his retracted judicial confession was uncorroborated and contradicted the medical evidence, so "it is not safe to convict the appellant solely on the basis of the alleged confession which has been retracted" (para 28). General corroboration of a retracted confession suffices (para 23).
In Kartar Singh v. State of Punjab, (1994) 3 SCC 569, the Supreme Court held that Parliament was competent to enact the Terrorist Affected Areas (Special Courts) Act, 1984 and the TADA Acts of 1985 and 1987, because the terrorism they address is more than a disturbance of public order (paras 68, 73, 78). By a majority it upheld section 15, which makes a confession to a Superintendent of Police admissible, subject to guidelines on voluntariness (paras 260, 263). It upheld the bail limits in sections 20(7) and 20(8), read knowledge into the definition of abet, and struck down section 22 (paras 134, 361, 368).
Related Sections
Sections indexed judgments have also cited alongside this one — a factual co-occurrence, not a claim that the provisions are legally related.

