delivered the opinion of the Court.
The respondent, Kenneth Donaldson, was civilly committed to confinement as a mental patient in the Florida State Hospital at Chattahoochee in January 1957. He was kept in custody there against his will for nearly 15 years. The petitioner, Dr. J. B. O’Connor, was the hospital’s superintendent during most of this period. *565Throughout his confinement Donaldson repeatedly, but unsuccessfully, demanded his release, claiming that he was dangerous to no one, that he was not mentally ill, and that, at any rate, the hospital was not providing treatment for his supposed illness. Finally, in February 1971, Donaldson brought this lawsuit under 42 U. S. C. § 1983, in the United States District Court for the Northern District of Florida, alleging that O’Connor, and other members of the hospital staff named as defendants, had intentionally and maliciously deprived him of his constitutional right to liberty.1 After a four-day trial, the jury returned a verdict assessing both compensatory and punitive damages against O’Connor and a codefendant. The Court of Appeals for the Fifth Circuit affirmed the judgment, 493 F. 2d 507. We granted O’Connor’s petition for certiorari, 419 U. S. 894, because of the important constitutional questions seemingly presented.
I
Donaldson’s commitment was initiated by his father, who thought that his son was suffering from “delusions.” After hearings before a county judge of Pinellas County, Fla., Donaldson was found to be suffering from “paranoid schizophrenia” and was committed for “care, main*566tenance, and treatment” pursuant to Florida statutory provisions that have since been repealed.2 The state law was less than clear in specifying the grounds necessary *567for commitment, and the record is scanty as to Donaldson’s condition at the time of the judicial hearing. These matters are, however, irrelevant, for this case involves no challenge to the initial commitment, but is focused, instead, upon the nearly 15 years of confinement that followed.
The evidence sit the trial showed that the hospital staff had the power to release a patient, not dangerous to himself or others, even if he remained mentally ill and had been lawfully committed.3 Despite many requests, O’Connor refused to allow that power to be *568exercised in Donaldson’s case. At the trial, O’Connor indicated that he had believed that Donaldson would have been unable to make a “successful adjustment outside the institution,” but could not recall the basis for that conclusion. O’Connor retired as superintendent shortly before this suit was filed. A few months thereafter, and before the trial, Donaldson secured his release and a judicial restoration of competency, with the support of the hospital staff.
The testimony at the trial demonstrated, without contradiction, that Donaldson had posed no danger to others during his long confinement, or indeed at any point in his life. O’Connor himself conceded that he had no personal or secondhand knowledge that Donaldson had ever committed a dangerous act. There was no evidence that Donaldson had ever been suicidal or been thought likely to inflict injury upon himself. One of O’Connor’s codefendants acknowledged that Donaldson could have earned his own living outside the hospital. He had done so for some 14 years before his commitment, and immediately upon his release he secured a responsible job in hotel administration.
Furthermore, Donaldson’s frequent requests for release had been supported by responsible persons willing to provide him any care he might need on release. In 1963, for example, a representative of Helping Hands, Inc., a halfway house for mental patients, wrote O’Connor asking him to release Donaldson to its care. The request was accompanied by a supporting letter from the Minneapolis Clinic of Psychiatry and Neurology, which a codefendant conceded was a “good clinic.” O’Connor rejected the offer, replying that Donaldson could be released only to his parents. That rule was apparently of O’Connor’s own making. At the time, Donaldson was 55 years old, and, as O’Connor knew, Donaldson’s parents *569were too elderly and infirm to take responsibility for him. Moreover, in his continuing correspondence with Donaldson’s parents, O’Connor never informed them of the Helping Hands offer. In addition, on four separate occasions between 1964 and 1968, John Lembcke, a college classmate of Donaldson’s and a longtime family friend, asked O’Connor to release Donaldson to his care. On each occasion O’Connor refused. The record shows that Lembcke was a serious and responsible person, who was willing and able to assume responsibility for Donaldson’s welfare.
The evidence showed that Donaldson’s confinement was a simple regime of enforced custodial care, not a program designed to alleviate or cure his supposed illness. Numerous witnesses, including one of O’Connor’s codefendants, testified that Donaldson had received nothing but custodial care while at the hospital. O’Connor described Donaldson’s treatment as “milieu therapy.” But witnesses from the hospital staff conceded that, in the context of this case, “milieu therapy” was a euphemism for confinement in the “milieu” of a mental hospital.4 For substantial periods, Donaldson was simply kept in a large room that housed 60 patients, many of whom were under criminal commitment. Donaldson’s requests for ground privileges, occupational training, and an opportunity to discuss his case with O’Connor or other staff members were repeatedly denied.
At the trial, O’Connor’s principal defense was that he had acted in good faith and was therefore immune from any liability for monetary damages. His position, in short, was that state law, which he had believed valid, *570had authorized indefinite custodial confinement of the “sick,” even if they were not given treatment and their release could harm no one.5
The trial judge instructed the members of the jury that they should find that O’Connor had violated Donaldson’s constitutional right to liberty if they found that he had
“confined [Donaldson] against his will, knowing that he was not mentally ill or dangerous or knowing that if mentally ill he was not receiving treatment for his alleged mental illness.
“Now, the purpose of involuntary hospitalization is treatment and not mere custodial care or punishment if a patient is not a danger to himself or others. Without such treatment there is no justification from a constitutional stand-point for continued confinement unless you should also find that [Donaldson] was dangerous to either himself or others.” 6
*571The trial judge further instructed the jury that O’Con-nor was immune from damages if he
“reasonably believed in good faith that detention of *572[Donaldson] was proper for the length of time he was so confined ....
“However, mere good intentions which do not give rise to a reasonable belief that detention is lawfully required cannot justify [Donaldson’s] confinement in the Florida State Hospital.”
The jury returned a verdict for Donaldson against O’Connor and a codefendant, and awarded damages of $38,500, including $10,000 in punitive damages.7
The Court of Appeals affirmed the judgment of the District Court in a broad opinion dealing with “the far-reaching question whether the Fourteenth Amendment guarantees a right to treatment to persons involuntarily civilly committed to state mental hospitals.” 493 F. 2d, at 509. The appellate court held that when, as in Donaldson’s case, the rationale for confinement is that the patient is in need of treatment, the Constitution requires that minimally adequate treatment in fact be provided. Id., at 521. The court further expressed the view that, regardless of the grounds for involuntary civil commitment, a person confined against his will at a state mental institution has “a constitutional right to receive such individual treatment as will give him a reasonable opportunity to be cured or to improve his mental condition.” Id., at 520. Conversely, the court’s opinion implied that it is constitutionally permissible for a State to confine a mentally ill person against his will in order to treat his illness, regardless of whether his illness ren*573ders him dangerous to himself or others. See id., at 522-527.
II
We have concluded that the difficult issues of constitutional law dealt with by the Court of Appeals are not presented by this case in its present posture. Specifically, there is no reason now to decide whether mentally ill persons dangerous to themselves or to others have a right to treatment upon compulsory confinement by the State, or whether the State may compulsorily confine a nondangerous, mentally ill individual for the purpose of treatment. As we view it, this case raises a single, relatively simple, but nonetheless important question concerning every man’s constitutional right to liberty.
The jury found that Donaldson was neither dangerous to himself nor dangerous to others, and also found that, if mentally ill, Donaldson had not received treatment.8 That verdict, based on abundant evidénce, makes the issue before the Court a narrow one. We need not decide whether, when, or by what procedures, a mentally ill person may be confined by the State on any of the grounds which, under contemporary statutes, are generally advanced to justify involuntary confinement of such a person — to prevent injury to the public, to ensure *574his own survival or safety,9 or to alleviate or cure his illness. See Jackson v. Indiana, 406 U. S. 715, 736-737; Humphrey v. Cady, 405 U. S. 504, 509. For the jury found that none of the above grounds for continued confinement was present in Donaldson’s case.10
Given the jury’s findings, what was left as justification for keeping Donaldson in continued confinement? The fact that state law may have authorized confinement of the harmless mentally ill does not itself establish a constitutionally adequate purpose for the confinement. See Jackson v. Indiana, supra, at 720-723; McNeil v. Director, Patuxent Institution, 407 U. S. 245, 248-250. Nor is it enough that Donaldson’s original confinement was *575founded upon a constitutionally adequate basis, if in fact it was, because even if his involuntary confinement was initially permissible, it could not constitutionally continue after that basis no longer existed. Jackson v. Indiana, supra, at 738; McNeil v. Director, Patuxent Institution, supra.
A finding of “mental illness” alone cannot justify a State’s locking a person up against his will and keeping him indefinitely in simple custodial confinement. Assuming that that term can be given a reasonably precise content and that the “mentally ill” can be identified with reasonable accuracy, there is still no constitutional basis for confining such persons involuntarily if they are dangerous to no one and can live safely in freedom.
May the State confine the mentally ill merely to ensure them a living standard superior to that they enjoy in the private community? That the State has a proper interest in providing care and assistance to the unfortunate goes without saying. But the mere presence of mental illness does not disqualify a person from preferring his home to the comforts of an institution. Moreover, while the State may arguably confine a person to save him from harm, incarceration is rarely if ever a necessary condition for raising the living standards of those capable of surviving safely in freedom, on their own or with the help of family or friends. See Shelton v. Tucker, 364 U. S. 479, 488-490.
May the State fence in the harmless mentally ill solely to save its citizens from exposure to those whose ways are different? One might as well ask if the State, to avoid public unease, could incarcerate all who are physically unattractive or socially eccentric. Mere public intolerance or animosity cannot constitutionally justify the deprivation of a person’s physical liberty. See, e. g., Cohen v. California, 403 U. S. 15, 24-26; Coates v. City of *576Cincinnati, 402 U. S. 611, 615; Street v. New York, 394 U. S. 576, 592; cf. U. S. Dept. of Agriculture v. Moreno, 413 U. S. 528, 534.
In short, a State cannot constitutionally confine without more a nondangerous individual who is capable of surviving safely in freedom by himself or with the help of willing and responsible family members or friends. Since the jury found, upon ample evidence, that O’Con-nor, as an agent of the State, knowingly did so confine Donaldson, it properly concluded that O’Connor violated Donaldson’s constitutional right to freedom.
Ill
O’Connor contends that in any event he should not be held personally liable for monetary damages because his decisions were made in “good faith.” Specifically, O’Connor argues that he was acting pursuant to state law which, he believed, authorized confinement of the mentally ill even when their release would not compromise their safety or constitute a danger to others, and that he could not reasonably have been expected to know that the state law as he understood it was constitutionally invalid. A proposed instruction to this effect was rejected by the District Court.11
The District Court did instruct the jury, without objection, that monetary damages could not be assessed against O’Connor if he had believed reasonably and in good faith that Donaldson’s continued confinement was *577“proper,” and that punitive damages could be awarded only if O’Connor had acted “maliciously or wantonly or oppressively.” The Court of Appeals approved those instructions. But that court did not consider whether it was error for the trial judge to refuse the additional instruction concerning O’Connor’s claimed reliance on state law as authorization for Donaldson’s continued confinement. Further, neither the District Court nor the Court of Appeals acted with the benefit of this Court’s most recent decision on the scope of the qualified immunity possessed by state officials under 42 U. S. C. § 1983. Wood v. Strickland, 420 U. S. 308.
Under that decision, the relevant question for the jury is whether O’Connor “knew or reasonably should have known that the action he took within his sphere of official responsibility would violate the constitutional rights of [Donaldson], or if he took the action with the malicious intention to cause a deprivation of constitutional rights or other injury to [Donaldson].” Id., at 322. See also Scheuer v. Rhodes, 416 U. S. 232, 247-248; Wood v. Strickland, supra, at 330 (opinion of Powell, J.). For purposes of this question, an official has, of course, no duty to anticipate unforeseeable constitutional developments. Wood v. Strickland, supra, at 322.
Accordingly, we vacate the judgment of the Court of Appeals and remand the case to enable that court to consider, in light of Wood v. Strickland, whether the District Judge’s failure to instruct with regard to the effect of O’Connor’s claimed reliance on state law rendered inadequate the instructions as to O’Connor’s liability for compensatory and punitive damages.12
It is so ordered.
Donaldson’s original complaint was filed as a class action on behalf of himself and all of his fellow patients in an entire department of the Florida State Hospital at Chattahoochee. In addition to a damages claim, Donaldson’s complaint also asked for habeas corpus relief ordering his release, as well as the release of all members of the class. Donaldson further sought declaratory and injunctive relief requiring the hospital to provide adequate psychiatric treatment.
After Donaldson’s release and after the District Court dismissed the action as a class suit, Donaldson filed an amended complaint, repeating his claim for compensatory and punitive damages. Although the amended complaint retained the prayer for declaratory and injunctive relief, that request was eliminated from the case prior to trial. See 493 F. 2d 507, 512-513.
The judicial commitment proceedings were pursuant to § 394.22 (11) of the State Public Health Code, which provided:
“Whenever any person who has been adjudged mentally incompetent requires confinement or restraint to prevent self-injury or violence to others, the said judge shall direct that such person be forthwith delivered to a superintendent of a Florida state hospital, for the mentally ill, after admission has been authorized under regulations approved by the board of commissioners of state institutions, for care, maintenance, and treatment, as provided in sections 394.09, 394.24, 394.25, 394.26 and 394.27, or make such other disposition of him as he may be permitted by law Fla. Laws 1955— 1956 Extra. Sess., c. 31403, § 1, p. 62.
Donaldson had been adjudged “incompetent” several days earlier under §394.22 (1), which provided for such a finding as to any person who was
“incompetent by reason of mental illness, sickness, drunkenness, excessive use of drugs, insanity, or other mental or physical condition, so that he is incapable of caring for himself or managing his property, or is likely to dissipate or lose his property or become the victim of designing persons, or inflict harm on himself or others Fla. Gen. Laws 1955, c. 29909, § 3, p. 831.
It would appear that § 394.22 (11) (a) contemplated that involuntary commitment would be imposed only on those “incompetent” persons who “require [d] confinement or restraint to prevent self-injury or violence to others.” But this is not certain, for § 394.22 (11) (c) provided that the judge could adjudicate the person a “harmless incompetent” and release him to a guardian upon a finding that he did “not require confinement or restraint to prevent self-injury or violence to others and that treatment in the Florida State Hospital is unnecessary or would be without benefit to such person Fla. Gen. Laws 1955, c. 29909, § 3, p. 835 (emphasis added). In this regard, it is noteworthy that Donaldson’s “Order for Delivery of Mentally Incompetent” to the Florida State Hospital provided that he required “confinement or restraint to prevent self-injury or violence to others, or to insure proper treatment.” (Emphasis added.) At any rate, the Florida commitment statute provided no judicial procedure whereby one still incompetent could *567secure his release on the ground that he was no longer dangerous to himself or others.
Whether the Florida statute provided a “right to treatment” for involuntarily committed patients is also open to dispute. Under §394.22 (11) (a), commitment “to prevent self-injury or violence to others” was “for care, maintenance, and treatment.” Recently Florida has totally revamped its civil commitment law and now provides a statutory right to receive individual medical treatment. Fla. Stat. Ann. § 394.459 (1973).
The sole statutory procedure for release required a judicial reinstatement of a patient’s “mental competency.” Public Health Code §§ 394.22 (15) and (16), Fla. Gen. Laws 1955, c. 29909, § 3, pp. 838-841. But this procedure could be initiated by the hospital staff. Indeed, it was at the staff’s initiative that Donaldson was finally restored to competency, and liberty, almost immediately after O’Connor retired from the superintendency.
In addition, witnesses testified that the hospital had always had its own procedure for releasing patients — for “trial visits,” “home visits,” “furloughs,” or “out of state discharges” — even though the patients had not been judicially restored to competency. Those conditional releases often became permanent, and the hospital merely closed its books on the patient. O’Connor did not deny at trial that he had the power to release patients; he conceded that it was his “duty” as superintendent of the hospital “to determine whether that patient having once reached the hospital was in such condition as to request that he be considered for release from the hospital.”
There was some evidence that Donaldson, who is a Christian Scientist, on occasion refused to take medication. The trial judge instructed the jury not to award damages for any period of confinement during which Donaldson had declined treatment.
At the close of Donaldson’s case in chief, O’Connor moved for a directed verdict on the ground that state law at the time of Donaldson’s confinement authorized institutionalization of the mentally ill even if they posed no danger to themselves or others. This motion was denied. At the close of all the evidence, O’Connor asked that the jury be instructed that "if defendants acted pursuant to a statute which was not declared unconstitutional at the time, they cannot be held accountable for such action.” The District Court declined to give this requested instruction.
The District Court defined treatment as follows:
“You are instructed that a person who is involuntarily civilly committed to a mental hospital does have a constitutional right to receive such treatment as will give him a realistic opportunity to be cured or to improve his mental condition.” (Emphasis added.)
O’Connor argues that this statement suggests that a mental patient has a right to treatment even if confined by reason of dangerousness to himself or others. But this is to take the above paragraph out of context, for it is bracketed by paragraphs making clear the trial *571judge’s theory that treatment is constitutionally required only if mental illness alone, rather than danger to self or others, is the reason for confinement. If O’Connor had thought the instructions ambiguous on this point, he could have objected to them and requested a clarification. He did not do so. We accordingly have no occasion here to decide whether persons committed on grounds of dangerousness enjoy a “right to treatment.”
In pertinent part, the instructions read as follows:
“The Plaintiff claims in brief that throughout the period of his hospitalization he was not mentally ill or dangerous to himself or others, and claims further that if he was mentally ill, or if Defendants believed he was mentally ill, Defendants withheld from him the treatment necessary to improve his mental condition. '
“The Defendants claim, in brief, that Plaintiff’s detention was legal and proper, or if his detention was not legal and proper, it was the result of mistake, without malicious intent.
“In order to prove his claim under the Civil Rights Act, the burden is upon the Plaintiff in this case to establish by a preponderance of the evidence in this case the following facts:
“That the Defendants confined Plaintiff against his will, knowing that he was not mentally ill or dangerous or knowing that if mentally ill he was not receiving treatment for his alleged mental illness.
“[T]hat the Defendants’ acts and conduct deprived the Plaintiff of his Federal Constitutional right not to be denied or deprived of his liberty without due process of law as that phrase is defined and explained in these instructions ....
“You are instructed that a person who is involuntarily civilly committed to a mental hospital does have a constitutional right to receive such treatment as will give him a realistic opportunity to be cured or to improve his mental condition.
“Now, the purpose of involuntary hospitalization is treatment and not mere custodial care or punishment if a patient is not a danger to himself or others. Without such treatment there is no justifica*572tion from a constitutional stand-point for continued confinement unless you should also find that the Plaintiff was dangerous either to himself or others.”
The trial judge had instructed that punitive damages should be awarded only if “the act or omission of the Defendant or Defendants which proximately caused injury to the Plaintiff was maliciously or wantonly or oppressively done.”
Given the jury instructions, see n. 6 supra, it is possible that the jury went so far as to find that O’Connor knew not only that Donaldson was harmless to himself and others but also that he was not mentally ill at all. If it so found, the jury was permitted by the instructions to rule against O’Connor regardless of the nature of the “treatment” provided. If we were to construe the jury’s verdict in that fashion, there would remain no substantial issue in this case: That a wholly sane and innocent person has a constitutional right not to be physically confined by the State when his freedom will pose a danger neither to himself nor to others cannot be seriously doubted.
The judge’s instructions used the phrase “dangerous to himself.” Of course, even if there is no foreseeable risk of self-injury or suicide, a person is literally “dangerous to himself” if for physical or other reasons he is helpless to avoid the hazards of freedom either through his own efforts or with the aid of willing family members or friends. While it might be argued that the judge’s instructions could have been more detailed on this point, O’Connor raised no objection to them, presumably because the evidence clearly showed that Donaldson was not “dangerous to himself” however broadly that phrase might be defined.
O’Connor argues that, despite the jury’s verdict, the Court must assume that Donaldson was receiving treatment sufficient to justify his confinement, because the adequacy of treatment is a “nonjusticiable” question that must be left to the discretion of the psychiatric profession. That argument is unpersuasive. Where “treatment” is the sole asserted ground for depriving a person of liberty, it is plainly unacceptable to suggest that the courts are powerless to determine whether the asserted ground is present. See Jackson v. Indiana, 406 U. S. 715. Neither party objected to the jury instruction defining treatment. There is, accordingly, no occasion in this case to decide whether the provision of treatment, standing alone, can ever constitutionally justify involuntary confinement or, if it can, how much or what kind of treatment would suffice for that purpose. In its present posture this case involves not involuntary treatment but simply involuntary custodial confinement.
See n. 5, supra. During his years of confinement, Donaldson unsuccessfully petitioned the state and federal courts for release from the Florida State Hospital on a number of occasions. None of these claims was ever resolved on its merits, and no evidentiary hearings were ever held. O’Connor has not contended that he relied on these unsuccessful court actions as an independent intervening reason for continuing Donaldson’s confinement, and no instructions on this score were requested.
Upon remand, the Court of Appeals is to consider only the question whether O’Connor is to be held liable for monetary damages for violating Donaldson’s constitutional right to liberty. The *578jury found, on substantial evidence and under adequate instructions, that O’Connor deprived Donaldson, who was dangerous neither to himself nor to others and was provided no treatment, of the constitutional right to liberty. Cf. n. 8, supra. That finding needs no further consideration. If the Court of Appeals holds that a remand to the District Court is necessary, the only issue to be determined in that court will be whether O’Connor is immune from liability for monetary damages.
Of necessity our decision vacating the judgment of the Court of Appeals deprives that court’s opinion of precedential effect, leaving this Court’s opinion and judgment as the sole law of the case. See United States v. Munsingwear, 340 U. S. 36.