Mr. Justice Fortas
delivered the opinion of the Court.
This case presents the question whether state prisoners who have commenced habeas corpus proceedings in a federal district court may, in proper circumstances, utilize the instrument of interrogatories for discovery purposes.
I.
Petitioner is the Chief Judge of the United States District Court for the Northern District of California. Respondent is the warden of the California State Prison at San Quentin. The proceeding was initiated by Alfred Walker who had been convicted in the California courts of the crime of possession of marihuana. After exhausting state remedies, he filed a petition for habeas corpus in the Federal District Court, alleging that evidence seized in the search incident to his arrest was improperly admitted at his trial. The basis for this claim was his allegation that the arrest and incidental search were based solely on the statement of an informant who, according to Walker’s sworn statement, was not shown to have been reliable; who, in fact, was unreliable; and whose statements were accepted by the police without proper precautionary procedures.
The District Court issued an order to show cause and respondent made return. Thereafter, Walker filed a motion for an evidentiary hearing, which the District Court granted. Two months later, Walker served upon the respondent warden a series of interrogatories, pursuant to Rule 33 of the Federal Rules of Civil Procedure, seeking discovery of certain facts directed to proof of the informant’s unreliability. Respondent filed objections to the interrogatories, alleging the absence of authority for their issuance. The District Judge, without stating his reasons, disallowed the objections and directed that the interrogatories be answered. Respondent applied to the Court of Appeals for the Ninth Circuit for a writ of mandamus or prohibition. The Ninth Circuit vacated the order of the District Court. It held that the discovery provisions of the Federal Rules of Civil Procedure were not applicable to habeas corpus proceedings and that 28 U. S. C. § 2246, the statutory provision specifically relating to the use of interrogatories in habeas corpus proceedings, did not authorize their use for discovery. Wilson v. Harris, 378 F. 2d 141 (1967).
Because of the importance of the questions presented and the diversity of views among the district and appellate courts that have considered the problem, we granted certiorari. 392 U. S. 925. We agree with the Ninth Circuit that Rule 33 of the Federal Rules of Civil Procedure is not applicable to habeas corpus proceedings and that 28 U. S. C. § 2246 does not authorize interrogatories except in limited circumstances not applicable to this case; but we conclude that, in appropriate circumstances, a district court, confronted by a petition for habeas corpus which establishes a prima facie case for relief, may use or authorize the use of suitable discovery procedures, including interrogatories, reasonably fashioned to elicit facts necessary to help the court to “dispose of the matter as law and justice require.” 28 U. S. C. § 2243. Accordingly, we reverse and remand the case in order that the District Court may reconsider the matter before it in light of our opinion and judgment.
II.
The writ of habeas corpus is the fundamental instrument for safeguarding individual freedom against arbitrary and lawless state action. Its pre-eminent role is recognized by the admonition in the Constitution that: “The Privilege of the Writ of Habeas Corpus shall not be suspended . . . U. S. Const., Art. I, § 9, cl. 2. The scope and flexibility of the writ — its capacity to reach all manner of illegal detention — its ability to cut through barriers of form and procedural mazes — have always been emphasized and jealously guarded by courts and lawmakers. The very nature of the writ demands that it be administered with the initiative and flexibility essential to insure that miscarriages of justice within its reach are surfaced and corrected.
As Blackstone phrased it, habeas corpus is “the great and efficacious writ, in all manner of illegal confinement.” As this Court said in Fay v. Noia, 372 U. S. 391, 401-402 (1963), the office of the writ is “to provide a prompt and efficacious remedy for whatever society deems to be intolerable restraints.” See Peyton v. Rowe, 391 U. S. 54, 65-67 (1968).
It is now established beyond the reach of reasonable dispute that the federal courts not only may grant evi-dentiary hearings to applicants, but must do so upon an appropriate showing. Townsend v. Sain, 372 U. S. 293, 313 (1963); Brown v. Allen, 344 U. S. 443, 464, n. 19 (1953). And this Court has emphasized, taking into account the office of the writ and the fact that the petitioner, being in custody, is usually handicapped in developing the evidence needed to support in necessary detail the facts alleged in his petition, that a habeas corpus proceeding must not be allowed to founder in a “procedural morass.” Price v. Johnston, 334 U. S. 266, 269 (1948).
There is no higher duty of a court, under our constitutional system, than the careful processing and adjudication of petitions for writs of habeas corpus, for it is in such proceedings that a person in custody charges that error, neglect, or evil purpose has resulted in his unlawful confinement and that he is deprived of his freedom contrary to law. This Court has insistently said that the power of the federal courts to conduct inquiry in habeas corpus is equal to the responsibility which the writ involves: “The language of Congress, the history of the writ, the decisions of this Court, all make clear that the power of inquiry on federal habeas corpus is plenary.” Townsend v. Sain, supra, at 312.
In the present case, we are confronted with a procedural problem which tests the reality of these great principles. We are asked by Walker to establish the existence of rights for those in custody to discover facts which may aid their petitions for release. We are asked to do this by declaring that the provisions of the Federal Rules of Civil Procedure granting such rights to litigants in civil causes are available to Walker; or if we refuse so to conclude, to affirm the existence of power in the District Court to authorize discovery by written interrogatories. We address ourselves to those issues.
III.
Rule 1 of the Federal Rules of Civil Procedure provides that: “These rules govern the procedure in the United States district courts in all suits of a civil nature . . . with the exceptions stated in Rule 81.” At the time of the decision below Rule 81 (a) (2) provided, in relevant part, that the Rules were not applicable in habeas corpus “except to the extent that the practice in such proceedings is not set forth in statutes of the United States and has heretofore conformed to the practice in actions at law or suits in equity.”
The Court of Appeals for the Ninth Circuit held that the second requirement — “conformity” with practice— made it necessary to show that “prior to September 16, 1938, discovery was actually being used in habeas proceedings, and that such use conformed to the then discovery practice in actions at law or suits in equity.” 378 F. 2d, at 144. No such showing was made and it is not here contended that it can be made. Walker contends, however, that the rule requires only a showing that habeas proceedings conformed generally to pre-existing practice in law and equity, and he contends that this general requirement is met.
We need not consider this contention that the Court of Appeals took an unnecessarily restricted view of the thrust of the “conformity” requirement, because for other reasons we conclude that the intended scope of the Federal Rules of Civil Procedure and the history of habeas corpus procedure, make it clear that Rule 81 (a) (2) must be read to exclude the application of Rule 33 in habeas corpus proceedings.
It is, of course, true that habeas corpus proceedings are characterized as “civil.” See, e. g.. Fisher v. Baker, 203 U. S. 174, 181 (1906). But the label is gross and inexact. Essentially, the proceeding is unique. Habeas corpus practice in the federal courts has conformed with civil practice only in a general sense. There is no indication that with respect to pretrial proceedings for the development of evidence, habeas corpus practice had conformed to the practice at law or in equity “to the extent” that the application of rules newly developed in 1938 to govern discovery in “civil” cases should apply in order to avoid a divergence in practice which had theretofore been substantially uniform. Although there is little direct evidence, relevant to the present problem, of the purpose of the “conformity” provision of Rule 81 (a)(2), the concern of the draftsmen, as a general matter, seems to have been to provide for the continuing applicability of the “civil” rules in their new form to those areas of practice in habeas corpus and other enumerated proceedings in which the “specified” proceedings had theretofore utilized the modes of civil practice. Otherwise, those proceedings were to be considered outside of the scope of the rules without prejudice, of course, to the use of particular rules by analogy or otherwise, where appropriate.
Such specific evidence as there is with respect to the intent of the draftsmen of the rules indicates nothing more than a general and nonspecific understanding that the rules would have very limited application to habeas corpus proceedings. At the very least, it is clear that there was no intention to extend to habeas corpus, as a matter of right, the broad discovery provisions which, even in ordinary civil litigation, were “one of the most significant innovations” of the new rules. Hickman v. Taylor, 329 U. S. 495, 500 (1947). Walker does not claim that there was any general discovery practice in habeas corpus proceedings prior to adoption of the Federal Rules of Civil Procedure.
In considering the intended application of the new rules to habeas corpus, it is illuminating to note that in 1938 the expansion of federal habeas corpus to its present scope was only in its early stages. Mooney v. Holohan, 294 U. S. 103 (1935): Johnson v. Zerbst, 304 U. S. 458 (1938); Waley v. Johnston, 316 U. S. 101 (1942). It was not until many years later that the federal courts considering a habeas corpus petition were held to be required in many cases to make an independent determination of the factual basis of claims that state convictions had violated the petitioner’s federal constitutional rights. Brown v. Allen, 344 U. S. 443 (1953); Townsend v. Sain, 372 U. S. 293 (1963). In these circumstances it is readily understandable that, as indicated by the language and the scanty contemporary exegesis of Rule 81 (a) (2) which is available, the draftsmen of the rule did not contemplate that the discovery-provisions of the rules would be applicable to habeas corpus proceedings.
It is also of some relevance that in 1948, when Congress enacted 28 U. S'. C. § 2246 expressly referring to the right of parties in habeas corpus proceedings to propound written interrogatories, its legislation was limited to interrogatories for the purpose of obtaining evidence from affiants where affidavits were admitted in evidence. Again, the restricted scope of this legislation indicates that the adoption in 1938 of the Federal Rules of Civil Procedure was not intended to make available in habeas corpus proceedings the discovery provisions of those rules.
Indeed, it is difficult to believe that the draftsmen of the Rules or Congress would have applied the discovery rules without modification to habeas corpus proceedings because their specific provisions are ill-suited to the special problems and character of such proceedings. For example, Rule 33, which Walker here invoked, provides for written interrogatories to be served by any party upon any “adverse party.” As the present case illustrates, this would usually mean that the prisoner’s interrogatories must be directed to the warden although the warden would be unable to answer from personal knowledge questions relating to petitioner’s arrest and trial. Presumably the warden could solicit answers from the appropriate officials and reply “under oath,” as the rule requires; but the warden is clearly not the kind of “adverse party” contemplated by the discovery rules, and the result of their literal application would be to invoke a procedure which is circuitous, burdensome, and time consuming.
The scope of interrogatories which may be served under Rule 33 also indicates the unsuitability of applying to habeas corpus provisions which were drafted without reference to its peculiar problems.
By reference to Rule 26 (b), the rule would give the prisoner a right to inquire into “any matter, not privileged, which is relevant to the subject matter involved in the pending action,” whether admissible at trial or not. This rule has been generously construed to provide a great deal of latitude for discovery. See Hickman v. Taylor, supra, at 507; 2A Barron & Holtzoff, supra, § 646. Such a broad-ranging preliminary inquiry is neither necessary nor appropriate in the context of a habeas corpus proceeding.
Except for interrogatories to be served by the “plaintiff” within 10 days after the commencement of “the action,” Rule 33 provides that the interrogatories may be served without leave of court. The “adverse party” must then take the initiative to contest the interrogatories and a hearing in court on his objections is required. Unavoidably, unless there is a measure of responsibility in the originator of the proceeding, the “plaintiff” or petitioner, this procedure can be exceedingly burdensome and vexatious. The interrogatory procedure would be available to the prisoners themselves since most habeas petitions are prepared and filed by prisoners, generally without the guidance or restraint of members of the bar. For this reason, too, we conclude that the literal application of Rule 33 to habeas corpus proceedings would do violence to the efficient and effective administration of the Great Writ. The burden upon courts, prison officials, prosecutors, and police, which is necessarily and properly incident to the processing and adjudication of habeas corpus proceedings, would be vastly increased; and the benefit to prisoners would be counterbalanced by the delay which the elaborate discovery procedures would necessarily entail.
It is true that the availability of Rule 33 would provide prisoners with an instrument of discovery which could be activated on their own initiative, without prior court approval, and that this would be of considerable tactical advantage to them in the prosecution of their efforts to demonstrate such error in their trial as would result in their release. But despite the forceful and ingenious argument of Walker’s counsel and amici curiae, this consideration cannot carry the day. It is a long march from this contention to a conclusion that the discovery provisions of the Federal Rules of Civil Procedure were intended to extend to habeas corpus proceedings. We have no power to rewrite the Rules by judicial interpretations. We have no power to decide that Rule 33 applies to habeas corpus proceedings unless, on conventional principles of statutory construction, we can properly conclude that the literal language or the intended effect of the Rules indicates that this was within the purpose of the draftsmen or the congressional understanding.
IV.
To conclude that the Federal Rules’ discovery provisions do not apply completely and automatically by virtue of Rule 81 (a)(2) is not to say that there is no way in which a district court may, in an appropriate case, arrange for procedures which will allow development, for purposes of the hearing, of the facts relevant to disposition of a habeas corpus petition. Petitioners in habeas corpus proceedings, as the Congress and this Court have emphasized, and as we have discussed, supra, at 290-292, are entitled to careful consideration and plenary processing of their claims including full opportunity for presentation of the relevant facts. Congress has provided that once a petition for a writ of habeas corpus is filed, unless the court is of the opinion that the petitioner is not entitled to an order to show cause, the writ must be awarded “forthwith,” or an order to show cause must be issued. 28 U. S. C. § 2243. Thereafter, if the .court concludes that the petitioner is entitled to an evidentiary-hearing, cf. Townsend v. Sain, supra; 28 U. S. C. § 2254, it shall order one to be held promptly. 28 U. S. C. § 2243.
Flexible provision is made for taking evidence by oral testimony, by deposition, or upon affidavit and written interrogatory. 28 U. S. C. § 2246. Cf. §§ 2245, 2254 (e). The court shall “summarily hear and determine the facts, and dispose of the matter as law and justice require.” 28 U. S. C. § 2243. But with respect to methods for securing facts where necessary to accomplish the objective of the proceedings Congress has been largely silent. Clearly, in these circumstances, the habeas corpus jurisdiction and the duty to exercise it being present, the courts may fashion appropriate modes of procedure, by analogy to existing rules or otherwise in conformity with judicial usage. Where their duties require it, this is the inescapable obligation of the courts. Their authority is expressly confirmed in the All Writs Act, 28 U. S. C. § 1651. This statute has served since its inclusion, in substance, in the original Judiciary Act as a “legislatively approved source of procedural instruments designed to achieve ‘the rational ends of law.' ” Price v. Johnston, 334 U. S. 266, 282 (1948), quoting Adams v. United States ex rel. McCann, 317 U. S. 269, 273 (1942). It has been recognized that the courts may rely upon this statute in issuing orders appropriate to assist them in conducting factual inquiries. American Lithographic Co. v. Werckmeister, 221 U. S. 603,609 (1911) (subpoenas duces tecum); Bethlehem Shipbuilding Corp. v. NLRB, 120 F. 2d 126, 127 (C. A. 1st Cir. 1941) (order that certain documents be produced for the purpose of pretrial discovery). In Price v. Johnston, supra, this Court held explicitly that the purpose and function of the All Writs Act to supply the courts with the instruments needed to perform their duty, as prescribed by the Congress and the Constitution, provided only that such instruments are “agreeable” to the usages and principles of law, extend to habeas corpus proceedings.
At any time in the proceedings, when the court considers that it is necessary to do so in order that a fair and meaningful evidentiary hearing may be held so that the court may properly “dispose of the matter as law and justice require,” either on its own motion or upon cause shown by the petitioner, it may issue such writs and take or authorize such proceedings with respect to development, before or in conjunction with the hearing of the facts relevant to the claims advanced by the parties, as may be “necessary or appropriate in aid of [its jurisdiction] . . . and agreeable to the usages and principles of law.” 28 U. S. C. § 1651.
We do not assume that courts in the exercise of their discretion will pursue or authorize pursuit of all allegations presented to them. We are aware that confinement sometimes induces fantasy which has its basis in the paranoia of prison rather than in fact. But where specific allegations before the court show reason to believe that the petitioner may, if the facts are fully developed, be able to demonstrate that he is confined illegally and is therefore entitled to relief, it is the duty of the court to provide the necessary facilities and procedures for an adequate inquiry. Obviously, in exercising this power, the court may utilize familiar procedures, as appropriate, whether these are found in the civil or criminal rules or elsewhere in the “usages and principles of law.”
Accordingly, we reverse the judgment of the Court of Appeals for the Ninth Circuit and remand the case for further proceedings in accordance with this opinion.
Reversed and remanded.
Some courts have joined the Ninth Circuit in holding the discovery provisions of the Federal Rules wholly inapplicable to habeas corpus proceedings. E. g., Sullivan v. United States, 198 F. Supp. 624, 625-627 (D. C. S. D. N. Y. 1961). On other occasions it has been held that the Rules apply only by “analogy.” Wilson v. Weigel, 387 F. 2d 632, 634, n. 3 (C. A. 9th Cir. 1967); cf. United States ex rel. Jelic v. District Director of Immigration, 106 F. 2d 14, 20 (C. A. 2d Cir. 1939) (opinion by Judge Clark, who served as Reporter of the Advisory Committee on the Federal Rules of Civil Procedure). Several courts have held the Rules applicable because habeas is characterized generally as a “civil” proceeding. E. g., United States ex rel. Seals v. Wiman, 304 F. 2d 53, 64 (C. A. 5th Cir. 1962); cf. Schiebelhut v. United States, 318 F. 2d 785, 786 (C. A. 6th Cir. 1963) (28 U. S. C. §2255 action). Some courts have sustained the use of particular discovery rules under the Federal Rules of Civil Procedure as necessary to effectuate statutory policy with respect to habeas corpus. E. g., Knowles v. Gladden, 254 F. Supp. 643, 644-645 (D. C. Ore. 1965), aff’d, 378 F. 2d 761 (C. A. 9th Cir. 1967). Others have apparently assumed that the rules applied to habeas without discussion of the question. E. g., Fortner v. Balkcom, 380 F. 2d 816, 818 (C. A. 5th Cir. 1967).
3 W. Blackstone, Commentaries *131 (Lewis ed. 1902). See generally Fay v. Noia, 372 U. S. 391, 399-415 (1963). Cf. Frank v. Mangum, 237 U. S. 309, 346 (Holmes, J., joined by Hughes, J., dissenting) (1915), “[H]abeas corpus cuts through all forms and goes to the very tissue of the structure. It comes in from the outside . . . and although every form may have been preserved opens the inquiry whether they have been more than an empty shell.”
Rule 81 (a) (2) was amended, effective July 1, 1968, to read, “These rules are applicable to proceedings for . . . habeas corpus . . . to the extent that the practice in such proceedings is not set forth in statutes of the United States and has heretofore conformed to the practice in civil actions.” The amendment merely eliminated references to appellate procedure made inappropriate by the adoption of the Federal Rules of Appellate Procedure and does not affect the issue before us. See Report of the Committee on Rules of Practice and Procedure of the Judicial Conference of the United States, 43 F. R. D. 61, 164 (explanatory note to the proposed revision of Rule 81 (a) (2)).
The degree to which this characterization excessively simplifies a complex history is discussed in Cohen, Some Considerations on the Origins of Habeas Corpus, 16 Can. B. Rev. 92 (1938), and Cohen, Habeas Corpus Cum Causa — The Emergence of the Modem Writ, 18 Can. B. Rev. 10, 172 (1940). Cf. Sullivan v. United States, 198 F. Supp. 624 (D. C. S. D. N. Y. 1961).
The federal courts have applied some noncontroversial rules in habeas corpus proceedings. E. g., Rule 6 (b)(2), extension of time for excusable neglect, Bowen v. Boles, 258 F. Supp. 111 (D. C. N. D. W. Va. 1966); Rule 15 (b), determination of issue not raised by pleadings, Hamilton v. Hunter, 65 F. Supp. 319 (D. C. Kan. 1946). See also 1 W. Barron & A. Holtzoff, Federal Practice and Procedure § 131 (C. Wright ed. 1960); Note, Civil Discovery in Habeas Corpus, 67 Col. L. Rev. 1296,1299 (1967). The applicability to habeas corpus of the rules concerning joinder and class actions has engendered considerable debate. See Mitchell v. Schoonfield, 285 F. Supp. 728 (D. C. Md. 1968); Hill v. Nelson, 272 F. Supp. 790 (D. C. N. D. Calif. 1967); Adderly v. Wainwright, 272 F. Supp. 530 (D. C. M. D. Fla. 1967). Cf. Note, Multiparty Federal Habeas Corpus, 81 Harv. L. Rev. 1482 (1968). The only issue before the Court in this case is the applicability to habeas corpus proceedings of those rules which deal with discovery. We intimate no view on whether the Federal Rules may be applicable with respect to other aspects of a habeas corpus proceeding.
In our consideration of this case, we have been assisted greatly by the briefs of the amici curiae — the NAACP Legal Defense and Educational Fund and the National Office for the Rights of the Indigent in support of petitioner, and the United States and the State of New York in support of respondent.
Mr. Justice Harlan, dissenting, agrees that district courts have power to require discovery when essential to render a habeas corpus proceeding effective. He dissents because he would substitute the judgment of this remote Court for that of the District Court as to the need for authorizing discovery in this case. Mr. Justice Harlan then expresses his views as to the desirability of formulating discovery rules under 28 U. S. C. § 2072, applicable to federal habeas and §2255 proceedings. In our view, the desirability of launching rule-making proceedings does not and could not affect the decision in the present case.
In view of his remarks, however, we have concluded that we should express agreement with our Brother Harlan as to the desirability of rule making in this field. We repeat that it does not follow from this that district judges are without power to enter necessary orders in the absence of rules.
In fact, it is our view that the rule-making machinery should be invoked to formulate rules of practice with respect to federal habeas corpus and § 2255 proceedings, on a comprehensive basis and not merely one confined to discovery. The problems presented by these proceedings are materially different from those dealt with in the Federal Rules of Civil Procedure and the Federal Rules of Criminal Procedure, and reliance upon usage and the opaque language of Civil Rule 81 (a) (2) is transparently inadequate. In our view the results of a meticulous formulation and adoption of special rules for federal habeas corpus and § 2255 proceedings would promise much benefit.