mary judgment was improperly granted and reverse.
While “mere conclusory allegations or denials” are insufficient to withstand a motion for summary judgment once the moving party has set forth a documentary case, SEC v. Research Automation Corp., 585 F.2d 31, 33 (2d Cir.1978), caution should be exercised in granting summary judgment where state of mind is in issue or when the party opposing the motion has been denied relevant discovery. Landmark Land Company v. Sprague, et ah, 701 F.2d 1065 (2d Cir., 1983); Quinn v. Syracuse Model Neighborhood Corp., 613 F.2d 438, 445 (2d Cir.1980).
The DOCS argues that permitting discovery to plaintiffs in retaliatory motive cases in the absence of specific and detailed factual allegations would lead to chaos in prison administration. Indeed, we have previously recognized that certain claims “are so easily made and can precipitate such protracted proceedings with such disruption of governmental functions that, despite the general rule of Conley v. Gibson, 355 U.S. 41, 78 S.Ct. 99, 2 L.Ed.2d 80 (1957), detailed fact pleading is required to withstand a motion to dismiss.” Angola v. Civiletti, 666 F.2d 1, 4 (2d Cir.1981) (citing, inter alia, Fine v. New York, 529 F.2d 70, 73 (2d Cir.1975) (conclusory claim of violation of civil rights, including subornation of perjury and coercion of witnesses by prosecutors insufficient without factual basis); United States v. Berrios, 501 F.2d 1207,1211-12 (2d Cir.1974) (allegation of belief in prosecutor’s vindictive motive insufficient to warrant a hearing in the absence of evidence).
We agree with the DOCS that claims by prisoners that particular administrative decisions have been made for retaliatory purposes are prone to abuse. Virtually every prisoner can assert such a claim as to every decision which he or she dislikes. If full discovery were to be permitted on every such claim, the result would indeed be chaotic. However, some of these claims may have merit and, where that is the case, the prisoners making them must be accorded the procedural and substantive rights available to other litigants.
The exact process to be followed will vary according to the circumstances of each case and district courts must exercise their sound discretion in determining the nature and amount of discovery to be allowed. The goal, however, is the same in each case: to sift out those claims where further discovery may possibly yield evidence in support of the prisoner’s allegations from those where it is, or becomes, evident that no factual basis exists.
For example, a retaliation claim supported by specific and detailed factual allegations which amount to a persuasive case ought usually be pursued with full discovery. However, a complaint which alleges retaliation in wholly conclusory terms may safely be dismissed on the pleadings alone. In such a ease, the prisoner has no factual basis for the claim other than an adverse administrative decision and the costs of discovery should not be imposed on defendants. A third category of allegations also exists, namely a complaint which alleges facts giving rise to a colorable suspicion of retaliation. Such a claim will support at least documentary discovery. However, if the production of all relevant documents fails to add substance to the allegations and if the relevant officials submit affidavits explaining their reasons for the challenged actions, summary judgment dismissing the complaint may be granted but only after the district court determines that oral testimony is unnecessary. If documentary discovery does tend to support the claim or if the documentary record seems unduly sparse, the action may proceed to fuller discovery at the district court’s discretion.
We believe this approach protects both prisoners and the correctional system. In applying it to the present case, we note that Flaherty’s allegations of retaliatory motive on the part of DOCS were supported by some circumstantial evidence. This included his improved overall record; the minor nature of his most recent disciplinary violations; his constructive activities, including unsupervised travel to and from