We decide in this appeal whether dismissal of a 42 U.S.C. § 1983 action as frivolous is a strike within the meaning of the “three strikes” provision of the Prison Litigation Reform Act of 1995 (“PLRA”), 28 U.S.C. § 1915(g), when the suit is also construed to allege a habeas claim and is in part dismissed without prejudice for failure to exhaust state court remedies. Because we hold that it is a countable strike, and because under this interpretation of § 1915(g) plaintiff had three strikes prior to filing this appeal, we conclude that he is precluded from appealing informa pauperis (“IFP”), and we dismiss. 1
*461 I
Plaintiff John W. Patton (“Patton”), Texas prisoner # 751103, brought this § 1983 action, alleging that his constitutional rights were violated when prison officials placed him in administrative segregation after they were advised that he had written a threatening letter. 2 Patton sued six defendants, including a sheriff, a state judge, two assistant district attorneys, and Susan D. Rushing (“Detective Rushing”), a detective employed by the Jefferson Parish Sheriffs Office. He maintained that Detective Rushing and another individual had fabricated the threatening correspondence for the purpose of interfering with child custody proceedings in which he was involved. According to Patton, he missed a court hearing because he had been placed in lockdown.
The district court dismissed Patton’s claims against all defendants except Detective Rushing. The magistrate judge recommended that the action against the detective be administratively closed, without prejudice to reopening the case following Patton’s release from Texas custody. The district judge adopted the recommendation, stayed the case against Detective Rushing, and administratively closed the action subject to Patton’s right to reopen it within 30 days of his release. Patton appealed, and we vacated and remanded the indefinite stay order for reconsideration.
Patton v. Jefferson Correction,
Following remand, the district court revoked Patton’s IFP status. The court concluded that because Patton had filed at least five actions that had been dismissed as frivolous, he was barred by § 1915(g) from proceeding IFP. The court held that Patton’s complaint against Detective Rushing would be dismissed with prejudice unless Patton paid the appropriate filing fee within 30 days. Patton objected to the order and did not pay the fee. The district court overruled Patton’s objections and dismissed his lawsuit for failure to prosecute. Patton later moved for leave to pay a partial filing fee and to continue his case in the district court IFP. The district court construed the motion as a notice of appeal and a motion to proceed IFP on appeal. Based on its prior decision revoking Patton’s IFP status pursuant to the PLRA’s “three strikes” provision, the court denied Patton’s requests for leave to appeal IFP and to pay a partial filing fee.
Patton appeals the orders dismissing his action and denying him leave to appeal. He also moves for leave to appeal IFP and to appeal upon payment of a partial filing fee.
II
The PLRA contains a so-called “three strikes” provision, which states:
In no event shall a prisoner bring a civil action or appeal a judgment in a civil action or proceeding under this section if the prisoner has, on 3 or more prior occasions, while incarcerated or detained in any facility, brought an action or appeal in a court of the United States that was dismissed on the grounds that it is frivolous, malicious, or fails to state a claim upon which relief may be granted, unless the prisoner is under imminent danger of serious physical injury.
28 U.S.C. § 1915(g). We must decide whether Patton already had three strikes against him prior to filing the instant appeal.
One of the necessary strikes is easily discernible from the record. In Patton v. New Orleans Police Dep’t, Civil Action No. 93-3074 (E.D.La. Nov. 17, 1993), Patton alleged that he had been the victim of an armed robbery. He sued two New Orleans police officers pursuant to § 1983, alleging that they violated his rights by failing to arrest the perpetrators. At the time he filed suit, *462 Patton was incarcerated in a county detention center in Texas. Patton contended that the robbers attempted to intimidate him by contacting one of the officers and advising him that Patton was on probation in Texas. The officer then contacted Texas officials, obtained a copy of an outstanding arrest warrant, and arrested Patton when he appeared at the police station. Patton was also told that he had no right to lodge a criminal complaint because of his probation and criminal record.
The district court dismissed the suit as frivolous pursuant to former § 1915(d)
4
because the decision whether to file criminal charges against an individual does not give rise to § 1983 liability and because Patton had not alleged a policy, pattern, or practice of such inaction on the part of New Orleans as a municipality. Patton did not appeal the dismissal, and it became a countable strike!
See Adepegba v. Hammons,
Ill
We next consider whether a § 1983 action that is in part dismissed as frivolous, and is in part construed as a habeas claim, which is dismissed without prejudice for failure to exhaust state court remedies, is a countable strike.
A
In Patton v. Mamoulides, Civil Action No. 94-3311-1 (E.D.La. Nov. 16, 1994), Patton brought a § 1983 action against a district attorney and an assistant district attorney, alleging that they had denied him his constitutional right to a speedy trial. The district court 5 examined Patton’s complaint sua sponte to ascertain whether it should be construed as a petition for habeas corpus. Because Patton was attacking the fact and length of his confinement, the court concluded that he was seeking both habeas and § 1983 relief. Based on its determination that Patton had not exhausted his state court remedies, the court concluded that his habe-as claim should be dismissed without prejudice for failure to exhaust.
The court dismissed Patton’s § 1983 claim as frivolous pursuant to former § 1915(d). Applying
Heck v. Humphrey,
In
Patton v. Machado,
No. SA-95-CV-672 (W.D.Tex.1995),
aff'd,
No. 95-50785,
While awaiting sentencing, Patton filed a § 1983 action in federal court, seeking only injunctive relief in the form of a stay of the criminal proceedings and the recusal of the state judge. In response to a questionnaire, Patton alleged that the state judge and prosecutors had conspired with non-parties to deprive him of his rights. He also complained that the judge had violated his rights by certain acts and omissions committed during or in connection with the adjudication proceeding, and that the assistant district attorneys had infringed his rights by several acts taken in prosecuting him.
The magistrate judge recommended dismissal of the claims against the state judge and prosecutors based on judicial and prose-cutorial immunity, respectively. Relying on Heck, the magistrate judge concluded that Patton could not collaterally attack his conviction in a § 1983 action, and recommended that his request for injunctive relief be denied.
The magistrate judge also recommended that Patton be sanctioned for filing a frivolous suit. 7 Patton had previously filed three civil rights suits in that federal court, two of which he had voluntarily dismissed after the defendants answered, and a third (against his probation officer) that the magistrate judge had recommended be dismissed as frivolous. The magistrate judge noted that he had already advised Patton that he could be sanctioned for filing frivolous cases. The district judge adopted the recommendation, dismissed the case as frivolous, and imposed the suggested sanctions.
On appeal, we affirmed the dismissal of the complaint as frivolous, “although in part for reasons other than those stated by the district court,” and affirmed the district court’s order. imposing sanctions. Machado, 95-50785, slip op. at 2. We held that because Patton’s complaint sought only injunctive relief challenging the constitutionality of his confinement, it necessarily was construed as a petition for habeas corpus, and that Patton must exhaust state remedies before seeking federal court relief. Id. We concluded that “[t]he district court’s reliance on the doctrine of absolute immunity was inappropriate, because Patton’s complaint had sought injunc-tive relief only, not damages.” Id. Insofar as Patton’s complaint sought to set aside his conviction or sentence, we modified the dismissal to be without prejudice based on his failure to exhaust state remedies. Id.
B
We hold that the dismissals of Patton’s § 1983 actions in Mamoulides and Machado are strikes within the meaning of § 1915(g). 8
In Mamoulides Patton sued two prosecutors pursuant to § 1983, contending they were liable for denying him his constitutional right to a speedy trial. The district court dismissed the § 1983 claim with prejudice, finding it was frivolous based on prose-cutorial immunity. An unappealed dismissal as frivolous is unquestionably a strike within the meaning of § 1915(g).
That the district court also construed Patton’s complaint as seeking habeas relief, and then dismissed the claim without prejudice for failure to exhaust state court remedies, does not alter this conclusion. The ' court did not find that the habeas claim was wow-frivolous. It simply performed the required function of determining whether Patton’s § 1983 complaint contained both- habeas and § 1983 claims, in which case “the district court should separate the claims and decide
*464
the § 1983 claims.”
Orellana v. Kyle,
The district court’s dismissal in
Machado
is also a strike. We affirmed the dismissal of the § 1983 suit as frivolous and the sanction order. “It is straightforward that affirmance of a district court dismissal as frivolous counts as a single ‘strike.’”
Adepegba,
That we modified the dismissal to be without prejudice, insofar as Patton’s complaint sought to set aside his conviction or sentence, does not remove the § 1983 dismissal from the purview of the PLRA’s “three strikes” provision. In Machado, as in Mamoulides, there was no determination that Patton’s ha-beas claim was colorable. Machado held that Patton’s complaint, in which he sought only injunctive relief, necessarily was construed as a petition for habeas relief, that he must exhaust state remedies before seeking such relief in federal court, and that insofar as his complaint was an attempt to set aside his conviction or sentence, the dismissal must be modified to be without prejudice based on failure to exhaust. Machado, No. 95-50785, slip op. at 2.
Nor do we think it proper to excuse the
Machado
dismissal from the “three strikes” bar based on the fact that we affirmed “in part for reasons other than those stated by the district court,” and held that the district court’s reliance on the doctrine of absolute immunity was “inappropriate.” We explicitly affirmed the dismissal of the § 1983 suit as frivolous. The suit was so frivolous that despite our adoption of reasoning different from that of the district court, and our modification of the dismissal to be in part without prejudice, we affirmed the district court’s sanction order. In any event, we did not reverse the district court’s determination that Patton’s § 1983 action should be dismissed as frivolous.
Cf. Adepegba,
C
There is no compelling reason to excuse Patton’s frivolous § 1983 actions in
Mamoulides
and
Machado
from the reach of the PLRA’s “three strikes” proviso simply because the cases included unexhausted ha-beas claims. It is more faithful to the intent of the PLRA to classify these dispositions as strikes. “Congress enacted PLRA with the principal purpose of deterring frivolous prisoner litigation by instituting economic costs for prisoners wishing to file suits.”
Lyon v. Krol,
IV
Patton maintains in his motion for leave to appeal that the district court’s order denying him such leave violated § 1915(b)(4), which provides that “[i]n no event shall a prisoner be prohibited from bringing a civil action or appealing a civil or criminal judgment for the reason that the prisoner has no assets and no means by which to pay the initial partial filing fee.” We disagree. Section 1915(b)(4) pertains to the initial partial *465 filing fee requirement of § 1915(b)(1). Moreover, it is subject to the “three strikes” rule of § 1915(g), which applies to § 1915 as a whole.
In his supporting affidavit, Patton asserts that he is not barred by § 1915(g) from bringing this appeal because “he has no causes dismissed as frivolous since the passage of the PLRA.” This argument is foreclosed by
Adepegba,
which applies the PLRA to cases dismissed prior to its enactment.
Adepegba,
Patton has presented no basis to avoid the insuperable bar of § 1915(g). He may, of course, file appeals after paying the required filing fee, as must other litigants. He may also litigate actions that involve imminent danger of serious physical injury.
Adepegba,
Prior to the date Patton brought the present appeal, he already had three strikes against him. We therefore DENY his motion to proceed IFP and DISMISS the appeal.
DISMISSED.
Notes
. We reserve the larger question whether, under the plain language of § 1915(g), a frivolous habe- *461 as claim by itself counts as a strike for purposes of§ 1915(g).
. At the time he filed suit, Patton was an inmate confined at the Jefferson Parish Correctional Center located in Gretna, Louisiana.
. We remanded for reconsideration in light of
Muhammad v. Warden, Baltimore City Jail,
. Before passage of the PLRA, § 1915(d) authorized the dismissal of frivolous or malicious actions.
Carson v. Johnson,
. Following de novo review, the district judge adopted as his own opinion the report and recommendation of the magistrate judge. All references to the holdings of the district court are to rulings of the magistrate judge adopted by the district judge.
. This approach was proper.
See Littles v. Board of Pardons & Paroles Div.,
. He recommended that the district judge impose court costs and warn Patton that further frivolous lawsuits could result in more severe monetary sanctions, an order barring Patton from filing other lawsuits without obtaining leave from a district or circuit judge, or a combination of these sanctions.
. Section 1915(g) uses the term "prior occasions” rather than "strikes.” We use the vernacular associated with this section of the PLRA.
