A rescue raid is the loud part of the Immoral Traffic (Prevention) Act, 1956. What follows is quieter and constitutionally far harder. Once a person is removed under Section 15 or rescued under Section 16, the statute must answer three questions in sequence: who holds her in the gap before a magistrate sees the file, what the magistrate may order after inquiry, and where the line falls between protective care and disguised detention. Sections 17 to 22 supply that machinery: intermediate custody, the post-rescue inquiry, detention in a protective home, the inquiry into a parent or husband, voluntary applications, removal of a prostitute from an area, the licensing of protective homes, and the trial forum. This chapter walks the chain provision by provision, anchors each to verified authority, and flags where courts have insisted that “protection” must not curdle into punishment.

Where Sections 17-22 sit in the scheme of the Act

The penal core of the ITPA — keeping a brothel, living on the earnings of prostitution, and procuring, inducing or taking a person — punishes the exploiter. Sections 15 and 16 then create the operational arm: search of premises and rescue of a person being made to carry on prostitution. Sections 17 to 22 are the after-care and adjudication block. They presuppose that a body has already been removed or rescued and ask what the law does with that person and with the premises.

This sequencing matters for an exam answer. A common error is to treat Section 17 as a free-standing “detention” power. It is not. Section 17 is parasitic on Sections 15(4) and 16(1): it only operates “when the special police officer removing a person under sub-section (4) of section 15 or a police officer rescuing a person under sub-section (1) of section 16” cannot immediately produce that person before the appropriate magistrate. Read in isolation it is meaningless; read in chain it is the bridge between the raid and the courtroom.

The block is also where the Act's protective philosophy is most visible and most contested. The Supreme Court in Vishal Jeet v. Union of India, AIR 1990 SC 1412, framed prostitution as a socio-economic malaise calling for rehabilitation rather than mere punishment — a lens through which Sections 17, 19 and 21 are best read.

Section 17(1): intermediate custody before the nearest magistrate

Section 17(1) addresses a practical gap. A rescue may happen far from the “appropriate magistrate” who issued the order, or at an hour when that court is not sitting. Rather than let the officer improvise, the statute directs that where the officer is “for any reason unable to produce” the person before the appropriate magistrate as required by Section 15(5), or before the magistrate who issued the order under Section 16(2), he shall forthwith produce the person before the nearest magistrate of any class.

That nearest magistrate is not seized of the merits. His jurisdiction is narrow and custodial: he “shall pass such orders as he deems proper for the safe custody” of the person until she is produced before the appropriate magistrate. Two safeguards bound this interim power. First, custody under this head cannot exceed ten days from the date of the order. Second, and crucially, the rescued person must not be entrusted to the custody of any person likely to have a harmful influence over her — a guard against the obvious risk of handing a trafficked woman back to those who exploited her. The provision is thus a holding pen, not a verdict; it preserves the status quo so the substantive inquiry can take place before the right forum.

Section 17(2)-(3): the inquiry, age, and the power to detain

Once the person reaches the appropriate magistrate (under Section 15(5) or 16(2)), Section 17(2) requires a structured inquiry before any long-term order. The magistrate must give the person an opportunity of being heard and cause an inquiry to be made into (a) the correctness of the information, (b) the age, character and antecedents of the person, and (c) the suitability of her parents, guardian or husband for taking charge of her. The magistrate may, for this purpose, direct a probation officer to inquire and report. The hearing requirement is not a formality — it is the due-process spine of the section, because what follows can be a multi-year deprivation of liberty.

If, on that inquiry, the magistrate is satisfied that the information is correct and that the person is in need of care and protection, he may pass an order under Section 17(3) directing detention in a protective home, or other suitable custody, for a period that the rules permit — in practice framed in terms of one to three years — or release her on the supervision and care of a guardian found suitable. The orientation is rehabilitative: the magistrate is choosing a custodial home over a return to exploitation, not imposing a sentence. The Vishal Jeet Court's insistence that rescued inmates be moved to protective homes and given rehabilitation maps directly onto this power.

Section 17(4)-(5): the panel of five respectable persons

A distinctive feature of Section 17 is its attempt to civilianise the magistrate's discretion. Under Section 17(4), the magistrate may summon a panel of five respectable persons, three of whom shall wherever practicable be women, to assist him in discharging his functions under the section. The deliberate preference for women on the panel reflects the gendered reality that the persons before the court are overwhelmingly women and girls, and that a wholly male bench may misread their needs.

Section 17(5) preserves the rescued person's right to be represented by a legal practitioner during the inquiry. Together these subsections convert what could be a summary, paternalistic exercise into something closer to an adversarial, advised determination. For an exam, the examinable point is that the magistrate's satisfaction under Section 17 is assisted and contestable: a panel advises, counsel may appear, and the person must be heard. This is the statutory answer to the perennial criticism that “protective” custody can become arbitrary.

Section 17A: inquiry before restoring to parent, guardian or husband

Section 17A, inserted to plug a real-world loophole, recognises that the person most eager to “reclaim” a rescued woman may be the very person who trafficked her. It provides that before a magistrate restores a rescued person to a parent, guardian or husband, he must satisfy himself, through a recognised welfare institution or organisation, as to the capacity and genuineness of that claimant to keep charge of the person.

The provision is best understood alongside the bar in Section 17(1) against entrusting the person to anyone of harmful influence: Section 17A operationalises that caution at the restoration stage. A husband or guardian on paper is not enough; the welfare-organisation inquiry tests whether the relationship is real and whether handing the person over would simply re-deliver her into the exploitative custody she was rescued from. In answer-writing, cite Section 17A as the statute's verification gate — the point at which the Act refuses to take family ties at face value.

Section 18: closure of brothels and eviction of offenders

Section 18 turns from the person to the premises. It empowers a magistrate, on conviction of a person for an offence under Section 3 or Section 7 in respect of premises, or on receiving information that premises within 200 metres of a public place are being run as a brothel or used for prostitution, to act against the place itself. The magistrate issues notice to the owner, lessor or occupier to show cause within seven days why the premises should not be attached.

If, after hearing, the magistrate is satisfied that the premises were being used as a brothel, he may pass an order evicting the occupier within seven days and directing that the premises shall not be leased out or otherwise given possession for a period the order specifies. The standard restraint runs for one year; where a child or minor was found in the premises during a search, the bar may extend to three years. An innocent owner is protected: the premises may be restored with a direction that they not be let to the person who permitted the improper use. Section 18 orders are insulated from challenge in important respects — they are not appealable and cannot be stayed — reflecting the legislature's intent that closure be swift.

The constitutionality of Section 18 has been tested and upheld. Courts have treated it as a preventive measure aimed at minimising prostitution near public places rather than a punitive prosecution, and on that footing have rejected the argument that it offends Article 14. The provision sits naturally beside the offence of keeping a brothel: Section 3 punishes the keeper, Section 18 shuts the door.

Section 19: applying to be kept in a protective home

Not every entry into a protective home is coerced. Section 19 creates a voluntary route. A person who is carrying on, or is being made to carry on, prostitution may herself apply to the magistrate for an order that she be kept in a protective home, or in a corrective institution, or under supervision. Pending the inquiry, the magistrate may direct that she be kept in temporary custody.

On the application, the magistrate makes an inquiry — ordinarily aided by a probation officer's report into her character, home conditions and prospects of rehabilitation — and, if satisfied, directs that she be placed in a protective home, a corrective institution, or under the supervision of an appointed person, for the period the order specifies. The conceptual significance is that Section 19 reframes the protective home as a resource the person can claim, not only a place she can be sent. Read with the rehabilitative directions in Vishal Jeet and the dignity jurisprudence discussed below, Section 19 is the provision that most clearly treats the woman as a subject seeking refuge rather than an object of control.

Section 20: removal of a prostitute from any place

Section 20 is the most constitutionally fraught provision in the block. On information that a woman or girl residing in or frequenting a place within his jurisdiction is a prostitute, the magistrate may record the substance of that information and issue a notice requiring her to show cause why she should not be required to remove herself from the place and be prohibited from re-entering it. The recorded information must be served with the notice. After inquiry and an opportunity to lead evidence, if the magistrate is satisfied that she is a prostitute and that removal is necessary in the interest of the general public, he may by written order direct her to remove herself by a date not less than seven days away and prohibit re-entry without his written permission. Breach, harbouring or concealment attract penalty.

The provision was attacked as confiscatory of the right to reside and move freely. In State of Uttar Pradesh v. Kaushailya, AIR 1964 SC 416 (decided 1 October 1963), the Supreme Court upheld the corresponding Section 20 of the then Suppression of Immoral Traffic in Women and Girls Act, 1956. The Court held that the classification between a prostitute who is a source of nuisance or danger and other persons rested on an intelligible differentia having a rational nexus to the object of the Act, so Article 14 was not offended; and that the restraint on residence and movement was a reasonable restriction in the interest of the general public under the saving clauses of Article 19. Critically, the Court read the power narrowly — removal is justified not by the bare fact of being a prostitute but by the attendant nuisance or danger to the locality — and noted that the magistrate's order is subject to revision by the High Court. Kaushailya remains the leading authority on the validity of Section 20 and is the case examiners expect.

Section 21: protective homes and corrective institutions

Sections 17, 19 and 20 all funnel toward an institution — the protective home — and Section 21 is where that institution is constituted and disciplined. The State Government may establish as many protective homes and corrective institutions under the Act as it thinks fit and maintain them in the prescribed manner. The two are distinct in purpose: a protective home is for care, protection and rehabilitation; a corrective institution is for the correction and reform of persons detained after conviction.

The decisive feature of Section 21 is its licensing monopoly. No person or authority other than the State Government may establish or maintain a protective home or corrective institution except under, and in accordance with the conditions of, a licence. A licence is granted on terms the State imposes, including that management be entrusted to women wherever practicable; it runs for the period specified and may be renewed on an application made at least thirty days before expiry; it is non-transferable; and it may be revoked for breach after the licensee is heard. Running such an institution without a licence is itself penalised. Section 21 also carries the rule-making peg for the establishment, maintenance, management and superintendence of these homes and the powers and duties of their staff. The provision is the institutional guarantee behind the entire after-care scheme: without licensed, regulated homes, the detention powers of Sections 17 and 19 would have nowhere lawful to send anyone.

Section 22: the trial forum

Section 22 fixes the adjudicatory floor. No court inferior to that of a Metropolitan Magistrate or a Judicial Magistrate of the first class shall try any offence under Sections 3 to 7 of the Act. The provision reflects a legislative judgment that these offences — brothel-keeping, living on earnings, procuring, detaining and the rest — are serious enough to warrant a senior magistrate and should not be diluted to second-class courts. Where special facts require, governments may constitute special courts for the speedier trial of these offences, and the magistrate may follow the summary procedure where appropriate.

For the after-care chain this matters because the “appropriate magistrate” who conducts the Section 17 inquiry and the magistrate who tries the substantive offence both operate at this level of seniority, lending coherence to the rescue-inquiry-detention-trial sequence. Section 22 is short but examinable: the answer to “which court tries ITPA offences” is “not below a Metropolitan or first-class judicial magistrate.”

The constitutional fault line: protection or detention?

Run the block together and a tension emerges. Sections 17 and 19 detain people who have committed no offence — victims — in the name of care. Section 20 removes a person from her home on the basis of status. The Act calls all of this protection; a liberty-minded reading asks whether it is detention by another name. The judiciary's response has been to hold the provisions valid while reading in safeguards.

In Kaushailya the Court saved Section 20 only by tying removal to nuisance and danger rather than to status alone, and by stressing High Court revision. In Vishal Jeet v. Union of India, AIR 1990 SC 1412, the Court directed that rescued inmates and the children of prostitutes be moved to protective homes and rehabilitated, treating the protective-home machinery as a means of rescue rather than confinement. In Gaurav Jain v. Union of India, AIR 1997 SC 3021 / (1997) 8 SCC 114, the Court refused to segregate the children of prostitutes into separate institutions — insisting instead that they be mainstreamed into society — a caution that protective measures can themselves stigmatise. The throughline is that protective custody under Sections 17, 19 and 21 is constitutionally tolerable only so long as it is genuinely rehabilitative, time-bound, heard, and not a vehicle for warehousing the rescued.

The dignity overlay: Budhadev Karmaskar and after

The modern gloss on this block comes from the dignity jurisprudence built around Budhadev Karmaskar v. State of West Bengal, (2011) 11 SCC 538. What began as a criminal appeal over the murder of a sex worker became a long-running matter in which the Supreme Court held that sex workers are entitled to live with dignity under Article 21 and directed the Central and State Governments to frame technical-training and rehabilitation schemes. In subsequent orders, including those of May 2022, the Court emphasised that sex workers possess basic human and constitutional rights, that police must be sensitised, and that protective measures must not become instruments of harassment.

For Sections 17 to 22 the consequence is interpretive. A magistrate exercising the detention power under Section 17 or 19, or the removal power under Section 20, now does so against a constitutional backdrop that insists on dignity, consent where the person is an adult victim rather than an offender, and rehabilitation over confinement. The protective home contemplated by Section 21 must, on this reading, be a place of genuine rehabilitation conforming to the dignity standard, not merely a licensed building. Budhadev Karmaskar does not rewrite the sections, but it sets the lens through which their “protection” must now be measured.

How the provisions interlock: a walk-through

Trace a single case to see the chain. A raid under Section 15 removes a woman, or a rescue under Section 16 frees her, from premises that may also be a brothel. If the officer cannot reach the appropriate magistrate at once, Section 17(1) sends her to the nearest magistrate for safe custody capped at ten days, never to a person of harmful influence. Before the appropriate magistrate, Section 17(2)-(5) requires a heard inquiry — aided by a probation officer and, if convened, a five-member panel preferring women — into the truth of the information and her need for care; on satisfaction he may detain her in a protective home under Section 17(3). If a relative claims her, Section 17A demands a welfare-organisation check on the claimant's genuineness.

Meanwhile the premises face Section 18: a show-cause notice, possible eviction within seven days, and a one-year (or three-year, where a child was found) bar on re-letting. The woman may instead invoke Section 19 herself, seeking shelter in a protective home or corrective institution. Section 20 may be deployed to remove a prostitute who is a public nuisance from the locality, within the Kaushailya limits. Every institution in this story exists only because Section 21 licenses and regulates it, and the substantive offences are tried no lower than a first-class magistrate under Section 22. That is the after-care machinery of the ITPA in one breath.

Exam pointers and common traps

Three traps recur. First, do not call Section 17 a stand-alone detention power — it is triggered only by an inability to produce a person already removed under Section 15(4) or rescued under Section 16(1), and Section 17(1) custody is interim and capped at ten days. Second, do not say Section 20 was struck down. It was upheld in State of Uttar Pradesh v. Kaushailya, AIR 1964 SC 416, but on the narrow basis of nuisance-and-danger, not bare status — reproduce that ratio precisely. Third, keep Vishal Jeet (AIR 1990 SC 1412), Gaurav Jain (AIR 1997 SC 3021 / (1997) 8 SCC 114) and Budhadev Karmaskar ((2011) 11 SCC 538) in their lanes: Vishal Jeet ordered protective-home rehabilitation and advisory committees; Gaurav Jain refused segregation of prostitutes' children; Budhadev Karmaskar anchored the dignity-and-rehabilitation overlay under Article 21.

A high-scoring answer states the bare provision, then the constitutional gloss, then the verified case. For instance: “Section 20 empowers removal of a prostitute who is a nuisance; in Kaushailya the Supreme Court upheld it under Articles 14 and 19 by confining it to nuisance-causing prostitutes and noting High Court revision.” Pair the institutional provisions — Sections 17, 19, 21 — with Vishal Jeet and Budhadev Karmaskar to show that the protective-home regime is now read through a rehabilitative, dignity-centred constitutional lens. For the upstream offences these provisions service, revisit living on the earnings of prostitution and the foundational object and constitutional mandate of the Act.

Frequently asked questions

What is intermediate custody under Section 17 of the ITPA?

It is interim safe custody. When an officer who has removed a person under Section 15(4) or rescued one under Section 16(1) cannot produce her before the appropriate magistrate at once, Section 17(1) directs that she be produced forthwith before the nearest magistrate of any class, who orders safe custody until she reaches the appropriate magistrate. This interim custody cannot exceed ten days and the person must never be entrusted to anyone likely to have a harmful influence over her.

Can a magistrate detain a rescued person, and for how long?

Yes. After a heard inquiry under Section 17(2) into the correctness of the information and the person's need for care, the magistrate may under Section 17(3) order detention in a protective home or other suitable custody, framed in terms of one to three years, or release her to a guardian found suitable. The same protective-home placement may be ordered under Section 19 on the person's own application. The power is rehabilitative, not penal, and is exercised after hearing the person and ordinarily a probation officer's report.

Is Section 20 (removal of a prostitute from an area) constitutional?

Yes. In State of Uttar Pradesh v. Kaushailya, AIR 1964 SC 416, the Supreme Court upheld Section 20. It held that distinguishing a prostitute who is a source of nuisance or danger from other persons is an intelligible differentia with a rational nexus to the Act's object, so Article 14 is not breached, and that the restraint on residence and movement is a reasonable restriction in the public interest under Article 19. The power is confined to nuisance-causing prostitutes, not bare status, and the order is subject to High Court revision.

What is the difference between a protective home and a corrective institution under Section 21?

A protective home is an institution for the care, protection and rehabilitation of persons in need of it, while a corrective institution is for the correction and reform of persons detained after conviction. Section 21 lets only the State Government, or a person holding a State licence, establish or maintain either. Licences are non-transferable, run for a specified period renewable on thirty days' notice, may require management by women, and can be revoked for breach after a hearing.

Why does Section 17A require an inquiry before returning a rescued person to her family?

Because the person claiming a rescued woman may be the very trafficker who exploited her. Section 17A requires the magistrate to satisfy himself, through a recognised welfare institution, of the capacity and genuineness of a parent, guardian or husband before restoring the person to their charge. It operationalises Section 17(1)'s bar against entrusting the person to anyone of harmful influence, so that family ties are verified rather than assumed.

How do Vishal Jeet, Gaurav Jain and Budhadev Karmaskar shape these provisions?

They supply the constitutional lens. Vishal Jeet v. Union of India, AIR 1990 SC 1412, directed that rescued inmates and children of prostitutes be placed in protective homes and rehabilitated and set up advisory committees. Gaurav Jain v. Union of India, AIR 1997 SC 3021 / (1997) 8 SCC 114, refused to segregate prostitutes' children into separate institutions, insisting they be mainstreamed. Budhadev Karmaskar v. State of West Bengal, (2011) 11 SCC 538, held sex workers entitled to dignity under Article 21 and directed rehabilitation schemes. Together they require the Section 17, 19 and 21 machinery to be read as genuinely rehabilitative, not confinement.