Plaintiff-Appellee Dylan Dunn, a California state prisoner acting pro se, filed this action under 42 U.S.C. § 1983 against Defendants-Appellants J. Castro, T. Surges, P. Stockman, D. Ortiz, Y. Yamamoto, and A.K. Scribner (collectively, Defendants). Dunn challenges a restriction that was temporarily imposed on his right to receive visits from his three minor children while he was in prison. Defendants appeal from the district court’s order denying their motion to dismiss Dunn’s complaint. We have jurisdiction pursuant to 28 U.S.C. § 1291, and we reverse.
BACKGROUND
Dunn is a California state prisoner. On May 7, 2002, while incarcerated at Corcoran State Prison, prison officials reported Dunn for violating prison rules by “attempting to elicit illegal sexual relations by phone in concert [with a] minor.” Dunn claims that he was actually engaging in a sexually-oriented telephone conversation with his wife, without realizing at the time that his child was on the phone. Nevertheless, on January 29, 2004, an Institutional Classification Committee (ICC) decided to prohibit Dunn from receiving visits from all minors, based upon the May 2002 violation.
*1198 The ICC relied upon California Code of Regulations (CCR), title 15, section 3173.1, in making its decision. 1 Section 3173.1 provides that “[i]nmates may be prohibited from having contact or non-contact visits where substantial evidence ... of the misconduct described in section 3177(b)(1) exists, with or without a criminal conviction.” Section 3177(b)(1), in turn, lists several California Penal Code sections dealing with sex offenses, including California Penal Code section 266j. Penal Code section 266j criminalizes the act of causing, inducing, or persuading a child under the age of 16 to engage in “any lewd or lascivious act” with another person.
Dunn sought relief from the restriction through the prison administrative grievance system. On February 18, 2005, prison officials lifted the restriction on Dunn’s visitation privileges, of which Dunn received notice on July 28, 2005.
Dunn, proceeding pro se and in forma pauperis, later filed a complaint against Defendants under 42 U.S.C. § 1983. In his complaint, Dunn pleaded five claims, alleging that Defendants violated his right to: (1) substantive due process under the Fourteenth Amendment; (2) freedom of association under the First Amendment; (3) freedom from cruel and unusual punishment under the Eighth Amendment; (4) equal protection under the Fourteenth Amendment; and (5) a state-created liberty interest under the Fourteenth Amendment. After screening the complaint pursuant to 28 U.S.C. § 1915A(a), the district court permitted the complaint to proceed as to the due process claims. Defendants then filed a Rule 12(b)(6) motion to dismiss the remaining claims on the ground of qualified immunity.
Defendants’ motion to dismiss was first heard by a magistrate judge. Applying the two-prong test for qualified immunity announced in
Saucier v. Katz,
STANDARD OF REVIEW
We review de novo a district court’s decision to deny a motion to dismiss under Rule 12(b)(6).
Camacho v. Bridgeport Fin. Inc.,
DISCUSSION
The doctrine of qualified immunity shields government officials performing discretionary functions from liability for damages “insofar as their conduct does not
*1199
violate clearly established statutory or constitutional rights of which a reasonable person would have known.”
Harlow v. Fitzgerald,
We find it particularly appropriate to resolve Dunn’s case at this stage because the Supreme Court has “repeatedly ... stressed the importance of resolving immunity questions at the earliest possible stage in litigation.”
Hunter v. Bryant,
As to the second prong, “[t]he relevant, dispositive inquiry in determining whether a right is clearly established is whether it would be clear to a reasonable officer that his conduct was unlawful in the situation he confronted.”
Saucier,
533
*1200
U.S. at 202,
The district court articulated the clearly established constitutional right at issue in this case to be “the fundamental interest a parent has in maintaining a relationship with his child.” Our able district court colleague erred in defining the established constitutional right so broadly.
A court, when deciding whether there has been a violation of a “clearly established right” for qualified immunity, must strike the proper balance in defining that right. In
Anderson v. Creighton,
the Court stressed the importance of this balance and the adverse consequences of defining the right too generally.
But if the test of “clearly established law” were to be applied at this level of generality, it would bear no relationship to the “objective legal reasonableness” that is the touchstone of Harlow. Plaintiffs would be able to convert the rule of qualified immunity that our cases plainly establish into a rule of virtually unqualified liability simply by alleging violation of extremely abstract rights. Harlow would be transformed from a guarantee of immunity into a rule of pleading. Such an approach, in sum, would destroy “the balance that our cases strike between the interests in vindication of citizens’ constitutional rights and in public officials’ effective performance of their duties,” by making it impossible for officials “reasonably [to] anticipate when their conduct may give rise to liability for damages.” It should not be surprising, therefore, that our cases establish that the right the official is alleged to have violated must have been “clearly established” in a more particularized, and hence more relevant, sense: The contours of the right must be sufficiently clear that a reasonable official would understand that what he is doing violates that right.
Id.
at 639-40,
The Court in
Anderson
criticized the court of appeals for considering the qualified immunity question only in terms of the petitioner’s “right to be free from warrantless searches of one’s home unless the searching officers have probable cause and there are exigent circumstances,”
id.
at 640,
The district court has committed a similar error in the present case. It de
*1201
fined the pertinent right as a broad general proposition, that is, a father’s right to the companionship of his child. The cases cited by the magistrate judge and district court may support the basic premise that a parent has a “fundamental liberty interest” in “the companionship and society of his or her child” outside of prison.
2
Lee v. City of Los Angeles,
At the time Defendants imposed the challenged restriction, Supreme Court and Ninth Circuit precedent clearly established that prisoners do not enjoy an absolute right to receive visits while incarcerated, even from family members. In
Block v. Rutherford,
the Court held “that the Constitution does not require that detainees be allowed contact visits when responsible, experienced administrators have determined, in their sound discretion, that such visits will jeopardize the security of the facility.”
*1202
In
Overton v. Bazzetta,
the Court considered a substantive due process claim challenging various prison regulations restricting prisoners’ rights to receive visits from family members.
The Court’s failure to recognize an absolute right to receive visitors in prison, to a certain extent, necessarily flows from the nature of prison, the goals it serves, and the deference owed to prison administrators in effectuating those goals. Prison serves the important purpose of deterring crime.
Pell v. Procunier,
We have similarly declined to recognize a prisoner’s constitutional right to receive visits, stating that “it is well-settled that prisoners have no constitutional right while incarcerated to contact visits.”
Gerber v. Hickman,
In determining whether a right is clearly established, we may also look to precedent from other circuits.
See Boyd v. Benton County,
Two other circumstances are relevant to defining the contours of the constitutional right Dunn asserts in this case. First, Dunn is not challenging the constitutionality of any of the prison’s regulations as a matter of law. Instead, he is challenging the specific decision restricting his visitation privileges. We note that Dunn is no longer under a permanent restriction on his right to receive visits from his children. Since July 28, 2005, Dunn has been aware of his entitlement to receive visits from his children. Thus, Dunn is essentially challenging an 18-month suspension of his visitation privileges.
5
Our conclusion might
*1204
be different if Dunn were presently subject to a blanket ban on his visitation privileges.
See Overton,
Second, prisons officials had grounds for concluding that Dunn had violated prison rules when he participated in a sexually-oriented telephone call involving a minor. Dunn alleges that he was merely having phone sex with his wife, without knowing that his child was also on the line, an allegation we must accept as true for purposes of our analysis.
See Navarro v. Block,
Further, whether or not based upon 15 CCR section 3173.1, prison officials had a basis for restricting Dunn’s visitation privileges. In the Director’s Level Appeal Decision, the Inmate Appeal Branch concluded that even though 15 CCR section 3173.1 may not have been the “appropriate vehicle” for imposing the restriction on Dunn’s privileges, the restriction “could as easily have been supported by initiating an investigation into a possible conspiracy to circumvent visiting rules using minors, causing the minor’s right to visit to be suspended pending the outcome of that investigation.”
6
As a result, the Inmate Appeals Branch concluded that “[t]he immediate effect would have been the same,” and “there [was] no evidence that either the appellant or his family suffered needless harm from the actions of ICC and there [was] evidence that ICC had both reason and obligation to ensure the safety of the minor before allowing future visits to occur.”
Id.
Moreover, the possibility of a mistake in originally basing the restriction in section 3173.1, as opposed to some alternative regulation, would not foreclose the qualified immunity defense. “The qualified immunity standard gives ample room for mistaken judgments.”
Hunter,
CONCLUSION
The right at issue here is not an abstract right to familial association. By so holding, the district court erred by defining the question at too high a level of generality and evaluating that question without regard to the relevant fact-specific circumstances. Like the Court in
Overton,
we do not hold or imply that incarceration entirely extinguishes the right to receive visits from family members.
See
REVERSED and REMANDED to the district court for further proceedings in conformity with this opinion.
Notes
. This version of section 3173.1 became operative on March 20, 2003. A repealer, new section, and amendment were filed on December 5, 2005. The parties agree that the 2003 version quoted above was in effect at the time of the ICC's decision, and controls in this case.
. None of the cases cited by the magistrate judge or district court addresses the extent to which the "fundamental liberty interest" in familial association survives when one is lawfully incarcerated. In
Kelson v. City of Springfield,
the parents sued the city for school officials' negligence in permitting their 14-year old son to commit suicide while at school.
.
Block
involved pretrial detainees, but the Court indicated that this group should be treated similarly to convicted inmates in this regard.
See id.
at 587,
.
See Samford v. Dretke,
. Dunn’s visitation privileges were actually restored on February 18, 2005. Dunn, how *1204 ever, did not receive notice of the decision lifting the restriction until July 28, 2005.
. In considering a Rule 12(b)(6) motion, a district court generally may not take into account material beyond the complaint.
Intri-Plex Technologies, Inc. v. Crest Group, Inc.,
. Defendants asked the district court to rule in their favor on the basis of the four-factor test articulated in
Turner
v.
Safley,
