Kenneth Dulworth, an Oklahoma inmate appearing pro se, seeks to appeal the district court’s denial of his motion for costs. Mr. Dulworth sought costs in connection with an application for a writ of habeas corpus that he filed under 28 U.S.C. § 2241 to challenge his security classification and earned credits calculation. The district court dismissed the § 2241 application as moot after the Oklahoma Department of Corrections voluntarily gave Mr. Dulworth all the relief he sought. Mr. Dulworth then filed a motion for costs under Fed.R.Civ.P. 54(d)(1), which provides in pertinent part that “costs other than attorneys’ fees shall be allowed as of course to the prevailing party unless the
*1135
court otherwise directs.” The district court denied the motion, concluding Mr. Dulworth was not a prevailing party because he achieved the relief he sought through the department’s voluntary conduct rather than through any judicial relief from the court.
Cf. Buckhannon Bd. & Care Home, Inc. v. W. Va. Dep’t of Health & Human Res.,
Mr. Dulworth filed a notice of appeal. He contends he is not required to obtain a certificate of appealability pursuant to 28 U.S.C. § 2253(c)(1)(A) because he is appealing the denial of costs, not the denial of his application for a writ of habeas corpus. Alternatively, he requests a COA if we determine one is required. For the reasons set out below, we hold that a COA is required to appeal the denial of costs in a habeas action, and that Mr. Dulworth has not satisfied the conditions for the grant of a COA.
I
Section 2253(c)(1)(A) provides that absent a COA, an appeal may not be taken from “the final order in a habeas corpus proceeding in which the detention complained of arises out of process issued by a State court.” A COA may issue under § 2253(c)(1) “only if the applicant has made a substantial showing of the denial of a constitutional right.” 28 U.S.C. § 2253(c)(2).
In
Montez v. McKinna,
If a state prisoner has been convicted in state court, is thereby incarcerated, and then files a § 2241 petition complaining about the condition or circumstances of that incarceration, then logic dictates that the person is detained because of a process issued (a conviction) by a State court. When it is clear that the detention results from a State court conviction, the habeas petition arises from the genesis of custody — the State conviction.
Greene v. Tenn. Dep’t of Corr.,
The plain language of § 2253(c)(1)(A) provides that a COA is necessary to take an appeal from “the final order in a habeas corpus proceeding.” We recently considered whether a habeas petitioner is required to obtain a COA before appealing an order denying a post-judgment motion. In
Spitznas v. Boone,
The Second Circuit, when faced with an appeal from the denial of a Fed. R.App. P. 4(a)(6) motion to reopen the time to appeal the denial of § 2255 relief, rejected the defendant’s argument that the “final order” language of § 2253(c)(1) “does not encompass ‘ordinary motions’ such as motions to extend time.”
Eltayib v. United States,
In
Spitznas,
we recognized that the purpose underlying the COA requirement in § 2253 “ ‘is to prevent frivolous cases from clogging appellate dockets and to promote finality.’ ”
But appeals from the denial of Rule 60(b) relief or Rule 4(a)(6) motions to reopen differ from the appeal from the denial of costs before us in one significant respect. The former have the ability to bring before the court at some point the underlying merits of the habeas petition— that is in fact their ultimate design—but a motion for costs will never bring up the merits qua merits. The court may examine the merits to decide some issue relating to costs, but it will never rule on the merits themselves. Nonetheless, we think the purpose of a COA and the purpose of habeas itself, which is to uncover constitutional error, counsel against treating a motion for costs differently than these other post-judgment motions when it comes to requiring a COA.
As the Supreme Court stated in
Barefoot v. Estelle,
II
Having determined that Mr. Dulworth needs a COA to proceed, we are required to decide what standard he must meet to obtain a COA. Section 2253(c)(2) provides that a petitioner must make “a substantial showing of the denial of a constitutional right” to obtain a COA. “A petitioner satis
*1137
fies this standard by demonstrating that jurists of -reason could disagree with the district court’s resolution of his constitutional claims or that jurists could conclude that the issues presented are adequate to deserve encouragement to proceed further.”
Miller-El v. Cockrell,
Slack
states that its two-part standard is to be used “[w]hen the district court denies a habeas petition on procedural grounds without reaching the prisoner’s underlying constitutional claim.”
Id.
Thus, when a procedural ruling has prevented a court from addressing the merits of a constitutional claim it presumably would otherwise have addressed, it is appropriate to apply the two-part standard. In
Spitznas,
we applied
Slack’s
two-part COA standard because the petitioner alleged in his Rule 60(b) motion that the district court denied him due process, but the district court did not reach that claim because it denied the Rule 60(b) motion as untimely.
Other courts have applied
Slack’s
two-part standard in appeals from Rule 60(b) motions, not because the Rule 60(b) motion raised a constitutional claim that was disposed of on a procedural ground, but because the Rule 60(b) motion raised claims that were considered procedural in nature and thus the ruling on that motion was treated as a procedural ruling. For example, in
Reid v. Angelone,
■ [bjecause this claim is procedural in nature, we may not grant a COA unless Reid establishes (a) “that jurists of reason would find it debatable whether the [Rule 60(b) motion] states a valid claim of the denial of a constitutional right” and (b) “that jurists of reason would find it debatable whether the district court was correct in its procedural ruling.”
Id.
(quoting
Slack,
a COA should issue only if the petitioner shows that (1) jurists of reason would find it debatable whether the district court abused its discretion in denying the Rule 60(b) motion, and (2) jurists of reason would find it debatable whether the underlying habeas petition, in light of the grounds alleged to support the 60(b) motion, states a valid claim of the denial of a constitutional right.
The Second and Third Circuits have also applied the two-part
Slack
standard to
*1138
COA requests in appeals from the denial of Rule 4(a)(6) motions to reopen the time to appeal.
See Eltayib,
to obtain a certificate of appealability in a case involving the denial of a Rule 4(a)(6) motion, a petitioner must show: (1) that jurists of reason would find it debatable whether the district court abused its discretion in denying the Rule 4(a)(6) motion; and (2)(a) in a case where a habeas petition was denied on the merits, that “jurists of reason would find the district court’s assessment of the constitutional claims debatable or wrong” or (b) in a case where a habeas petition was denied on procedural grounds without reaching the underlying constitutional claims, ... “that jurists of reason would find it debatable whether the petition states a valid claim of the denial of a constitutional right and that jurists of reason would find it debatable whether the district court was correct in its procedural ruling.”
Eltayib,
Slack’s two-part COA standard, which is focused on creating a mechanism for the review of procedural rulings that have prevented a court from reviewing underlying constitutional claims, fits the Rule 60(b) and Rule 4(a)(6) contexts. If the district court’s denial of Rule 60(b) relief is reversed, the district court will have to (re)examine one or more claims in a habe-as petition. If the district court’s denial of a Rule 4(a)(6) motion is reversed, a habeas petitioner will be permitted to appeal the denial of habeas relief. In both instances, there are potentially meritorious constitutional claims awaiting review that must first break through an overlaying procedural ruling.
Here, however, we do not have a procedural obstacle to review of the underlying merits. Instead we have a simple ruling on costs, with no underlying constitutional claims awaiting review. There is no need and no reason to apply a two-part standard to this ruling. The ruling on Mr. Dulworth’s motion for costs is better suited to application of the straight COA standard of § 2253(c)(2): Mr. Dulworth must make a substantial showing of the denial of a constitutional right.
Mr. Dulworth filed his motion for costs under Rule 54(d)(1). The district court denied the motion on the ground that Mr. Dulworth did not qualify as a prevailing party and therefore was not entitled to costs under the rule. Mr. Dulworth’s motion did not raise a constitutional claim, and nothing about the district court’s denial of that motion implicates the denial of a constitutional right. Therefore, Mr. Dul-worth cannot make the showing necessary to obtain a COA to appeal the denial of his motion for costs. 1
*1139 Accordingly, we DENY Mr. Dulworth’s application for a certificate of appealability and DISMISS this appeal. Mr. Dul-worth’s motion for leave to proceed in forma pauperis is granted.
Notes
. It may be, as a practical matter, that no petitioner will ever be able assert a constitutional claim in connection with a Rule 54(d)(1) cost motion and, therefore, no petitioner will ever be able to obtain a COA to appeal the denial of such a motion. Even if that were true, it is no different from the situation of a federal prisoner who brings a § 2255 motion that raises a federal statutory
*1139
or other non-constitutional federal claim and can never obtain a COA to appeal the denial of habeas relief on that claim.
See, e.g., United States v. Gordon,
