OPINION OF THE COURT
The number of civil rights complaints filed annually in federal court by prisoners has been increasing dramatically in recent years. 1 One such complaint, drafted by Donald Edward Allen to challenge certain rules regarding a prison commissary and transmitted to the Clerk of the United States District Court, is alleged by its author to have been removed from its envelope and read by prison officials before it was forwarded to the court. As a result, Allen amended the complaint by adding the only charge that is now before us: that the opening of the envelope and the reading of *818 the complaint violated his constitutional rights. We are asked by the parties to determine, assuming that the factual allegations are true, whether Allen’s constitutional rights were so abridged.
Because of the existence of nonconstitutional grounds that may entitle Allen to the relief he seeks, we decline to reach the constitutional question, and instead remand to the district court for further proceedings.
I.
Allen was transferred from Lewisburg Federal Penitentiary to the Philadelphia Detention Center on March 15, 1974, in order to appear at a habeas corpus hearing that was scheduled for March 19. After Allen’s arrival in Philadelphia, the hearing was postponed until April 2. At Allen’s request, he was authorized to remain in the Detention Center until April 2, rather than be returned to Lewisburg.
Shortly after his arrival at the Detention Center, Allen experienced difficulty in purchasing stamps and envelopes at the prison commissary because of rules relating to the expenditure of personal funds by prisoners. In order to challenge these rules, Allen drafted a civil rights complaint which he intended to file in federal court. He placed the complaint in an envelope, addressed the envelope to the Clerk of the United States District Court for the Eastern District of Pennsylvania, and sealed the envelope. Because Allen did not have sufficient postage to mail the complaint, he delivered it on March 26 to the social service secretary of the Detention Center for mailing. The complaint did not arrive at the office of the Clerk of the District Court until eight days after Allen had taken it to the social service secretary.
The complaint was subsequently amended to allege that Edward Forman, the warden of the Detention Center, had read the original complaint before it was mailed to the federal court. Allen claimed that the opening of the envelope and the reading of the complaint violated his first amendment right of freedom of speech and his fourteenth amendment right of reasonable access to the courts. 2 He sought declaratory and injunctive relief, as well as damages.
During the trial, held before the district court sitting without a jury, it was revealed that Allen had had a conversation with Forman on March 29, three days ^after the envelope containing the original complaint had been given to the social service secretary. Allen testified that he had protested to Forman at that time about conditions at the Detention Center, and had stated that he had already filed one civil rights complaint against the Detention Center. According to Allen, Forman had responded by saying that he knew about the complaint Allen had sent to the federal court, and had already read it. Forman, however, testified that he made no such statement to Allen, added that he had no knowledge of Allen’s civil rights complaint at the time of the March 29 conversation, and denied that he had read the complaint before it was mailed to the district court.
The district court made findings of fact and conclusions of law, but did not consider it necessary to resolve the factual dispute between Allen and Forman concerning whether Forman had opened the envelope and read the complaint drafted by Allen. In the view of the district court, none of Allen’s constitutional or other federal rights had been infringed, even assuming Forman had opened the envelope, taken the complaint out of it, and read the complaint.
In this regard, the district court relied on Wolff v. McDonnell 3 for two propositions: (1) the mere opening of mail by prison officials does not violate the prisoner’s first amendment rights, and (2) the fourteenth amendment right of access to the courts had not been extended to ensure more than *819 the ability to prepare a petition or complaint. 4 In the alternative, the district court held that inspection of outgoing mail by prison authorities, as opposed to censorship of it, does not infringe a prisoner’s constitutional rights in any event, even if the mail is addressed to a court. 5 Judgment was entered by the district court for the defendants.
Allen attacks the result reached by the district court on several grounds. He contends that the reading of his court-addressed mail transgressed his first amendment rights because it did not further a substantial governmental interest unrelated to the suppression of expression and was not the least restrictive means of protecting any governmental interest in reading his mail. He also claims that the possibility that an inmate who mails a civil rights complaint to the federal court will be subjected to punishment or retaliation chills his right to petition the government for redress of grievances, and requires a prohibition against any interference with outgoing court-addressed correspondence. Moving from his claim under the first amendment, Allen argues that the opening of the envelope and the reading of his mail also violated his fourteenth amendment right of access to the courts.
Finally, Allen presents an argument based upon two nonconstitutional rights. He contends that a contract existing between the federal Bureau of Prisons and the City of Philadelphia restricts the authority of the prison officials to open his court-addressed mail. He additionally asserts that the defendants’ actions are prohibited by the handbook of the Philadelphia prison system. Allen urges this Court to rely upon the contract and the handbook as an alternative ground for reversing the judgment of the district court. 6
The prison officials suggest two sets of reasons for affirmance. The first is, essentially, that decisions regarding the functioning of a prison should be left to the prison administration. According to the defendants, the courts have traditionally deferred to the judgment of prison administrators on matters relating to the treatment of prisoners, and there is a need to monitor both incoming and outgoing mail in the prison environment. Secondly, the prison administrators claim that Allen has alleged only a mere subjective chilling of his constitutional rights under the first and fourteenth amendments, and, therefore, has not stated a claim upon which relief may be granted.
II.
Allen asserted in his amended complaint that the opening and reading of his mail by the defendants had encroached upon his right of access to the courts and his right to freedom of speech. In his brief filed in this Court, Allen has argued for the first time that the defendants’ conduct also violated a contract signed by the City of Philadelphia, governing the custody of federal prisoners in its prisons, and the published policies of the Philadelphia prison system.
A.
It is well established that federal courts will not pass upon a constitutional question if the issue presented in a case may be adjudicated on a nonconstitutional ground. 7 That is also true where, as here, the nonconstitutional basis for the decision was neither raised in the pleadings nor *820 ruled upon by the lower court. The Supreme Court has on several occasions even applied the doctrine when the nonconstitutional ground was not presented by the parties, but was first noticed by the Court itself.
For example, the Supreme Court granted certiorari in Rosenberg v. Fleuti 8 in order to consider the constitutionality of the application to George Fleuti of section 212(a)(4) of the Immigration and Nationality Act of 1952, which allowed the deportation of aliens who, at the time of their entry into the United States, had a “psychopathic personality.” But “upon [its] consideration of the case,” the Court “concluded that there is a threshold issue of statutory interpretation in the case,” obviating the need to rule on the constitutionality of the section of the statute originally challenged. 9 The Court proceeded to address the question whether Fleuti’s return to the United States after a visit of a few hours to Mexico was an “entry,” as that term was defined in the Act, since if it were not, the constitutionality of section 212(a)(4), whose applicability depended upon an entry, would not have to be decided. 10 The lower court had not considered the preliminary statutory question, 11 and, as noted in the dissenting opinion, Fleuti had not argued in the Supreme Court that his return to the United
States was not an entry. 12 Yet the rule against reaching a constitutional issue if it can be avoided led the majority nonetheless to rest its decision upon the statute alone. 13
The same approach was taken by the Supreme Court in Mackey v. Mendoza-Martinez 14 and Neese v. Southern Railway Co. 15 After oral argument in Mendoza-Martinez, the Court sua sponte asked the parties to brief the noneonstitutional question that would make decision on the constitutional issue unnecessary, and then remanded the case with permission to the parties to amend the pleadings to include the nonconstitutional question. 16 In Neese, the Court reversed the judgment of the court of appeals outright, “following] the traditional practice of [the] Court of refusing to decide constitutional questions when the record discloses other grounds of decision, whether or not they have been properly raised . by the parties.” 17 And in Peters v. Hobby, 18 the Court refused to address the constitutionality of a decision of the federal Loyalty Review Board when it discovered, without the question’s first being raised by the parties, that the Board’s actions were illegal because they exceeded the scope of the jurisdiction conferred by the executive order that had created the Board. 19
The teaching of these Supreme Court decisions is that we must resolve Allen’s ap *821 peal by relying on the nonconstitutional claims that he has presented in this Court, even though they were not raised before, if by so doing we may avoid deciding the constitutional questions set forth in his complaint.
B.
It was suggested at oral argument that we may not bypass the constitutional issue with regard to Allen’s prayer for damages, even assuming that the contract and prison rules were violated by the defendants. The reason asserted for this exception to the rule against unnecessarily reaching a constitutional question is that we cannot say that a plaintiff who goes to the fact finder for damages on a nonconstitutional basis would recover as large a judgment as he would if he sought damages on a constitutional basis.
But our consideration of the issue, in light of the record in this case, must nonetheless be limited to the alleged infringement of the contract and prison handbook. This is so because one of the constitutional claims may not be adequate for purposes of recovering damages, and the other may be insufficiently pleaded. Those determinations will be left to the district court on remand.
The amended complaint, insofar as relevant here, merely recites a set of facts and then avers that “[ojpening the sealed and addressed envelope, and reading the legal material contained therein, violated [Allen’s] right of meaningful access to the courts as guaranteed by the Due Process Clause of the Fourteenth Amendment; and violated his right to the freedom of speech guaranteed by the First Amendment and the Due Process Clause of the Fourteenth Amendment.” The facts alleged in the complaint and developed at trial do not necessarily set forth an infraction of the right of access to the courts. 20 With regard to the first amendment violation alleged in the complaint, it is possible that the claim is not specific enough to confer standing upon Allen. 21
The constitutional claims may not, for the same reason, be addressed in the context of *822 Allen’s request for injunctive and declaratory relief, either. Nor should they be if the claim bottomed upon nonconstitutional grounds is successful, for an injunction based upon a breach of a contract or of local prison rules might well be every bit as effective as one predicated upon a constitutional infraction. We thus move now to an analysis of the regulations and prison rules.
C.
As authorized by Congress, 22 the federal Bureau of Prisons and the City of Philadelphia executed a contract in 1975 providing for the holding of federal prisoners in the City’s prisons. The treatment of Allen during his temporary stay in the Philadelphia Detention Center, while he was awaiting his habeas corpus hearing, was governed in part by a set of “exhibits” appended to the contract. Exhibit A contains a section that sets out limitations on the opening and reading of court-addressed mail by prison authorities. 23 Because the contract was not brought to the attention of the district court, that court did not rule upon its applicability or effect.
Allen has also submitted to this Court another argument not raised before the district court. He contends that the defendants violated that portion of the handbook governing operations of the Philadelphia prison system which prohibits all censorship of mail sent by prisoners. Again, because the issue was not placed before it, the district court did not rule on the effect of this portion of the handbook.
Assuming Allen’s version of the facts to be true, he may be entitled to at least a portion of the relief he has sought if the terms of the contract or of the handbook apply to the defendants’ treatment of his letter. But rather than decide the issue ourselves, without the benefit of the district court’s views on the matter, we will remand the case in order that it may be “aired first” 24 at the trial level. On the remand, Allen may seek permission to amend his complaint to include a claim based upon the alleged violation of the contract and handbook 25 and to revise that portion of his complaint alleging an abridgement of his constitutional rights. 26 The trial court *823 should thereafter resolve the factual dispute in order to determine whether it is necessary to address the applicability of any well-pleaded grounds for relief then contained in the complaint.
III.
The judgment of the district court will be vacated, and the cause will be remanded for proceedings consistent with this opinion.
Notes
. In 1975, there were 6,128 such complaints filed, 17% more than the number filed only one year earlier and three times the number filed in 1970. As recently as 1966, only 218 had been filed. Administrative Office of the U. S. Courts, 1975 Annual Report of the Director XI-49 (Table 24) (1975).
. The amended complaint also retained the challenges to the Detention Center’s commissary rules that had been included in the original complaint. Only the claim regarding the opening and reading of Allen’s court-addressed mail has been brought to this Court in the present appeal, however.
.
. The district court also ruled that Allen’s fourth amendment rights, which were not raised in the amended complaint, had not been violated.
. The district court observed as well that in
Procunier v. Martinez,
. The nonconstitutional grounds for decision were neither advanced in the complaint nor addressed by the district court.
.
Hagans v. Lavine,
.
.
Id
at 451,
.
Id
at 460-63,
.
.
. Recognizing that “attention was not previously focused upon the application . . . to the case” of the section of the Act defining “entry,”
id
at 462,
.
.
.
.
.
.
Id.
at 388 and n.6,
.
Cf. Wolff v. McDonnell,
.
Cf. Bigelow v. Virginia,
The Supreme Court advised in
Haines v. Kerner,
. 18 U.S.C. § 4002 (1970).
. That section of Exhibit A provides in part that “[f]ederal prisoners . . . must be permitted to write . . . the United States district judge . without their letters being opened or read by institution officials.” We read the phrase “United States district judge” to encompass the clerk of the United States District Court, to whom Allen’s letter was actually addressed.
Exhibit A is a verbatim copy of the Bureau’s “Regulations Governing Custody and Treatment of Federal Prisoners in Nonfederal Institutions.” Because the Bureau has not traditionally been recognized as an “agency” within the contemplation of the Administrative Procedure Act, 5 U.S.C. § 551(1) (1970), it has not published its regulations in the Federal Register,
see
5 U.S.C. § 552(a)(1)(D) (1970). Challenges to the failure of the Bureau of Prisons to follow the dictates of the Administrative Procedure Act are currently being litigated in the District of Columbia. A panel of the Court of Appeals for the District of Columbia Circuit unanimously agreed that the Bureau is an “agency,” and remanded the matter for further proceedings.
Ramer v. Saxbe,
.
Youakim v.
Miller, - U.S. -, -,
. We do not now rule whether a violation of the provisions of the contract or of the handbook would be cognizable under 42 U.S.C. § 1983 or only under a pendent state law claim.
.
Cf. Youakim v. Miller,
- U.S. -,
