opinion: Per Curiam.
  In 1958, respondent was convicted of robbery in Washington state court and sentenced to 20 years of imprisonment; this sentence expired by its terms in 1978. In 1976, while on parole from that sentence, he was convicted of two counts of assault and one count of aiding a prisoner to escape; in 1978, the State sentenced him to two life terms and one 10-year term on those convictions. These sentences were maximum terms under Washington’s then-indeterminate sentencing scheme, with the minimum term to be set by the Board of Prison Terms and Paroles. Under Washington law, the 1958 conviction will increase by several years the mandatory minimum term which respondent will have to serve on his 1978 sentences.
  In 1976 respondent was also convicted of bank robbery and conspiracy in federal court and sentenced to 30 years of imprisonment. He is currently serving his federal sentence in a federal penitentiary in California, but the State of Washington has lodged a detainer against him with federal prison authorities. Respondent is scheduled to begin serving the sentences imposed upon him by the Washington courts in 1978 at the expiration of his federal term.
  In 1985, while in federal prison, respondent filed a pro se petition for habeas corpus relief in the United States District Court for the Western District of Washington. Respondent’s petition listed the 1958 Washington conviction as the “conviction under attack,” alleging that it was invalid because respondent had not been given a competency hearing, even though there was reasonable doubt as to his competency to stand trial. Respondent also alleged that the 1958 conviction had been used illegally to enhance his 1978 state sentences, which he had not yet begun to serve. The District Court dismissed the petition for lack of subject-matter jurisdiction, holding that respondent was not “in custody” for the purposes of a habeas attack on the 1958 conviction because the sentence imposed for that conviction had already expired. The Court of Appeals for the Ninth Circuit reversed. 847 P. 2d 616 (1988). The Court of Appeals held that respondent was still “in custody” under the 1958 conviction, even though the sentence imposed for that conviction had expired, because it had been used to enhance the sentences imposed in 1978 for his 1976 state convictions, which he had yet to serve. Id., at 618-619. We granted certiorari to review this interpretation of the “in custody” requirement. 488 U. S. 941 (1988). We conclude that respondent is not presently “in custody” under the 1958 sentence, but that he is “in custody” under the 1978 state sentences which he has not yet begun to serve.
  The federal habeas statute gives the United States district courts jurisdiction to entertain petitions for habeas relief only from persons who are “in custody in violation of the Constitution or laws or treaties of the United States.” 28 U. S. C. § 2241(c)(3) (emphasis added); see also 28 U. S. C. § 2254(a). We have interpreted the statutory language as requiring that the habeas petitioner be “in custody” under the conviction or sentence under attack at the time his petition is filed. See Carafas v. LaVallee, 391 U. S. 234, 238 (1968). In this case, the Court of Appeals held that a habeas petitioner may be “in custody” under a conviction whose sentence has fully expired at the time his petition is filed, simply because that conviction has been used to enhance the length of a current or future sentence imposed for a subsequent conviction. We think that this interpretation stretches the language “in custody” too far.
  Our interpretation of the “in custody” language has not required that a prisoner be physically confined in order to challenge his sentence on habeas corpus. In Jones v. Cunningham, 371 U. S. 236 (1963), for example, we held that a prisoner who had been placed on parole was still “in custody” under his unexpired sentence. We reasoned that the petitioner’s release from physical confinement under the sentence in question was not unconditional; instead, it was explicitly conditioned on his reporting regularly to his parole officer, remaining in a particular community, residence, and job, and refraining from certain activities. Id., at 242; see also Hensley v. Municipal Court, San Jose-Milpitas Judicial Dist., Santa Clara County, 411 U. S. 345 (1973); Braden v. 30th Judicial Circuit Court of Ky., 410 U. S. 484 (1973).
  We have never held, however, that a habeas petitioner may be “in custody” under a conviction when the sentence imposed for that conviction has fully expired at the time his petition is filed. Indeed, our decision in Carafas v. LaVallee, supra, strongly implies the contrary. In Carafas, the petitioner filed his habeas application while he was actually incarcerated under the sentence he sought to attack, but his sentence expired and he was unconditionally discharged from custody while his appeal from the denial of habeas relief below was pending before this Court. The State argued that the unconditional discharge rendered the case moot. We rejected this argument, holding that the “collateral consequences” of the petitioner’s conviction — his inability to vote, engage in certain businesses, hold public office, or serve as a juror — prevented the case from being moot. Id., at 237-238. We went on to say, however, that the unconditional release raised a “substantial issue” as to the statutory “in custody” requirement. Id., at 238. While we ultimately found that requirement satisfied as well, we rested that holding not on the collateral consequences of the conviction, but on the fact that the petitioner had been in physical custody under the challenged conviction at the time the petition was filed. Ibid. The negative implication of this holding is, of course, that once the sentence imposed for a conviction has completely expired, the collateral consequences of that conviction are not themselves sufficient to render an individual “in custody” for the purposes of a habeas attack upon it.
  The question presented by this case is whether a habeas petitioner remains “in custody” under a conviction after the sentence imposed for it has fully expired, merely because of the possibility that the prior conviction will be used to enhance the sentences imposed for any subsequent crimes of which he is convicted. We hold that he does not. While we have very liberally construed the “in custody” requirement for purposes of federal habeas, we have never extended it to the situation where a habeas petitioner suffers no present restraint from a conviction. Since almost all States have habitual offender statutes, and many States provide as Washington does for specific enhancement of subsequent sentences on the basis of prior convictions, a contrary ruling would mean that a petitioner whose sentence has completely expired could nonetheless challenge the conviction for which it was imposed at any time on federal habeas. This would read the “in custody” requirement out of the statute and be contrary to the clear implication of the opinion in Carafas v. LaVallee, supra.
  In this case, of course, the possibility of a sentence upon a subsequent conviction being enhanced because of the prior conviction actually materialized, but we do not think that requires any different conclusion. When the second sentence is imposed, it is pursuant to the second conviction that the petitioner is incarcerated and is therefore “in custody.”
  We do think, however, that respondent may challenge the sentences imposed upon him by the State of Washington in 1978, even though he is not presently serving them. In Mc-Nally v. Hill, 293 U. S. 131 (1934), we held that the “in custody” requirement meant present physical confinement under the conviction or sentence under attack. Were this rule still the law, respondent would not be “in custody” even under the 1978 sentences, because he has not yet begun to serve them. But in Peyton v. Rowe, 391 U. S. 54 (1968), we overruled McNally and held that a petitioner who was serving two con-' secutive sentences imposed by the Commonwealth of Virginia could challenge the second sentence which he had not yet begun to serve.
  While in this case respondent is serving a federal sentence, rather than another sentence imposed by the State of Washington, we do not think this factual difference from Peyton v. Rowe requires a different result. The State of Washington has placed a detainer with the federal authorities to ensure that at the conclusion of respondent’s federal sentence, he will be returned to the state authorities to begin serving his 1978 state sentences. In Braden v. 30th Judicial Circuit Court of Ky., supra, we held that a prisoner serving a sentence in Alabama, who was subject to a detainer filed with his Alabama jailers by Kentucky officials, was “in custody” for the purpose of a habeas attack on the outstanding Kentucky charge upon which the detainer rested. We think that Braden and Peyton together require the conclusion that respondent in this case was “in custody” under his 1978 state sentences at the time he filed. Since we think respondent’s habeas petition, construed with the deference to which pro se litigants are entitled, Haines v. Kerner, 404 U. S. 519 (1972), can be read as asserting a challenge to the 1978 sentences, as enhanced by the allegedly invalid prior conviction, see United States v. Tucker, 404 U. S. 443 (1972), we affirm the Court of Appeals’ finding that respondent has satisfied the “in custody” requirement for federal habeas jurisdiction.
  Our holding is limited to the narrow issue of “custody” for subject-matter jurisdiction of the habeas court. We express no view on the extent to which the 1958 conviction itself may be subject to challenge in the attack upon the 1978 sentences which it was used to enhance. See 28 U. S. C. §2254 Rule 9(a).
  The judgment of the Court of Appeals is
  Affirmed.
  Respondent also alleged that the 1958 conviction had been used to enhance the federal sentence which he was serving at the time of the filing. The courts below did not address that contention, however, and respondent has not pressed it before this Court. Accordingly, we do not consider it here.
choices: U.S. Court of Customs and Patent Appeals U.S. Court of International Trade U.S. Court of Claims, Court of Federal Claims U.S. Court of Military Appeals, renamed as Court of Appeals for the Armed Forces U.S. Court of Military Review U.S. Court of Veterans Appeals U.S. Customs Court U.S. Court of Appeals, Federal Circuit U.S. Tax Court Temporary Emergency U.S. Court of Appeals U.S. Court for China U.S. Consular Courts U.S. Commerce Court Territorial Supreme Court Territorial Appellate Court Territorial Trial Court Emergency Court of Appeals Supreme Court of the District of Columbia Bankruptcy Court U.S. Court of Appeals, First Circuit U.S. Court of Appeals, Second Circuit U.S. Court of Appeals, Third Circuit U.S. Court of Appeals, Fourth Circuit U.S. Court of Appeals, Fifth Circuit U.S. Court of Appeals, Sixth Circuit U.S. Court of Appeals, Seventh Circuit U.S. Court of Appeals, Eighth Circuit U.S. Court of Appeals, Ninth Circuit U.S. Court of Appeals, Tenth Circuit U.S. Court of Appeals, Eleventh Circuit U.S. Court of Appeals, District of Columbia Circuit (includes the Court of Appeals for the District of Columbia but not the District of Columbia Court of Appeals, which has local jurisdiction) Alabama Middle U.S. District Court Alabama Northern U.S. District Court Alabama Southern U.S. District Court Alaska U.S. District Court Arizona U.S. District Court Arkansas Eastern U.S. District Court Arkansas Western U.S. District Court California Central U.S. District Court California Eastern U.S. District Court California Northern U.S. District Court California Southern U.S. District Court Colorado U.S. District Court Connecticut U.S. District Court Delaware U.S. District Court District Of Columbia U.S. District Court Florida Middle U.S. District Court Florida Northern U.S. District Court Florida Southern U.S. District Court Georgia Middle U.S. District Court Georgia Northern U.S. District Court Georgia Southern U.S. District Court Guam U.S. District Court Hawaii U.S. District Court Idaho U.S. District Court Illinois Central U.S. District Court Illinois Northern U.S. District Court Illinois Southern U.S. District Court Indiana Northern U.S. District Court Indiana Southern U.S. District Court Iowa Northern U.S. District Court Iowa Southern U.S. District Court Kansas U.S. District Court Kentucky Eastern U.S. District Court Kentucky Western U.S. District Court Louisiana Eastern U.S. District Court Louisiana Middle U.S. District Court Louisiana Western U.S. District Court Maine U.S. District Court Maryland U.S. District Court Massachusetts U.S. District Court Michigan Eastern U.S. District Court Michigan Western U.S. District Court Minnesota U.S. District Court Mississippi Northern U.S. District Court Mississippi Southern U.S. District Court Missouri Eastern U.S. District Court Missouri Western U.S. District Court Montana U.S. District Court Nebraska U.S. District Court Nevada U.S. District Court New Hampshire U.S. District Court New Jersey U.S. District Court New Mexico U.S. District Court New York Eastern U.S. District Court New York Northern U.S. District Court New York Southern U.S. District Court New York Western U.S. District Court North Carolina Eastern U.S. District Court North Carolina Middle U.S. District Court North Carolina Western U.S. District Court North Dakota U.S. District Court Northern Mariana Islands U.S. District Court Ohio Northern U.S. District Court Ohio Southern U.S. District Court Oklahoma Eastern U.S. District Court Oklahoma Northern U.S. District Court Oklahoma Western U.S. District Court Oregon U.S. District Court Pennsylvania Eastern U.S. District Court Pennsylvania Middle U.S. District Court Pennsylvania Western U.S. District Court Puerto Rico U.S. District Court Rhode Island U.S. District Court South Carolina U.S. District Court South Dakota U.S. District Court Tennessee Eastern U.S. District Court Tennessee Middle U.S. District Court Tennessee Western U.S. District Court Texas Eastern U.S. District Court Texas Northern U.S. District Court Texas Southern U.S. District Court Texas Western U.S. District Court Utah U.S. District Court Vermont U.S. District Court Virgin Islands U.S. District Court Virginia Eastern U.S. District Court Virginia Western U.S. District Court Washington Eastern U.S. District Court Washington Western U.S. District Court West Virginia Northern U.S. District Court West Virginia Southern U.S. District Court Wisconsin Eastern U.S. District Court Wisconsin Western U.S. District Court Wyoming U.S. District Court Louisiana U.S. District Court Washington U.S. District Court West Virginia U.S. District Court Illinois Eastern U.S. District Court South Carolina Eastern U.S. District Court South Carolina Western U.S. District Court Alabama U.S. District Court U.S. District Court for the Canal Zone Georgia U.S. District Court Illinois U.S. District Court Indiana U.S. District Court Iowa U.S. District Court Michigan U.S. District Court Mississippi U.S. District Court Missouri U.S. District Court New Jersey Eastern U.S. District Court (East Jersey U.S. District Court) New Jersey Western U.S. District Court (West Jersey U.S. District Court) New York U.S. District Court North Carolina U.S. District Court Ohio U.S. District Court Pennsylvania U.S. District Court Tennessee U.S. District Court Texas U.S. District Court Virginia U.S. District Court Norfolk U.S. District Court Wisconsin U.S. District Court Kentucky U.S. Distrcrict Court New Jersey U.S. District Court California U.S. District Court Florida U.S. District Court Arkansas U.S. District Court District of Orleans U.S. District Court State Supreme Court State Appellate Court State Trial Court Eastern Circuit (of the United States) Middle Circuit (of the United States) Southern Circuit (of the United States) Alabama U.S. Circuit Court for (all) District(s) of Alabama Arkansas U.S. Circuit Court for (all) District(s) of Arkansas California U.S. Circuit for (all) District(s) of California Connecticut U.S. Circuit for the District of Connecticut Delaware U.S. Circuit for the District of Delaware Florida U.S. Circuit for (all) District(s) of Florida Georgia U.S. Circuit for (all) District(s) of Georgia Illinois U.S. Circuit for (all) District(s) of Illinois Indiana U.S. Circuit for (all) District(s) of Indiana Iowa U.S. Circuit for (all) District(s) of Iowa Kansas U.S. Circuit for the District of Kansas Kentucky U.S. Circuit for (all) District(s) of Kentucky Louisiana U.S. Circuit for (all) District(s) of Louisiana Maine U.S. Circuit for the District of Maine Maryland U.S. Circuit for the District of Maryland Massachusetts U.S. Circuit for the District of Massachusetts Michigan U.S. Circuit for (all) District(s) of Michigan Minnesota U.S. Circuit for the District of Minnesota Mississippi U.S. Circuit for (all) District(s) of Mississippi Missouri U.S. Circuit for (all) District(s) of Missouri Nevada U.S. Circuit for the District of Nevada New Hampshire U.S. Circuit for the District of New Hampshire New Jersey U.S. Circuit for (all) District(s) of New Jersey New York U.S. Circuit for (all) District(s) of New York North Carolina U.S. Circuit for (all) District(s) of North Carolina Ohio U.S. Circuit for (all) District(s) of Ohio Oregon U.S. Circuit for the District of Oregon Pennsylvania U.S. Circuit for (all) District(s) of Pennsylvania Rhode Island U.S. Circuit for the District of Rhode Island South Carolina U.S. Circuit for the District of South Carolina Tennessee U.S. Circuit for (all) District(s) of Tennessee Texas U.S. Circuit for (all) District(s) of Texas Vermont U.S. Circuit for the District of Vermont Virginia U.S. Circuit for (all) District(s) of Virginia West Virginia U.S. Circuit for (all) District(s) of West Virginia Wisconsin U.S. Circuit for (all) District(s) of Wisconsin Wyoming U.S. Circuit for the District of Wyoming Circuit Court of the District of Columbia Nebraska U.S. Circuit for the District of Nebraska Colorado U.S. Circuit for the District of Colorado Washington U.S. Circuit for (all) District(s) of Washington Idaho U.S. Circuit Court for (all) District(s) of Idaho Montana U.S. Circuit Court for (all) District(s) of Montana Utah U.S. Circuit Court for (all) District(s) of Utah South Dakota U.S. Circuit Court for (all) District(s) of South Dakota North Dakota U.S. Circuit Court for (all) District(s) of North Dakota Oklahoma U.S. Circuit Court for (all) District(s) of Oklahoma Court of Private Land Claims United States Supreme Court