Syllabus
Respondent inmates brought this class action in Federal District Court challenging the constitutionality of numerous conditions of confinement and practices in the Metropolitan Correctional Center (MCC), a federally operated short-term custodial facility in New York City designed primarily to house pretrial detainees. The District Court, on various constitutional grounds, enjoined, inter alia, the practice of housing, primarily for sleeping purposes, two inmates in individual rooms originally intended for single occupancy ("double-bunking"); enforcement of the so-called "publisher-only" rule prohibiting inmates from receiving hard-cover books that are not mailed directly from publishers, book clubs, or bookstores; the prohibition against inmates' receipt of packages of food and personal items from outside the institution; the practice of body-cavity searches of inmates following contact visits with person from outside institution; and the requirement that pretrial detainees remain outside their rooms during routine inspections by MCC officials. The Court of Appeals affirmed these rulings, holding with respect to the "double-bunking" practice that the MCC had failed to make a showing of "compelling necessity" sufficient to justify such practice.
Held :
1. The "double-bunking" practice does not deprive pretrial detainees of their liberty without due process of law in contravention of the Fifth Amendment. Pp. 530-543.
(a) There is no source in the Constitution for the Court of Appeals' compelling-necessity standard. Neither the presumption of innocence, the Due Process Clause of the Fifth Amendment, nor a pretrial detainee's right to be free from punishment provides any basis for such standard. Pp. 531-535.
(b) In evaluating the constitutionality of conditions or restrictions of pretrial detention that implicates only the protection against deprivation of liberty without due process of law, the proper inquiry is whether those conditions or restrictions amount to punishment of the detainee. Absent a showing of an expressed intent to punish, if a particular condition or restriction is reasonably related to a legitimate nonpunitive governmental objective, it does not, without more, amount to "punishment," but, conversely, if a condition or restriction is arbitrary or purposeless, a court may permissibly infer that the purpose of the governmental action is punishment that may not constitutionally be inflicted upon detainees qua detainees. In addition to ensuring the detainees' presence at trial, the effective management of the detention facility once the individual is confined is a valid objective that may justify imposition of conditions and restrictions of pretrial detention and dispel any inference that such conditions and restrictions are intended as punishment. Pp. 535-540.
(c) Judged by the above analysis and on the record, "double-bunking" as practiced at the MCC did not, as a matter of law, amount to punishment and hence did not violate respondents' rights under the Due Process Clause of the Fifth Amendment. While "double-bunking" may have taxed some of the equipment or particular facilities in certain of the common areas in the MCC, this does not mean that the conditions at the MCC failed to meet the standards required by the Constitution, particularly where it appears that nearly all pretrial detainees are released within 60 days. Pp. 541-543.
2. Nor do the "publisher-only" rule, body-cavity searches, the prohibition against the receipt of packages, or the room-search rule violate any constitutional guarantees. Pp. 544-562.
(a) Simply because prison inmates retain certain constitutional rights does not mean that these rights are not subject to restrictions and limitations. There must be a "mutual accommodation between institutional needs and objectives and the provisions of the Constitution that are of general application," Wolff v. McDonnell, 418 U.S. 539, 556, 94 S.Ct. 2963, 2975, 41 L.Ed.2d 935, and this principle applies equally to pretrial detainees and convicted prisoners. Maintaining institutional security and preserving internal order and discipline are essential goals that may require limitation or retraction of the retained constitutional rights of both convicted prisoners and pretrial detainees. Since problems that arise in the day-to-day operation of a corrections facility are not susceptible of easy solutions, prison administrators should be accorded wide-ranging deference in the adoption and execution of policies and practices that in their judgment are needed to preserve internal order and discipline and to maintain institutional security. Pp. 544-548.
[SCQ!]] (b) The "publisher-only" rule does not violate the First Amendment rights of MCC inmates but is a rational response by prison officials to the obvious security problem of preventing the smuggling of contraband in books sent from outside. Moreover, such rule operates in a neutral fashion, without regard to the content of the expression, there are alternative means of obtaining reading material, and the rule's impact on pretrial detainees is limited to a maximum period of approximately 60 days. Pp. 548-552. (c) The restriction against the receipt of packages from outside the facility does not deprive pretrial detainees of their property without due process of law in contravention of the Fifth Amendment, especially in view of the obvious fact that such packages are handy devices for the smuggling of contraband. Pp. 553-555.
(d) Assuming that a pretrial detainee retains a diminished expectation of privacy after commitment to a custodial facility, the room-search rule does not violate the Fourth Amendment but simply facilitates the safe and effective performance of the searches and thus does not render the searches "unreasonable" within the meaning of that Amendment. Pp. 555-557.
(e) Similarly, assuming that pretrial detainees retain some Fourth Amendment rights upon commitment to a corrections facility, the body-cavity searches do not violate that Amendment. Balancing the significant and legitimate security interests of the institution against the inmates' privacy interests, such searches can be conducted on less than probable cause and are not unreasonable. Pp. 558-560.
(f) None of the security restrictions and practices described above constitute "punishment" in violation of the rights of pretrial detainees under the Due Process Clause of the Fifth Amendment. These restrictions and practices were reasonable responses by MCC officials to legitimate security concerns, and, in any event, were of only limited duration so far as the pretrial detainees were concerned. Pp. 560-562.
2 Cir., 573 F.2d 118, reversed and remanded.
Andrew L. Frey, Washington, D. C., for petitioners.
Phylis Skloot Bamberger, New York City, for respondents.
Mr. Justice REHNQUIST delivered the opinion of the Court.
Over the past five Terms, this Court has in several decisions considered constitutional challenges to prison conditions or practices by convicted prisoners.1 This case requires us to examine the constitutional rights of pretrial detainees—those persons who have been charged with a crime but who have not yet been tried on the charge. The parties concede that to ensure their presence at trial, these persons legitimately may be incarcerated by the Government prior to a determination of their guilt or innocence, infra, at 533-535, and n. 15; see 18 U.S.C. §§ 3146, 3148, and it is the scope of their rights during this period of confinement prior to trial that is the primary focus of this case.
This lawsuit was brought as a class action in the United States District Court for the Southern District of New York to challenge numerous conditions of confinement and practices at the Metropolitan Correctional Center (MCC), a federally operated short-term custodial facility in New York City designed primarily to house pretrial detainees. The District Court, in the words of the Court of Appeals for the Second Circuit, "intervened broadly into almost every facet of the institution" and enjoined no fewer than 20 MCC practices on constitutional and statutory grounds. The Court of Appeals largely affirmed the District Court's constitutional rulings and in the process held that under the Due Process Clause of the Fifth Amendment, pretrial detainees may "be subjected to only those 'restrictions and privations' which 'inhere in their confinement itself or which are justified by compelling necessities of jail administration.' " Wolfish v. Levi, 573 F.2d 118, 124 (1978), quoting Rhem v. Malcolm, 507 F.2d 333, 336 (CA2 1974). We granted certiorari to consider the important constitutional questions raised by these decisions and to resolve an apparent conflict among the Circuits.2 439 U.S. 816, 99 S.Ct. 76, 58 L.Ed.2d 107 (1978). We now reverse.
* The MCC was constructed in 1975 to replace the converted waterfront garage on West Street that had served as New York City's federal jail since 1928. It is located adjacent to the Foley Square federal courthouse and has as its primary objective the housing of persons who are being detained in custody prior to trial for federal criminal offenses in the United States District Courts for the Southern and Eastern Districts of New York and for the District of New Jersey. Under the Bail Reform Act, 18 U.S.C. § 3146, a person in the federal system is committed to a detention facility only because no other less drastic means can reasonably ensure his presence at trial. In addition to pretrial detainees, the MCC also houses some convicted inmates who are awaiting sentencing or transportation to federal prison or who are serving generally relatively short sentences in a service capacity at the MCC, convicted prisoners who have been lodged at the facility under writs of habeas corpus ad prosequendum or ad testificandum issued to ensure their presence at upcoming trials, witnesses in protective custody, and persons incarcerated for contempt.3
The MCC differs markedly from the familiar image of a jail; there are no barred cells, dank, colorless corridors, or clanging steel gates. It was intended to include the most advanced and innovative features of modern design of detention facilities. As the Court of Appeals stated: "[I]t represented the architectural embodiment of the best and most progressive penological planning." 573 F.2d, at 121. The key design element of the 12-story structure is the "modular" or "unit" concept, whereby each floor designed to house inmates has one or two largely self-contained residential units that replace the traditional cellblock jail construction. Each unit in turn has several clusters or corridors of private rooms or dormitories radiating from a central 2-story "multipurpose" or common room, to which each inmate has free access approximately 16 hours a day. Because our analysis does not turn on the particulars of the MCC concept or design, we need not discuss them further.
When the MCC opened in August 1975, the planned capacity was 449 inmates, an increase of 50% over the former West Street facility. Id., at 122. Despite some dormitory accommodations, the MCC was designed primarily to house these inmates in 389 rooms, which originally were intended for single occupancy. While the MCC was under construction, however, the number of persons committed to pretrial detention began to rise at an "unprecedented" rate. Ibid. The Bureau of Prisons took several steps to accommodate this unexpected flow of persons assigned to the facility, but despite these efforts, the inmate population at the MCC rose above its planned capacity within a short time after its opening. To provide sleeping space for this increased population, the MCC replaced the single bunks in many of the individual rooms and dormitories with double bunks.4 Also, each week some newly arrived inmates had to sleep on cots in the common areas until they could be transferred to residential rooms as space became available. See id., at 127-128.
On November 28, 1975, less than four months after the MCC had opened, the named respondents initiated this action by filing in the District Court a petition for a writ of habeas corpus.5 The District Court certified the case as a class action on behalf of all persons confined at the MCC, pretrial detainees and sentenced prisoners alike.6 The petition served up a veritable potpourri of complaints that implicated virtually every facet of the institution's conditions and practices. Respondents charged, inter alia, that they had been deprived of their statutory and constitutional rights because of overcrowded conditions, undue length of confinement, improper searches, inadequate recreational, educational, and employment opportunities, insufficient staff, and objectionable restrictions on the purchase and receipt of personal items and books.7
In two opinions and a series of orders, the District Court enjoined numerous MCC practices and conditions. With respect to pretrial detainees, the court held that because they are "presumed to be innocent and held only to ensure their presence at trial, 'any deprivation or restriction of * * * rights beyond those which are necessary for confinement alone, must be justified by a compelling necessity.' " United States ex rel. Wolfish v. Levi, 439 F.Supp. 114, 124 (1977), quoting Detainees of Brooklyn House of Detention v. Malcolm, 520 F.2d 392, 397 (CA2 1975). And while acknowledging that the rights of sentenced inmates are to be measured by the different standard of the Eighth Amendment, the court declared that to house "an inferior minority of persons . . . in ways found unconstitutional for the rest" would amount to cruel and unusual punishment. United States ex rel. Wolfish v. United States, 428 F.Supp. 333, 339 (1977).8
Applying these standards on cross-motions for partial summary judgment, the District Court enjoined the practice of housing two inmates in the individual rooms and prohibited enforcement of the so-called "publisher-only" rule, which at the time of the court's ruling prohibited the receipt of all books and magazines mailed from outside the MCC except those sent directly from a publisher or a book club.9 After a trial on the remaining issues, the District Court enjoined, inter alia, the doubling of capacity in the dormitory areas, the use of the common rooms to provide temporary sleeping accommodations, the prohibition against inmates' receipt of packages containing food and items of personal property, and the practice of requiring inmates to expose their body cavities for visual inspection following contact visits. The court also granted relief in favor of pretrial detainees, but not convicted inmates, with respect to the requirement that detainees remain outside their rooms during routine inspections by MCC officials.10
The Court of Appeals largely affirmed the District Court's rulings, although it rejected that court's Eighth Amendment analysis of conditions of confinement for convicted prisoners because the "parameters of judicial intervention into . . . conditions . . . for sentenced prisoners are more restrictive than in the case of pretrial detainees." 573 F.2d, at 125.11 Accordingly, the court remanded the matter to the District Court for it to determine whether the housing for sentenced inmates at the MCC was constitutionally "adequate." But the Court of Appeals approved the due process standard employed by the District Court in enjoining the conditions of pretrial confinement. It therefore held that the MCC had failed to make a showing of "compelling necessity" sufficient to justify housing two pretrial detainees in the individual rooms. Id., at 126-127. And for purposes of our review (since petitioners challenge only some of the Court of Appeals' rulings), the court affirmed the District Court's granting of relief against the "publisher-only" rule, the practice of conducting body-cavity searches after contact visits, the prohibition against receipt of packages of food and personal items from outside the institution, and the requirement that detainees remain outside their rooms during routine searches of the rooms by MCC officials. Id., at 129-132.12
II
As a first step in our decision, we shall address "double-bunking" as it is referred to by the parties, since it is a condition of confinement that is alleged only to deprive pretrial detainees of their liberty without due process of law in contravention of the Fifth Amendment. We will treat in order the Court of Appeals' standard of review, the analysis which we believe the Court of Appeals should have employed, and the conclusions to which our analysis leads us in the case of "double-bunking."
A.
The Court of Appeals did not dispute that the Government may permissibly incarcerate a person charged with a crime but not yet convicted to ensure his presence at trial. However, reasoning from the "premise that an individual is to be treated as innocent until proven guilty," the court concluded that pretrial detainees retain the "rights afforded unincarcerated individuals," and that therefore it is not sufficient that the conditions of confinement for pretrial detainees "merely comport with contemporary standards of decency prescribed by the cruel and unusual punishment clause of the eighth amendment." 573 F.2d, at 124. Rather, the court held, the Due Process Clause requires that pretrial detainees "be subjected to only those 'restrictions and privations' which 'inhere in their confinement itself or which are justified by compelling necessities of jail administration.' " Ibid., quoting Rhem v. Malcolm, 507 F.2d, at 336. Under the Court of Appeals' "compelling necessity" standard, "deprivation of the rights of detainees cannot be justified by the cries of fiscal necessity, . . . administrative convenience, . . . or by the cold comfort that conditions in other jails are worse." 573 F.2d, at 124. The court acknowledged, however, that it could not "ignore" our admonition in Procunier v. Martinez, 416 U.S. 396, 405, 94 S.Ct. 1800, 1807, 40 L.Ed.2d 224 (1974), that "courts are ill equipped to deal with the increasingly urgent problems of prison administration," and concluded that it would "not [be] wise for [it] to second-guess the expert administrators on matters on which they are better informed." 573 F.2d, at 124.13
Our fundamental disagreement with the Court of Appeals is that we fail to find a source in the Constitution for its compelling-necessity standard.14 Both the Court of Appeals and the District Court seem to have relied on the "presumption of innocence" as the source of the detainee's substantive right to be free from conditions of confinement that are not justified by compelling necessity. 573 F.2d, at 124; 439 F.Supp., at 124; accord, Campbell v. McGruder, 188 U.S.App.D.C. 258, 266, 580 F.2d 521, 529 (1978); Detainees of Brooklyn House of Detention v. Malcolm, 520 F.2d 392, 397 (CA2 1975); Rhem v. Malcolm, supra, 507 F.2d, at 336. But see Feeley v. Sampson, 570 F.2d 364, 369 n. 4 (CA1 1978); Hampton v. Holmesburg Prison Officials, 546 F.2d 1077, 1080 n. 1 (CA3 1976). But the presumption of innocence provides no support for such a rule.
The presumption of innocence is a doctrine that allocates the burden of proof in criminal trials; it also may serve as an admonishment to the jury to judge an accused's guilt or innocence solely on the evidence adduced at trial and not on the basis of suspicions that may arise from the fact of his arrest, indictment, or custody, or from other matters not introduced as proof at trial. Taylor v. Kentucky, 436 U.S. 478, 485, 98 S.Ct. 1930, 1935, 56 L.Ed.2d 468 (1978); see Estelle v. Williams, 425 U.S. 501, 96 S.Ct. 1691, 48 L.Ed.2d 126 (1976); In re Winship, 397 U.S. 358, 90 S.Ct. 1068, 25 L.Ed.2d 368 (1970); 9 J. Wigmore, Evidence § 2511 (3d ed. 1940). It is "an inaccurate, shorthand description of the right of the accused to 'remain inactive and secure, until the prosecution has taken up its burden and produced evidence and effected persuasion; . . .' an 'assumption' that is indulged in the absence of contrary evidence." Taylor v. Kentucky, supra, 436 U.S., at 484, n. 12, 98 S.Ct., at 1934, n. 12. Without question, the presumption of innocence plays an important role in our criminal justice system. "The principle that there is a presumption of innocence in favor of the accused is the undoubted law, axiomatic and elementary, and its enforcement lies at the foundation of the administration of our criminal law." Coffin v. United States, 156 U.S. 432, 453, 15 S.Ct. 394, 403, 39 L.Ed. 481 (1895). But it has no application to a determination of the rights of a pretrial detainee during confinement before his trial has even begun.
The Court of Appeals also relied on what it termed the "indisputable rudiments of due process" in fashioning its compelling-necessity test. We do not doubt that the Due Process Clause protects a detainee from certain conditions and restrictions of pretrial detainment. See infra, at 535-540. Nonetheless, that Clause provides no basis for application of a compelling-necessity standard to conditions of pretrial confinement that are not alleged to infringe any other, more specific guarantee of the Constitution.
It is important to focus on what is at issue here. We are not concerned with the initial decision to detain an accused and the curtailment of liberty that such a decision necessarily entails. See Gerstein v. Pugh, 420 U.S. 103, 114, 95 S.Ct. 854, 863, 43 L.Ed.2d 54 (1975); United States v. Marion, 404 U.S. 307, 320, 92 S.Ct. 455, 463, 30 L.Ed.2d 468 (1971). Neither respondents nor the courts below question that the Government may permissibly detain a person suspected of committing a crime prior to a formal adjudication of guilt. See Gerstein v. Pugh, supra, 420 U.S., at 111-114, 95 S.Ct., at 861-863. Nor do they doubt that the Government has a substantial interest in ensuring that persons accused of crimes are available for trials and, ultimately, for service of their sentences, or that confinement of such persons pending trial is a legitimate means of furthering that interest. Tr. of Oral Arg. 27; see Stack v. Boyle, 342 U.S. 1, 4, 72 S.Ct. 1, 3, 96 L.Ed. 3 (1951).15 Instead, what is at issue when an aspect of pretrial detention that is not alleged to violate any express guarantee of the Constitution is challenged, is the detainee's right to be free from punishment, see infra, at 535-537, and his understandable desire to be as comfortable as possible during his confinement, both of which may conceivably coalesce at some point. It seems clear that the Court of Appeals did not rely on the detainee's right to be free from punishment, but even if it had that right does not warrant adoption of that court's compelling-necessity test. See infra, at 535-540. And to the extent the court relied on the detainee's desire to be free from discomfort, it suffices to say that this desire simply does not rise to the level of those fundamental liberty interests delineated in cases such as Roe v. Wade, 410 U.S. 113, 93 S.Ct. 705, 35 L.Ed.2d 147 (1973); Eisenstadt v. Baird, 405 U.S. 438, 92 S.Ct. 1029, 31 L.Ed.2d 349 (1972); Stanley v. Illinois, 405 U.S. 645, 92 S.Ct. 1208, 31 L.Ed.2d 551 (1972); Griswold v. Connecticut, 381 U.S. 479, 85 S.Ct. 1678, 14 L.Ed.2d 510 (1965); Meyer v. Nebraska, 262 U.S. 390, 43 S.Ct. 625, 67 L.Ed. 1042 (1923).
B
In evaluating the constitutionality of conditions or restrictions of pretrial detention that implicate only the protection against deprivation of liberty without due process of law, we think that the proper inquiry is whether those conditions amount to punishment of the detainee.16 For under the Due Process Clause, a detainee may not be punished prior to an adjudication of guilt in accordance with due process of law.17 See Ingraham v. Wright, 430 U.S. 651, 671-672 n. 40, 674, 97 S.Ct. 1401, 1412-1413 n. 40, 1414, 51 L.Ed.2d 711 (1977); Kennedy v. Mendoza-Martinez, 372 U.S. 144, 165-167, 186, 83 S.Ct. 554, 565-567, 576, 9 L.Ed.2d 644 (1963); Wong Wing v. United States, 163 U.S. 228, 237, 16 S.Ct. 977, 980, 41 L.Ed. 140 (1896). A person lawfully committed to pretrial detention has not been adjudged guilty of any crime. He has had only a "judicial determination of probable cause as a prerequisite to [the] extended restraint of [his] liberty following arrest." Gerstein v. Pugh, supra, 420 U.S., at 114, 95 S.Ct., at 863; see Virginia v. Paul, 148 U.S. 107, 119, 13 S.Ct. 536, 540, 37 L.Ed. 386 (1893). And, if he is detained for a suspected violation of a federal law, he also has had a bail hearing. See 18 U.S.C. §§ 3146, 3148.18 Under such circumstances, the Government concededly may detain him to ensure his presence at trial and may subject him to the restrictions and conditions of the detention facility so long as those conditions and restrictions do not amount to punishment, or otherwise violate the Constitution.
Not every disability imposed during pretrial detention amounts to "punishment" in the constitutional sense, however. Once the Government has exercised its conceded authority to detain a person pending trial, it obviously is entitled to employ devices that are calculated to effectuate this detention. Traditionally, this has meant confinement in a facility which, no matter how modern or how antiquated, results in restricting the movement of a detainee in a manner in which he would not be restricted if he simply were free to walk the streets pending trial. Whether it be called a jail, a prison, or a custodial center, the purpose of the facility is to detain. Loss of freedom of choice and privacy are inherent incidents of confinement in such a facility. And the fact that such detention interferes with the detainee's understandable desire to live as comfortably as possible and with as little restraint as possible during confinement does not convert the conditions or restrictions of detention into "punishment."
This Court has recognized a distinction between punitive measures that may not constitutionally be imposed prior to a determination of guilt and regulatory restraints that may. See, e. g., Kennedy v. Mendoza-Martinez, supra, 372 U.S., at 168, 83 S.Ct., at 567; Flemming v. Nestor, 363 U.S. 603, 613-614, 80 S.Ct. 1367, 1374-1375, 4 L.Ed.2d 1435 (1960); cf. De Veau v. Braisted, 363 U.S. 144, 160, 80 S.Ct. 1146, 1154, 4 L.Ed.2d 1109 (1960). In Kennedy v. Mendoza-Martinez, supra, the Court examined the automatic forfeiture-of-citizenship provisions of the immigration laws to determine whether that sanction amounted to punishment or a mere regulatory restraint. While it is all but impossible to compress the distinction into a sentence or a paragraph, the Court there described the tests traditionally applied to determine whether a governmental act is punitive in nature:
"Whether the sanction involves an affirmative disability or restraint, whether it has historically been regarded as a punishment, whether it comes into play only on a finding of scienter, whether its operation will promote the traditional aims of punishment—retribution and deterrence, whether the behavior to which it applies is already a crime, whether an alternative purpose to which it may rationally be connected is assignable for it, and whether it appears excessive in relation to the alternative purpose assigned are all relevant to the inquiry, and may often point in differing directions." 372 U.S., at 168-169, 83 S.Ct., at 567-568 (footnotes omitted).
Because forfeiture of citizenship traditionally had been considered punishment and the legislative history of the forfeiture provisions "conclusively" showed that the measure was intended to be punitive, the Court held that forfeiture of citizenship in such circumstances constituted punishment that could not constitutionally be imposed without due process of law. Id., at 167-170, 186, 83 S.Ct., at 566-569, 576.
The factors identified in Mendoza-Martinez provide useful guideposts in determining whether particular restrictions and conditions accompanying pretrial detention amount to punishment in the constitutional sense of that word. A court must decide whether the disability is imposed for the purpose of punishment or whether it is but an incident of some other legitimate governmental purpose. See Flemming v. Nestor, supra, 363 U.S., at 613-617, 80 S.Ct., at 1374-1376.19 Absent a showing of an expressed intent to punish on the part of detention facility officials, that determination generally will turn on "whether an alternative purpose to which [the restriction] may rationally be connected is assignable for it, and whether it appears excessive in relation to the alternative purpose assigned [to it]." Kennedy v. Mendoza-Martinez, 372 U.S., at 168-169, 83 S.Ct., at 567-568; see Flemming v. Nestor, supra, 363 U.S., at 617, 80 S.Ct., at 1376. Thus, if a particular condition or restriction of pretrial detention is reasonably related to a legitimate governmental objective, it does not, without more, amount to "punishment."20 Conversely, if a restriction or condition is not reasonably related to a legitimate goal—if it is arbitrary or purposeless—a court permissibly may infer that the purpose of the governmental action is punishment that may not constitutionally be inflicted upon detainees qua detainees. See ibid.21 Courts must be mindful that these inquiries spring from constitutional requirements and that judicial answers to them must reflect that fact rather than a court's idea of how best to operate a detention facility. Cf. United States v. Lovasco, 431 U.S. 783, 790, 97 S.Ct. 2044, 2049, 52 L.Ed.2d 752 (1977); United States v. Russell, 411 U.S. 423, 435, 93 S.Ct. 1637, 1644, 36 L.Ed.2d 366 (1973).
One further point requires discussion. The petitioners assert, and respondents concede, that the "essential objective of pretrial confinement is to insure the detainees' presence at trial." Brief for Petitioners 43; see Brief for Respondents 33. While this interest undoubtedly justifies the original decision to confine an individual in some manner, we do not accept respondents' argument that the Government's interest in ensuring a detainee's presence at trial is the only objective that may justify restraints and conditions once the decision is lawfully made to confine a person. "If the government could confine or otherwise infringe the liberty of detainees only to the extent necessary to ensure their presence at trial, house arrest would in the end be the only constitutionally justified form of detention." Campbell v. McGruder, 188 U.S.App.D.C., at 266, 580 F.2d, at 529. The Government also has legitimate interests that stem from its need to manage the facility in which the individual is detained. These legitimate operational concerns may require administrative measures that go beyond those that are, strictly speaking, necessary to ensure that the detainee shows up at trial. For example, the Government must be able to take steps to maintain security and order at the institution and make certain no weapons or illicit drugs reach detainees.22 Restraints that are reasonably related to the institution's interest in maintaining jail security do not, without more, constitute unconstitutional punishment, even if they are discomforting and are restrictions that the detainee would not have experienced had he been released while awaiting trial. We need not here attempt to detail the precise extent of the legitimate governmental interests that may justify conditions or restrictions of pretrial detention. It is enough simply to recognize that in addition to ensuring the detainees' presence at trial, the effective management of the detention facility once the individual is confined is a valid objective that may justify imposition of conditions and restrictions of pretrial detention and dispel any inference that such restrictions are intended as punishment.23
C
Judged by this analysis, respondents' claim that "double-bunking" violated their due process rights fails. Neither the District Court nor the Court of Appeals intimated that it considered "double-bunking" to constitute punishment; instead, they found that it contravened the compelling-necessity test, which today we reject. On this record, we are convinced as a matter of law that "double-bunking" as practiced at the MCC did not amount to punishment and did not, therefore, violate respondents' rights under the Due Process Clause of the Fifth Amendment.24
Each of the rooms at the MCC that house pretrial detainees has a total floor space of approximately 75 square feet. Each of them designated for "double-bunking," see n. 4, supra, contains a double bunkbed, certain other items of furniture, a wash basin, and an uncovered toilet. Inmates generally are locked into their rooms from 11 p.m. to 6:30 a.m. and for brief periods during the afternoon and evening head counts. During the rest of the day, they may move about freely between their rooms and the common areas.
Based on affidavits and a personal visit to the facility, the District Court concluded that the practice of "double-bunking" was unconstitutional. The court relied on two factors for its conclusion: (1) the fact that the rooms were designed to house only one inmate, 428 F.Supp., at 336-337; and (2) its judgment that confining two persons in one room or cell of this size constituted a "fundamental denia[l] of decency, privacy, personal security, and, simply, civilized humanity . . . ." Id., at 339. The Court of Appeals agreed with the District Court. In response to petitioners' arguments that the rooms at the MCC were larger and more pleasant than the cells involved in the cases relied on by the District Court, the Court of Appeals stated:
"[W]e find the lack of privacy inherent in double-celling in rooms intended for one individual a far more compelling consideration than a comparison of square footage or the substitution of doors for bars, carpet for concrete, or windows for walls. The government has simply failed to show any substantial justification for double-celling." 573 F.2d, at 127.
We disagree with both the District Court and the Court of Appeals that there is some sort of "one man, one cell" principle lurking in the Due Process Clause of the Fifth Amendment. While confining a given number of people in a given amount of space in such a manner as to cause them to endure genuine privations and hardship over an extended period of time might raise serious questions under the Due Process Clause as to whether those conditions amounted to punishment, nothing even approaching such hardship is shown by this record.25
Detainees are required to spend only seven or eight hours each day in their rooms, during most or all of which they presumably are sleeping. The rooms provide more than adequate space for sleeping.26 During the remainder of the time, the detainees are free to move between their rooms and the common area. While "double-bunking" may have taxed some of the equipment or particular facilities in certain of the common areas, United States ex rel. Wolfish v. United States, 428 F.Supp., at 337, this does not mean that the conditions at the MCC failed to meet the standards required by the Constitution. Our conclusion in this regard is further buttressed by the detainees' length of stay at the MCC. See Hutto v. Finney, 437 U.S. 678, 686-687, 98 S.Ct. 2565, 2571-2572, 57 L.Ed.2d 522 (1978). Nearly all of the detainees are released within 60 days. See n. 3, supra. We simply do not believe that requiring a detainee to share toilet facilities and this admittedly rather small sleeping place with another person for generally a maximum period of 60 days violates the Constitution.27
III
Respondents also challenged certain MCC restrictions and practices that were designed to promote security and order at the facility on the ground that these restrictions violated the Due Process Clause of the Fifth Amendment, and certain other constitutional guarantees, such as the First and Fourth Amendments. The Court of Appeals seemed to approach the challenges to security restrictions in a fashion different from the other contested conditions and restrictions. It stated that "once it has been determined that the mere fact of confinement of the detainee justifies the restrictions, the institution must be permitted to use reasonable means to insure that its legitimate interests in security are safeguarded." 573 F.2d, at 124. The court might disagree with the choice of means to effectuate those interests, but it should not "second-guess the expert administrators on matters on which they are better informed. . . . Concern with minutiae of prison administration can only distract the court from detached consideration of the one overriding question presented to it: does the practice or condition violate the Constitution?" Id., at 124-125. Nonetheless, the court affirmed the District Court's injunction against several security restrictions. The court rejected the arguments of petitioners that these practices served the MCC's interest in security and order and held that the practices were unjustified interferences with the retained constitutional rights of both detainees and convicted inmates. Id., at 129-132. In our view, the Court of Appeals failed to heed its own admonition not to "second-guess" prison administrators.
Our cases have established several general principles that inform our evaluation of the constitutionality of the restrictions at issue. First, we have held that convicted prisoners do not forfeit all constitutional protections by reason of their conviction and confinement in prison. See Jones v. North Carolina Prisoners' Labor Union, 433 U.S. 119, 129, 97 S.Ct. 2532, 2540, 53 L.Ed.2d 629 (1977); Meachum v. Fano, 427 U.S. 215, 225, 96 S.Ct. 2532, 2538, 49 L.Ed.2d 451 (1976); Wolff v. McDonnell, 418 U.S. 539, 555-556, 94 S.Ct. 2963, 2974-2975, 41 L.Ed.2d 935 (1974); Pell v. Procunier, 417 U.S. 817, 822, 94 S.Ct. 2800, 2804, 41 L.Ed.2d 495 (1974). "There is no iron curtain drawn between the Constitution and the prisons of this country." Wolff v. McDonnell, supra, 418 U.S., at 555-556, 94 S.Ct., at 2974-2975. So, for example, our cases have held that sentenced prisoners enjoy freedom of speech and religion under the First and Fourteenth Amendments, see Pell v. Procunier, supra; Cruz v. Beto, 405 U.S. 319, 92 S.Ct. 1079, 31 L.Ed.2d 263 (1972); Cooper v. Pate, 378 U.S. 546, 84 S.Ct. 1733, 12 L.Ed.2d 1030 (1964); that they are protected against invidious discrimination on the basis of race under the Equal Protection Clause of the Fourteenth Amendment, see Lee v. Washington, 390 U.S. 333, 88 S.Ct. 994, 19 L.Ed.2d 1212 (1968); and that they may claim the protection of the Due Process Clause to prevent additional deprivation of life, liberty, or property without due process of law, see Meachum v. Fano, supra; Wolff v. McDonnell, supra. A fortiori, pretrial detainees, who have not been convicted of any crimes, retain at least those constitutional rights that we have held are enjoyed by convicted prisoners.
But our cases also have insisted on a second proposition: simply because prison inmates retain certain constitutional rights does not mean that these rights are not subject to restrictions and limitations. "Lawful incarceration brings about the necessary withdrawal or limitation of many privileges and rights, a retraction justified by the considerations underlying our penal system." Price v. Johnston, 334 U.S. 266, 285, 68 S.Ct. 1049, 1060, 92 L.Ed. 1356 (1948); see Jones v. North Carolina Prisoners' Labor Union, supra, 433 U.S., at 125, 97 S.Ct., at 2538; Wolff v. McDonnell, supra, 418 U.S., at 555, 94 S.Ct., at 2974; Pell v. Procunier, supra, 417 U.S., at 822, 94 S.Ct., at 2804. The fact of confinement as well as the legitimate goals and policies of the penal institution limits these retained constitutional rights. Jones v. North Carolina Prisoners' Labor Union, supra, 433 U.S., at 125, 97 S.Ct., at 2538; Pell v. Procunier, supra, 417 U.S., at 822, 94 S.Ct., at 2804. There must be a "mutual accommodation between institutional needs and objectives and the provisions of the Constitution that are of general application." Wolff v. McDonnell, supra, 418 U.S., at 556, 94 S.Ct., at 2975. This principle applies equally to pretrial detainees and convicted prisoners. A detainee simply does not possess the full range of freedoms of an unincarcerated individual.
Third, maintaining institutional security and preserving internal order and discipline are essential goals that may require limitation or retraction of the retained constitutional rights of both convicted prisoners and pretrial detainees.28 "[C]entral to all other corrections goals is the institutional consideration of internal security within the corrections facilities themselves." Pell v. Procunier, supra, 417 U.S., at 823, 94 S.Ct., at 2804; see Jones v. North Carolina Prisoners' Labor Union, supra, 433 U.S., at 129, 97 S.Ct., at 2540; Procunier v. Martinez, 416 U.S. 396, 412, 94 S.Ct. 1800, 1810, 40 L.Ed.2d 224 (1974). Prison officials must be free to take appropriate action to ensure the safety of inmates and corrections personnel and to prevent escape or unauthorized entry. Accordingly, we have held that even when an institutional restriction infringes a specific constitutional guarantee, such as the First Amendment, the practice must be evaluated in the light of the central objective of prison administration, safeguarding institutional security. Jones v. North Carolina Prisoners' Labor Union, supra, 433 U.S., at 129, 97 S.Ct., at 2540; Pell v. Procunier, supra, 417 U.S., at 822, 826, 94 S.Ct., at 2804, 2806; Procunier v. Martinez, supra, 416 U.S., at 412-414, 94 S.Ct., at 1810-1812.
Finally, as the Court of Appeals correctly acknowledged, the problems that arise in the day-to-day operation of a corrections facility are not susceptible of easy solutions. Prison administrators therefore should be accorded wide-ranging deference in the adoption and execution of policies and practices that in their judgment are needed to preserve internal order and discipline and to maintain institutional security. Jones v. North Carolina Prisoners' Labor Union, supra, 433 U.S., at 128, 97 S.Ct., at 2539; Procunier v. Martinez, supra, 416 U.S., at 404-405, 94 S.Ct., at 1807-1808; Cruz v. Beto, supra, 405 U.S., at 321, 92 S.Ct., at 1081; see Meachum v. Fano, 427 U.S., at 228-229, 96 S.Ct., at 2540-2541.29 "Such considerations are peculiarly within the province and professional expertise of corrections officials, and, in the absence of substantial evidence in the record to indicate that the officials have exaggerated their response to these considerations, courts should ordinarily defer to their expert judgment in such matters." Pell v. Procunier, 417 U.S., at 827, 94 S.Ct., at 2806.30 We further observe that, on occasion, prison administrators may be "experts" only by Act of Congress or of a state legislature. But judicial deference is accorded not merely because the administrator ordinarily will, as a matter of fact in a particular case, have a better grasp of his domain than the reviewing judge, but also because the operation of our correctional facilities is peculiarly the province of the Legislative and Executive Branches of our Government, not the Judicial. Procunier v. Martinez, supra, 416 U.S., at 405, 94 S.Ct., at 1807; cf. Meachum v. Fano, supra, 427 U.S., at 229, 96 S.Ct., at 2540. With these teachings of our cases in mind, we turn to an examination of the MCC security practices that are alleged to violate the Constitution.
At the time of the lower courts' decisions, the Bureau of Prisons' "publisher-only" rule, which applies to all Bureau facilities, permitted inmates to receive books and magazines from outside the institution only if the materials were mailed directly from the publisher or a book club. 573 F.2d, at 129-130. The warden of the MCC stated in an affidavit that "serious" security and administrative problems were caused when bound items were received by inmates from unidentified sources outside the facility. App. 24. He noted that in order to make a "proper and thorough" inspection of such items, prison officials would have to remove the covers of hardback books and to leaf through every page of all books and magazines to ensure that drugs, money, weapons, or other contraband were not secreted in the material. "This search process would take a substantial and inordinate amount of available staff time." Ibid. However, "there is relatively little risk that material received directly from a publisher or book club would contain contraband, and therefore, the security problems are significantly reduced without a drastic drain on staff resources." Ibid.
The Court of Appeals rejected these security and administrative justifications and affirmed the District Court's order enjoining enforcement of the "publisher-only" rule at the MCC. The Court of Appeals held that the rule "severely and impermissibly restricts the reading material available to inmates" and therefore violates their First Amendment and due process rights. 573 F.2d, at 130.
It is desirable at this point to place in focus the precise question that now is before this Court. Subsequent to the decision of the Court of Appeals, the Bureau of Prisons amended its "publisher-only" rule to permit the receipt of books and magazines from bookstores as well as publishers and book clubs. 43 Fed.Reg. 30576 (1978) (to be codified in 28 CFR § 540.71). In addition, petitioners have informed the Court that the Bureau proposes to amend the rule further to allow receipt of paperback books, magazines, and other soft-covered materials from any source. Brief for Petitioners 66 n. 49, 69, and n. 51. The Bureau regards hardback books as the "more dangerous source of risk to institutional security," however, and intends to retain the prohibition against receipt of hardback books unless they are mailed directly from publishers, book clubs, or bookstores. Id. at 69 n. 51. Accordingly, petitioners request this Court to review the District Court's injunction only to the extent it enjoins petitioners from prohibiting receipt of hard-cover books that are not mailed directly from publishers, book clubs, or bookstores. Id., at 69; Tr. of Oral Arg. 59-60.31
We conclude that a prohibition against receipt of hardback books unless mailed directly from publishers, book clubs, or bookstores does not violate the First Amendment rights of MCC inmates. That limited restriction is a rational response by prison officials to an obvious security problem. It hardly needs to be emphasized that hardback books are especially serviceable for smuggling contraband into an institution; money, drugs, and weapons easily may be secreted in the bindings. E. g., Woods v. Daggett, 541 F.2d 237 (CA10 1976).32 They also are difficult to search effectively. There is simply no evidence in the record to indicate that MCC officials have exaggerated their response to this security problem and to the administrative difficulties posed by the necessity of carefully inspecting each book mailed from unidentified sources. Therefore, the considered judgment of these experts must control in the absence of prohibitions far more sweeping than those involved here. See Jones v. North Carolina Prisoners' Labor Union, 433 U.S., at 128, 97 S.Ct., at 2539; Pell v. Procunier, 417 U.S., at 827, 94 S.Ct., at 2806.
Our conclusion that this limited restriction on receipt of hardback books does not infringe the First Amendment rights of MCC inmates is influenced by several other factors. The rule operates in a neutral fashion, without regard to the content of the expression. Id., at 828, 94 S.Ct., at 2807. And there are alternative means of obtaining reading material that have not been shown to be burdensome or insufficient. "[W]e regard the available 'alternative means of [communication as] a relevant factor' in a case such as this where 'we [are] called upon to balance First Amendment rights against [legitimate] governmental . . . interests.' " Id., at 824, 94 S.Ct., at 2805, quotingKleindienst v. Mandel, 408 U.S. 753, 765, 92 S.Ct. 2576, 2582, 33 L.Ed.2d 683 (1972); see Cruz v. Beto, 405 U.S., at 321, 322 n. 2, 92 S.Ct., at 1081, 1082 n. 2. The restriction, as it is now before us, allows soft-bound books and magazines to be received from any source and hardback books to be received from publishers, bookstores, and book clubs. In addition, the MCC has a "relatively large" library for use by inmates. United States ex rel. Wolfish v. United States, 428 F.Supp., at 340.33 To the limited extent the rule might possibly increase the cost of obtaining published materials, this Court has held that where "other avenues" remain available for the receipt of materials by inmates, the loss of "cost advantages does not fundamentally implicate free speech values." See Jones v. North Carolina Prisoners' Labor Union, supra, 433 U.S., at 130-131, 97 S.Ct., at 2540-2541. We are also influenced in our decision by the fact that the rule's impact on pretrial detainees is limited to a maximum period of approximately 60 days. See n. 3, supra. In sum, considering all the circumstances, we view the rule, as we now find it, to be a "reasonable 'time, place and manner' regulatio[n that is] necessary to further significant governmental interests . . . ." Grayned v. City of Rockford, 408 U.S. 104, 115, 92 S.Ct. 2294, 2303, 33 L.Ed.2d 222 (1972); seeCox v. New Hampshire, 312 U.S. 569, 575-576, 61 S.Ct. 762, 765-766, 85 L.Ed. 1049 (1941); Cox v. Louisiana, 379 U.S. 536, 554-555, 85 S.Ct. 453, 464-465, 13 L.Ed.2d 471 (1965); Adderley v. Florida, 385 U.S. 39, 46-48, 87 S.Ct. 242, 246-248, 17 L.Ed.2d 149 (1966).
B
Inmates at the MCC were not permitted to receive packages from outside the facility containing items of food or personal property, except for one package of food at Christmas. This rule was justified by MCC officials on three grounds. First, officials testified to "serious" security problems that arise from the introduction of such packages into the institution, the "traditional file in the cake kind of situation" as well as the concealment of drugs "in heels of shoes [and] seams of clothing." App. 80; see id., at 24, 84-85. As in the case of the "publisher-only" rule, the warden testified that if such packages were allowed, the inspection process necessary to ensure the security of the institution would require a "substantial and inordinate amount of available staff time." Id., at 24. Second, officials were concerned that the introduction of personal property into the facility would increase the risk of thefts, gambling, and inmate conflicts, the "age-old problem of you have it and I don't." Id., at 80; see id., at 85. Finally, they noted storage and sanitary problems that would result from inmates' receipt of food packages. Id., at 67, 80. Inmates are permitted, however, to purchase certain items of food and personal property from the MCC commissary.34
The District Court dismissed these justifications as "dire predictions." It was unconvinced by the asserted security problems because other institutions allow greater ownership of personal property and receipt of packages than does the MCC. And because the MCC permitted inmates to purchase items in the commissary, the court could not accept official fears of increased theft, gambling, or conflicts if packages were allowed. Finally, it believed that sanitation could be assured by proper housekeeping regulations. Accordingly, it ordered the MCC to promulgate regulations to permit receipt of at least items of the kind that are available in the commissary. 439 F.Supp., at 152-153. The Court of Appeals accepted the District Court's analysis and affirmed, although it noted that the MCC could place a ceiling on the permissible dollar value of goods received and restrict the number of packages. 573 F.2d, at 132.
Neither the District Court nor the Court of Appeals identified which provision of the Constitution was violated by this MCC restriction. We assume, for present purposes, that their decisions were based on the Due Process Clause of the Fifth Amendment, which provides protection for convicted prisoners and pretrial detainees alike against the deprivation of their property without due process of law. See supra, at 545. But as we have stated, these due process rights of prisoners and pretrial detainees are not absolute; they are subject to reasonable limitation or retraction in light of the legitimate security concerns of the institution.
We think that the District Court and the Court of Appeals have trenched too cavalierly into areas that are properly the concern of MCC officials. It is plain from their opinions that the lower courts simply disagreed with the judgment of MCC officials about the extent of the security interests affected and the means required to further those interests. But our decisions have time and again emphasized that this sort of unguided substitution of judicial judgment for that of the expert prison administrators on matters such as this is inappropriate. See Jones v. North Carolina Prisoners' Labor Union; Pell v. Procunier; Procunier v. Martinez. We do not doubt that the rule devised by the District Court and modified by the Court of Appeals may be a reasonable way of coping with the problems of security, order, and sanitation. It simply is not, however, the only constitutionally permissible approach to these problems. Certainly, the Due Process Clause does not mandate a "lowest common denominator" security standard, whereby a practice permitted at one penal institution must be permitted at all institutions.
Corrections officials concluded that permitting the introduction of packages of personal property and food would increase the risks of gambling, theft, and inmate fights over that which the institution already experienced by permitting certain items to be purchased from its commissary. "It is enough to say that they have not been conclusively shown to be wrong in this view." Jones v. North Carolina Prisoners' Labor Union, 433 U.S., at 132, 97 S.Ct., at 2542. It is also all too obvious that such packages are handy devices for the smuggling of contraband. There simply is no basis in this record for concluding that MCC officials have exaggerated their response to these serious problems or that this restriction is irrational. It does not therefore deprive the convicted inmates or pretrial detainees35 of the MCC of their property without due process of law in contravention of the Fifth Amendment.
C
The MCC staff conducts unannounced searches of inmate living areas at irregular intervals. These searches generally are formal unit "shakedowns" during which all inmates are cleared of the residential units, and a team of guards searches each room. Prior to the District Court's order, inmates were not permitted to watch the searches. Officials testified that permitting inmates to observe room inspections would lead to friction between the inmates and security guards and would allow the inmates to attempt to frustrate the search by distracting personnel and moving contraband from one room to another ahead of the search team.36
The District Court held that this procedure could not stand as applied to pretrial detainees because MCC officials had not shown that the restriction was justified by "compelling necessity."37 The court stated that "[a]t least until or unless [petitioners] can show a pattern of violence or other disruptions taxing the powers of control—a kind of showing not remotely approached by the Warden's expressions—the security argument for banishing inmates while their rooms are searched must be rejected." 439 F.Supp., at 149. It also noted that in many instances inmates suspected guards of thievery. Id., at 148-149. The Court of Appeals agreed with the District Court. It saw "no reason whatsoever not to permit a detainee to observe the search of his room and belongings from a reasonable distance," although the court permitted the removal of any detainee who became "obstructive." 573 F.2d, at 132.
The Court of Appeals did not identify the constitutional provision on which it relied in invalidating the room-search rule. The District Court stated that the rule infringed the detainee's interest in privacy and indicated that this interest in privacy was founded on the Fourth Amendment. 439 F.Supp., at 149-150. It may well be argued that a person confined in a detention facility has no reasonable expectation of privacy with respect to his room or cell and that therefore the Fourth Amendment provides no protection for such a person. Cf. Lanza v. New York, 370 U.S. 139, 143-144, 82 S.Ct. 1218, 1220-1221, 8 L.Ed.2d 384 (1962). In any case, given the realities of institutional confinement, any reasonable expectation of privacy that a detainee retained necessarily would be of a diminished scope. Id., at 143, 82 S.Ct., at 1220. Assuming, arguendo, that a pretrial detainee retains such a diminished expectation of privacy after commitment to a custodial facility, we nonetheless find that the room-search rule does not violate the Fourth Amendment.
It is difficult to see how the detainee's interest in privacy is infringed by the room-search rule. No one can rationally doubt that room searches represent an appropriate security measure and neither the District Court nor the Court of Appeals prohibited such searches. And even the most zealous advocate of prisoners' rights would not suggest that a warrant is required to conduct such a search. Detainees' drawers, beds, and personal items may be searched, even after the lower courts' rulings. Permitting detainees to observe the searches does not lessen the invasion of their privacy; its only conceivable beneficial effect would be to prevent theft or misuse by those conducting the search. The room-search rule simply facilitates the safe and effective performance of the search which all concede may be conducted. The rule itself, then, does not render the searches "unreasonable" within the meaning of the Fourth Amendment.38
D
Inmates at all Bureau of Prison facilities, including the MCC, are required to expose their body cavities for visual inspection as a part of a strip search conducted after every contact visit with a person from outside the institution.39 Corrections officials testified that visual cavity searches were necessary not only to discover but also to deter the smuggling of weapons, drugs, and other contraband into the institution. App. 70-72, 83-84. The District Court upheld the strip-search procedure but prohibited the body-cavity searches, absent probable cause to believe that the inmate is concealing contraband. 439 F.Supp., at 147-148. Because petitioners proved only one instance in the MCC's short history where contraband was found during a body-cavity search, the Court of Appeals affirmed. In its view, the "gross violation of personal privacy inherent in such a search cannot be outweighed by the government's security interest in maintaining a practice of so little actual utility." 573 F.2d, at 131.
Admittedly, this practice instinctively gives us the most pause. However, assuming for present purposes that inmates, both convicted prisoners and pretrial detainees, retain some Fourth Amendment rights upon commitment to a corrections facility, see Lanza v. New York, supra; Stroud v. United States, 251 U.S. 15, 21, 40 S.Ct. 50, 52, 64 L.Ed. 103 (1919), we nonetheless conclude that these searches do not violate that Amendment. The Fourth Amendment prohibits only unreasonable searches, Carroll v. United States, 267 U.S. 132, 147, 45 S.Ct. 280, 283, 69 L.Ed. 543 (1925), and under the circumstances, we do not believe that these searches are unreasonable.
The test of reasonableness under the Fourth Amendment is not capable of precise definition or mechanical application. In each case it requires a balancing of the need for the particular search against the invasion of personal rights that the search entails. Courts must consider the scope of the particular intrusion, the manner in which it is conducted, the justification for initiating it, and the place in which it is conducted. E. g., United States v. Ramsey, 431 U.S. 606, 97 S.Ct. 1972, 52 L.Ed.2d 617 (1977); United States v. Martinez-Fuerte, 428 U.S. 543, 96 S.Ct. 3074, 49 L.Ed.2d 1116 (1976); United States v. Brignoni-Ponce, 422 U.S. 873, 95 S.Ct. 2574, 45 L.Ed.2d 607 (1975); Terry v. Ohio, 392 U.S. 1, 88 S.Ct. 1868, 20 L.Ed.2d 889 (1968); Katz v. United States, 389 U.S. 347, 88 S.Ct. 507, 19 L.Ed.2d 576 (1967); Schmerber v. California, 384 U.S. 757, 86 S.Ct. 1826, 16 L.Ed.2d 908 (1966). A detention facility is a unique place fraught with serious security dangers. Smuggling of money, drugs, weapons, and other contraband is all too common an occurrence. And inmate attempts to secrete these items into the facility by concealing them in body cavities are documented in this record, App. 71-76, and in other cases. E. g., Ferraro v. United States, 590 F.2d 335 (CA6 1978); United States v. Park, 521 F.2d 1381, 1382 (CA9 1975). That there has been only one instance where an MCC inmate was discovered attempting to smuggle contraband into the institution on his person may be more a testament to the effectiveness of this search technique as a deterrent than to any lack of interest on the part of the inmates to secrete and import such items when the opportunity arises.40
We do not underestimate the degree to which these searches may invade the personal privacy of inmates. Nor do we doubt, as the District Court noted, that on occasion a security guard may conduct the search in an abusive fashion. 439 F.Supp., at 147. Such an abuse cannot be condoned. The searches must be conducted in a reasonable manner. Schmerber v. California, supra, 384 U.S. at 771-772, 86 S.Ct. at 1836-1837. But we deal here with the question whether visual body-cavity inspections as contemplated by the MCC rules can ever be conducted on less than probable cause. Balancing the significant and legitimate security interests of the institution against the privacy interests of the inmates, we conclude that they can.41
IV
Nor do we think that the four MCC security restrictions and practices described in Part III, supra, constitute "punishment" in violation of the rights of pretrial detainees under the Due Process Clause of the Fifth Amendment.42 Neither the District Court nor the Court of Appeals suggested that these restrictions and practices were employed by MCC officials with an intent to punish the pretrial detainees housed there.43 Respondents do not even make such a suggestion; they simply argue that the restrictions were greater than necessary to satisfy petitioners' legitimate interest in maintaining security. Brief for Respondents 51-53. Therefore, the determination whether these restrictions and practices constitute punishment in the constitutional sense depends on whether they are rationally related to a legitimate nonpunitive governmental purpose and whether they appear excessive in relation to that purpose. See supra, at 538-539. Ensuring security and order at the institution is a permissible nonpunitive objective, whether the facility houses pretrial detainees, convicted inmates, or both. Supra, at 539-540; see supra, at 546-547, and n. 28. For the reasons set forth in Part III,supra, we think that these particular restrictions and practices were reasonable responses by MCC officials to legitimate security concerns. Respondents simply have not met their heavy burden of showing that these officials have exaggerated their response to the genuine security considerations that actuated these restrictions and practices. See n. 23,supra. And as might be expected of restrictions applicable to pretrial detainees, these restrictions were of only limited duration so far as the MCC pretrial detainees were concerned. See n. 3, supra.
V
There was a time not too long ago when the federal judiciary took a completely "hands-off" approach to the problem of prison administration. In recent years, however, these courts largely have discarded this "hands-off" attitude and have waded into this complex arena. The deplorable conditions and Draconian restrictions of some of our Nation's prisons are too well known to require recounting here, and the federal courts rightly have condemned these sordid aspects of our prison systems. But many of these same courts have, in the name of the Constitution, become increasingly enmeshed in the minutiae of prison operations. Judges, after all, are human. They, no less than others in our society, have a natural tendency to believe that their individual solutions to often intractable problems are better and more workable than those of the persons who are actually charged with and trained in the running of the particular institution under examination. But under the Constitution, the first question to be answered is not whose plan is best, but in what branch of the Government is lodged the authority to initially devise the plan. This does not mean that constitutional rights are not to be scrupulously observed. It does mean, however, that the inquiry of federal courts into prison management must be limited to the issue of whether a particular system violates any prohibition of the Constitution or, in the case of a federal prison, a statute. The wide range of "judgment calls" that meet constitutional and statutory requirements are confided to officials outside of the Judicial Branch of Government.
The judgment of the Court of Appeals is, accordingly, reversed, and the case is remanded for proceedings consistent with this opinion.
It is so ordered.
Mr. Justice POWELL, concurring in part and dissenting in part.
I join the opinion of the Court except the discussion and holding with respect to body-cavity searches. In view of the serious intrusion on one's privacy occasioned by such a search, I think at least some level of cause, such as a reasonable suspicion, should be required to justify the anal and genital searches described in this case. I therefore dissent on this issue.
Mr. Justice MARSHALL, dissenting.
The Court holds that the Government may burden pretrial detainees with almost any restriction, provided detention officials do not proclaim a punitive intent or impose conditions that are "arbitrary or purposeless." Ante, at 539. As if this standard were not sufficiently ineffectual, the Court dilutes it further by according virtually unlimited deference to detention officials' justifications for particular impositions. Conspicuously lacking from this analysis is any meaningful consideration of the most relevant factor, the impact that restrictions may have on inmates. Such an approach is unsupportable, given that all of these detainees are presumptively innocent and many are confined solely because they cannot afford bail.1
In my view, the Court's holding departs from the precedent it purports to follow and precludes effective judicial review of the conditions of pretrial confinement. More fundamentally, I believe the proper inquiry in this context is not whether a particular restraint can be labeled "punishment." Rather, as with other due process challenges, the inquiry should be whether the governmental interests served by any given restriction outweigh the individual deprivations suffered.
* The premise of the Court's analysis is that detainees, unlike prisoners, may not be "punished." To determine when a particular disability imposed during pretrial detention is punishment, the Court invokes the factors enunciated in Kennedy v. Mendoza-Martinez, 372 U.S. 144, 168-169, 83 S.Ct. 554, 567-568, 9 L.Ed.2d 644 (1963), quoted ante, at 537-538 (footnotes omitted):
"Whether the sanction involves an affirmative disability or restraint, whether it has historically been regarded as a punishment, whether it comes into play only on a finding of scienter, whether its operation will promote the traditional aims of punishment—retribution and deterrence, whether the behavior to which it applies is already a crime, whether an alternative purpose to which it may rationally be connected is assignable for it, and whether it appears excessive in relation to the alternative purpose assigned are all relevant to the inquiry, and may often point in differing directions."
A number of the factors enunciated above focus on the nature and severity of the impositions at issue. Thus, if weight were given to all its elements, I believe the Mendoza-Martinez inquiry could be responsive to the impact of the deprivations imposed on detainees. However, within a few lines after quoting Mendoza-Martinez, the Court restates the standard as whether there is an expressed punitive intent on the part of detention officials, and, if not, whether the restriction is rationally related to some nonpunitive purpose or appears excessive in relation to that purpose. Ante, at 538-539. Absent from the reformulation is any appraisal of whether the sanction constitutes an affirmative disability or restraint and whether it has historically been regarded as punishment. Moreover, when the Court applies this standard, it loses interest in the inquiry concerning excessiveness, and, indeed, eschews consideration of less restrictive alternatives, practices in other detention facilities, and the recommendations of the Justice Department and professional organizations. See ante, at 542-543, n. 25, 543-544, n. 27, 554. By this process of elimination, the Court contracts a broad standard, sensitive to the deprivations imposed on detainees, into one that seeks merely to sanitize official motives and prohibit irrational behavior. As thus reformulated, the test lacks any real content.
A.
To make detention officials' intent the critical factor in assessing the constitutionality of impositions on detainees is unrealistic in the extreme. The cases on which the Court relies to justify this narrow focus all involve legislative Acts, not day-to-day administrative decisions. See Kennedy v. Mendoza-Martinez, supra (Nationality Act of 1940 and Immigration and Nationality Act of 1952); Flemming v. Nestor, 363 U.S. 603, 80 S.Ct. 1367, 4 L.Ed.2d 1435 (1960) (Social Security Act); De Veau v. Braisted, 363 U.S. 144, 80 S.Ct. 1146, 4 L.Ed.2d 1109 (1960) (New York Waterfront Commission Act). In discerning the intent behind a statutory enactment, courts engage in a familiar judicial function, usually with the benefit of a legislative history that preceded passage of the statute. The motivation for policies in detention facilities, however, will frequently not be a matter of public record. Detainees challenging these policies will therefore bear the substantial burden of establishing punitive intent on the basis of circumstantial evidence or retrospective explanations by detention officials, which frequently may be self-serving. Particularly since the Court seems unwilling to look behind any justification based on security,2 that burden will usually prove insurmountable.
In any event, it will often be the case that officials believe, erroneously but in good faith, that a specific restriction is necessary for institutional security. As the District Court noted, "zeal for security is among the most common varieties of official excess," United States ex rel. Wolfish v. Levi, 439 F.Supp. 114, 141 (SDNY 1977), and the litigation in this area corroborates that conclusion.3 A standard that focuses on punitive intent cannot effectively eliminate this excess. Indeed, the Court does not even attempt to "detail the precise extent of the legitimate governmental interests that may justify conditions or restrictions of pretrial detention." Ante, at 540. Rather, it is content merely to recognize that "the effective management of the detention facility . . . is a valid objective that may justify imposition of conditions and restrictions of pretrial detention and dispel any inference that such restrictions are intended as punishment." Ibid.
Moreover, even if the inquiry the Court pursues were more productive, it simply is not the one the Constitution mandates here. By its terms, the Due Process Clause focuses on the nature of deprivations, not on the persons inflicting them. If this concern is to be vindicated, it is the effect of conditions of confinement, not the intent behind them, that must be the focal point of constitutional analysis.
B
Although the Court professes to go beyond the direct inquiry regarding intent and to determine whether a particular imposition is rationally related to a nonpunitive purpose, this exercise is at best a formality. Almost any restriction on detainees, including, as the Court concedes, chains and shackles, ante, at 593 n. 20, can be found to have some rational relation to institutional security, or more broadly, to "the effective management of the detention facility." Ante, at 540. See Feeley v. Sampson, 570 F.2d 364, 380 (CA1 1977) (Coffin, C. J., dissenting). Yet this toothless standard applies irrespective of the excessiveness of the restraint or the nature of the rights infringed.4
Moreover, the Court has not in fact reviewed the rationality of detention officials' decisions, as Mendoza-Martinez requires. Instead, the majority affords "wide-ranging" deference to those officials "in the adoption and execution of policies and practices that in their judgment are needed to preserve internal order and discipline and to maintain institutional security." Ante, at 547.5 Reasoning that security considerations in jails are little different than in prisons, the Court concludes that cases requiring substantial deference to prison administrators' determinations on security-related issues are equally applicable in the present context. Ante, at 546-547, nn. 28, 29.
Yet, as the Court implicitly acknowledges, ante, at 545, the rights of detainees, who have not been adjudicated guilty of a crime, are necessarily more extensive than those of prisoners "who have been found to have violated one or more of the criminal laws established by society for its orderly governance." Jones v. North Carolina Prisoners' Union, 433 U.S. 119, 129, 97 S.Ct. 2532, 2540, 53 L.Ed.2d 629 (1977). See Campbell v. McGruder, 188 U.S.App.D.C. 258, 264 n. 9, 580 F.2d 521, 527 n. 9 (1978). Judicial tolerance of substantial impositions on detainees must be concomitantly less. However, by blindly deferring to administrative judgments on the rational basis for particular restrictions, the Court effectively delegates to detention officials the decision whether pretrial detainees have been punished. This, in my view, is an abdication of an unquestionably judicial function.
II
Even had the Court properly applied the punishment test, I could not agree to its use in this context. It simply does not advance analysis to determine whether a given deprivation imposed on detainees constitutes "punishment." For in terms of the nature of the imposition and the impact on detainees, pretrial incarceration, although necessary to secure defendants' presence at trial, is essentially indistinguishable from punishment.6 The detainee is involuntarily confined and deprived of the freedom "to be with his family and friends and to form the other enduring attachments of normal life," Morrissey v. Brewer, 408 U.S. 471, 482, 92 S.Ct. 2593, 2600, 33 L.Ed.2d 484 (1972). Indeed, this Court has previously recognized that incarceration is an "infamous punishment." Flemming v. Nestor, 363 U.S., at 617, 80 S.Ct., at 1376; see also Wong Wing v. United States, 163 U.S. 228, 233-234, 16 S.Ct. 977, 979, 41 L.Ed. 140 (1896); Ingraham v. Wright, 430 U.S. 651, 669, 97 S.Ct. 1401, 1411, 51 L.Ed.2d 711 (1977). And if the effect of incarceration itself is inevitably punitive, so too must be the cumulative impact of those restraints incident to that restraint.7
A test that balances the deprivations involved against the state interests assertedly served8 would be more consistent with the import of the Due Process Clause. Such an approach would be sensitive to the tangible physical and psychological harm that a particular disability inflicts on detainees and to the nature of the less tangible, but significant, individual interests at stake. The greater the imposition on detainees, the heavier the burden of justification the Government would bear. See Bates v. Little Rock, 361 U.S. 516, 524, 80 S.Ct. 412, 417, 4 L.Ed.2d 480 (1960); Shapiro v. Thompson, 394 U.S. 618, 634, 89 S.Ct. 1322, 1331, 22 L.Ed.2d 600 (1969); Kusper v. Pontikes, 414 U.S. 51, 58-59, 94 S.Ct. 303, 308-309, 38 L.Ed.2d 260 (1973).
When assessing the restrictions on detainees, we must consider the cumulative impact of restraints imposed during confinement. Incarceration of itself clearly represents a profound infringement of liberty, and each additional imposition increases the severity of that initial deprivation. Since any restraint thus has a serious effect on detainees, I believe the Government must bear a more rigorous burden of justification than the rational-basis standard mandates. See, supra, at 567. At a minimum, I would require a showing that a restriction is substantially necessary to jail administration. Where the imposition is of particular gravity, that is, where it implicates interests of fundamental importance9 or inflicts significant harms, the Government should demonstrate that the restriction serves a compelling necessity of jail administration.10
In presenting its justifications, the Government could adduce evidence of the security and administrative needs of the institution as well as the fiscal constraints under which it operates. And, of course, considerations of competence and comity require some measure of deference to the judgments of detention officials. Their estimation of institutional needs and the administrative consequences of particular acts is entitled to weight. But as the Court has repeatedly held in the prison context, judicial restraint "cannot encompass any failure to take cognizance of valid constitutional claims." Procunier v. Martinez, 416 U.S. 396, 405, 94 S.Ct. 1800, 1807, 40 L.Ed.2d 224 (1974); Bounds v. Smith, 430 U.S. 817, 832, 97 S.Ct. 1491, 1500, 52 L.Ed.2d 72 (1977). Even more so here, with the rights of presumptively innocent individuals at stake, we cannot abdicate our judicial responsibility to evaluate independently the Government's asserted justifications for particular deprivations. In undertaking this evaluation, courts should thus examine evidence of practices in other detention and penal facilities. To be sure, conditions of detention should not survive constitutional challenge merely because they are no worse than circumstances in prisons. But this evidence can assist courts in evaluating justifications based on security, administrative convenience, and fiscal constraints.
Simply stated, the approach I advocate here weighs the detainees' interests implicated by a particular restriction against the governmental interests the restriction serves. As the substantiality of the intrusion on detainees' rights increases, so must the significance of the countervailing governmental objectives.
III
A.
Applying this standard to the facts of this case, I believe a remand is necessary on the issue of double-bunking at the MCC. The courts below determined only whether double-bunking was justified by a compelling necessity, excluding fiscal and administrative considerations. Since it was readily ascertainable that the Government could not prevail under that test detailed inquiry was unnecessary. Thus, the District Court granted summary judgment, without a full record on the psychological and physical harms caused by overcrowding.11 To conclude, as the court does here, that double-bunking has not inflicted "genuine privations and hardship over an extended period of time," ante, at 542, is inappropriate where respondents have not had an adequate opportunity to produce evidence suggesting otherwise. Moreover, that the District Court discerned no disputed issues of material fact, see ante, at 541 n. 24, is no justification for avoiding a remand, since what is material necessarily varies with the standard applied. Rather than pronouncing overbroad aphorisms about the principles "lurking in the Due Process Clause," ante, at 542, I would leave to the District Court in the first instance the sensitive balancing inquiry that the Due Process Clause dictates.12
B
Although the constitutionality of the MCC's rule limiting the sources of hardback books was also decided on summary judgment, I believe a remand is unnecessary.13 That individuals have a fundamental First Amendment right to receive information and ideas is beyond dispute. See Martin v. Struthers, 319 U.S. 141, 143, 63 S.Ct. 862, 863, 87 L.Ed. 1313 (1943); Stanley v. Georgia, 394 U.S. 557, 565, 89 S.Ct. 1243, 1248, 22 L.Ed.2d 542 (1969); Red Lion Broadcasting Co. v. FCC, 395 U.S. 367, 390, 89 S.Ct. 1794, 1806, 23 L.Ed.2d 371 (1969); see also Brandenburg v. Ohio, 395 U.S. 444, 448, 89 S.Ct. 1827, 1830, 23 L.Ed.2d 430 (1969). Under the balancing test elaborated above, the Government must therefore demonstrate that its rule infringing on that interest serves a compelling necessity. As the courts below found, the Government failed to make such a showing.14
In support of its restriction, the Government presented the affidavit of the MCC warden, who averred without elaboration that a proper and thorough search of incoming hardback books might require removal of the covers. Further, the warden asserted, "in the case of all books and magazines," it would be necessary to leaf through every page to ascertain that there was no contraband. App. 24. The warden offered no reasons why the institution could not place reasonable limitations on the number of books inmates could receive or use electronic devices and fluoroscopes to detect contraband rather than requiring inmates to purchase hardback books directly from publishers or stores.15 As the Court of Appeals noted, "other institutions have not recorded untoward experiences with far less restrictive rules." Wolfish v. Levi, 573 F.2d 118, 130 (1978).
The limitation on receipt of hardback books may well be one rational response to the legitimate security concerns of the institution, concerns which I in no way intend to deprecate. But our precedents, as the courts below apparently recognized, United States ex rel. Wolfish v. United States, 428 F.Supp. 333, 341 (SDNY 1977); 573 F.2d, at 130, require some consideration of less restrictive alternatives, see, e. g., Shelton v. Tucker, 364 U.S. 479, 488-490, 81 S.Ct. 247, 252-253, 5 L.Ed.2d 231 (1960); Keyishian v. Board of Regents, 385 U.S. 589, 602-604, 87 S.Ct. 675, 683, 17 L.Ed.2d 629 (1967). There is no basis for relaxing this requirement when the rights of presumptively innocent detainees are implicated.
C
The District Court did conduct a trial on the constitutionality of the MCC package rule and room-search practices. Although the courts below applied a different standard, the record is sufficient to permit resolution of these issues here. And since this Court decides the questions, I think it appropriate to suggest the results that would obtain on this record under my standard.
Denial of the right to possess property is surely of heightened concern when viewed with the other indignities of detainment. See App. 73. As the District Court observed, it is a severe discomfort to do without personal items such as a watch or cosmetics, and things to eat, smoke, or chew. Indeed, the court noted, "[t]he strong dependence upon material things . . . gives rise to one of the deepest miseries of incarceration—the deprivation of familiar possessions." 439 F.Supp., at 150. Given this impact on detainees, the appropriate inquiry is whether the package restriction is substantially necessary to prison administration.
The Government's justification for such a broad rule cannot meet this burden. The asserted interest in ameliorating sanitation and storage problems and avoiding thefts, gambling, and inmate conflicts over personal property is belied, as the Court seems to recognize, ante, at 553, by the policy of permitting inmate purchases of up to $15 a week from the prison commissary. Detention officials doubtless have a legitimate interest in preventing introduction of drugs or weapons into the facility. But as both the District Court and the Court of Appeals observed, other detention institutions have adopted much less restrictive re