George Michael Curley filed this pro se civil-rights action seeking to restrict inmate-to-inmate correspondence in the New Mexico prison system. Acting sua sponte under 28 U.S.C. § 1915(e)(2) and Federal Rule of Civil Procedure 12(b)(6), the district court dismissed his complaint with prejudice because it failed to state a claim upon which relief could be granted. We granted Curley’s motion for leave to proceed on appeal without prepayment of costs or fees, appointed counsel, and directed supplemental briefing on the constitutionality of § 1915(e)(2)(B)(ii). (Order of October 10, 2000.) We also granted the United States’s motion to intervene to defend the constitutionality of a congressional act. (Order of January 24, 2001.) We now affirm.
BACKGROUND
Curley is a state prisoner in New Mexico. Due to unspecified threats, he has been placed in administrative segregation for his own safety. He alleges that he is being targeted by members of the “Security Threat Group,” allegedly a group of inmates in the New Mexico prison system who take retaliatory action against other inmates. He asserts that members of the Security Threat Group plan their violent activities through inmate-to-inmate correspondence. While in segregation, Curley received a threatening letter from an inmate at another facility, which he turned over to a prison official. Although we do not have a copy of that letter, Curley alleges it revealed that he was being targeted by the Security Threat Group because of his perceived assistance to the authorities in some way.
Curley seeks, by this lawsuit, to prohibit all inmate-to-inmate mail except for correspondence between immediate family members or involving legal issues. His complaint asks for a declaratory judgment and an injunction that (among other things) would require Defendants to “investigate” and ultimately implement more restrictive correspondence regulations. He does not seek monetary damages.
The district court granted Curley’s motion for leave to proceed in forma pauperis. The court, acting sua sponte, then dismissed the complaint with prejudice for failure to state a claim upon which relief could be granted under both 28 U.S.C. § 1915(e)(2) and Federal Rule of Civil Procedure 12(b)(6).
On appeal, Curley challenges both the district court’s dismissal decision on the merits and the constitutionality of the court’s procedure in sua sponte dismissal. We address the merits first because we need to address the constitutional procedural challenge only if we affirm on the merits the dismissal under § 1915(e)(2) and Rule 12(b)(6).
DISCUSSION
The district court had jurisdiction under 28 U.S.C. § 1381. We have jurisdiction under 28 U.S.C. § 1291.
I. Failure to state a claim
We review de novo the district court’s decision to dismiss a complaint under § 1915(e)(2) for failure to state a claim.
See Perkins v. Kansas Dep’t of Corrections,
Like the district court in this case, we construe Curley’s complaint as asserting a violation of the Eighth Amendment. He argues that the prison officials created unconstitutional conditions of confinement by failing to prevent or monitor inmate-to-inmate correspondence, which is an alleged mechanism that inmates use to plan violence against other inmates.
A prison official’s failure to prevent harm “violates the Eighth Amendment only when two requirements are met.”
Farmer v. Brennan,
The complaint in this case does not meet either requirement. While “prison officials have a duty to protect prisoners from violence at the hands of other prisoners,”
id.
at 833,
We can conceive of amendments to the complaint that would satisfy the first prong of
Farmer,
if Curley could show that the letter he received was so threatening and credible that the prison officials’ failure to act is objectively, sufficiently serious. We do not believe, however, that any amendment could establish that the officials are acting with deliberate indifference to Curley’s safety. By placing Curley in administrative segregation, the officials have demonstrated concern for his safety. Even if it is negligent of them not to take further protective actions, it cannot be said that they have shown deliberate indifference.
Cf. McGill v. Duckworth,
We therefore affirm the district court’s decision dismissing Curley’s complaint for failure to state a claim.
II. Constitutionality of sua sponte dismissal under Rule 12(b)(6) and § 1915(e)(2)
Curley argues that the district court violated his Fifth Amendment rights to due process and equal protection of the laws by dismissing his complaint without
*1283
providing notice or an opportunity to amend it. We review this constitutional question de novo.
See White v. Colorado,
A. Due Process
At our request, the parties have briefed the constitutionality of sua sponte dismissal under § 1915(e)(2)(B)(ii)
1
without notice or opportunity to amend. Upon further review, we conclude that Curley’s original constitutional claim is broad enough to encompass a similar challenge to the constitutionality of sua sponte dismissal under Rule 12(b)(6)
2
without notice or an opportunity to amend. For the purposes of the Due Process Clause, the standard for dismissal for failure to state a claim is essentially the same under both provisions.
Compare Perkins,
Curley argues that the .dismissal in his case violated his due process rights by infringing on his right of access to the courts. A number of courts have held, however, that sua sponte dismissal of a meritless claim under Rule 12(b)(6) or a statutory provision does not violate due process or unduly burden a plaintiffs right of access to the courts.
See Martin v. Scott,
We agree with the majority view that sua sponte dismissal of a merit-less complaint that cannot be salvaged by amendment comports with due process and does not infringe the right of access to the courts. Curley has not been prevented from bringing a meritorious claim. In addition, we find adequate procedural safeguards to avoid erroneous dismissals. A litigant whose complaint has been dismissed with prejudice could file a motion to alter or amend the judgment under Rule 59(e) or for relief from the judgment under Rule 60(b).
4
The litigant can also bring an appeal, in which we conduct plenary review of the sufficiency of the complaint. Other courts have found these procedures adequate to protect plaintiffs’ rights in the context of sua sponte dismissals for failure to prosecute,
see Link v. Wabash R.R. Co.,
We reiterate that the district court should allow a plaintiff an opportunity to cure technical errors or otherwise amend the complaint when doing so would yield a meritorious claim.
Cf. Denton v. Hernandez,
B. Equal Protection
Curley argues that § 1915(e)(2) violates equal protection principles by treating indigent litigants less favorably *1285 than paying litigants. As we noted above, however, in this circuit the standard for dismissal for failure to state a claim upon which relief can be granted without providing an opportunity to amend is very similar under § 1915(e)(2) and Rule 12(b)(6). Therefore, indigent litigants are not treated less favorably then paying litigants.
In addition, “[ujnless a legislative classification either burdens a fundamental right or targets a suspect class, it need only bear a rational relation to some legitimate end to comport with” equal protection. White,
CONCLUSION
Curley’s complaint fails to state a claim upon which relief can be granted. The statute under which his complaint was dismissed is constitutional. We therefore AFFIRM the district court’s decision.
Notes
. Section 1915(e)(2) provides that once a district court allows a plaintiff to proceed in forma pauperis, “the court shall dismiss the case at any time if the court determines that ... (B) the action ... (ii) fails to state a claim on which relief may be granted.”
. Rule 12(b)(6) allows a defendant to move that a complaint be dismissed for "failure to state a claim upon which relief can be granted.”
.A similar provision mandates sua sponte review of complaints by prisoners. See 28 U.S.C. § 1915A(b)(l). The district court did not rely on § 1915A, and we express no opinion on its constitutionality or proper construction.
. Curley did not file a motion under Rule 59 or Rule 60.
. Curley's Supplemental Brief also seems to argue that the statute discriminates between prisoners and non-prisoners. However, prisoners, like indigents, are not a suspect class for the purposes of equal protection analysis.
See White,
