Defendants, prison officials at the Michigan Reformatory, appeal the District Court’s order denying their post-answer motion to dismiss or for summary judgment based on qualified immunity. The District Court held that defendants waived their qualified immunity defense by failing to raise it in their pre-answer motion to dismiss or for summary judgment. Defendants argue on appeal that (1) the District Court erred in treating defendants’ post-answer motion for summary judgment as a motion for reconsideration of the court’s ruling on the pre-answer motion, and (2) the District Court erred in holding that defendants’ failure to raise their qualified immunity defense in their pre-answer motion waived their right to assert the defense. For the following reasons, we reverse the judgment of the District Court and remand the ease for the trial court to consider the merits of defendants’ qualified immunity defense.
I.
Plaintiff John English, a prisoner at the Standish Maximum Facility (“SMF”) in Michigan, brought this action under 42 U.S.C. § 1983 against prison officials at the Michigan Reformatory (“MR”) for alleged deprivation.of civil rights without due process of law. During the week of November 16, 1990, there were several stabbings and assaults at MR resulting in injuries to a number of inmates. Prison officials believed plaintiff was a member of a gang suspected of perpetrating the violence. Officials issued a notice of intent to classify plaintiff to administrative segregation, security level VI, and placed him in temporary segregation pending an investigation and hearing concerning the notice of intent.
Plaintiff alleges that on November 16, 1990, without a hearing on the notice of intent, plaintiff was reclassified from security level IV to level V (maximum security) and, four days later, was transferred to SMF where he was placed in the general population. Plaintiff received no hearing with respect to his reclassification to security level V or his transfer to SMF. Defendant Warden Withrow at MR canceled the notice of intent to classify plaintiff to administrative segregation. ■
On May 13, 1991, plaintiff filed this pro se action alleging that his reclassification and transfer without a hearing deprived him of liberty without due process of law, in violation of the Fifth and. Fourteenth Amendments to the Constitution. On August 23, 1991, prior to filing an Answer, defendants filed a motion (hereinafter “pre-answer motion”) to dismiss or for summary judgment on the ground that (1) plaintiff’s vague and conclusory statements of conspiracy failed to state a cause of action, (2) a prisoner has no state-created liberty interest in a security classification, and (3) the Michigan Department of Corrections (“MDOC”) did not require that plaintiff receive a hearing before transfer.
On January 16, 1992, the District Court denied defendants’ motion. Thereafter, counsel was appointed'who submitted various discovery requests.
On February 10, 1992, defendants filed an Answer to plaintiff’s Complaint in which they raised the affirmative defense of qualified immunity. On October 1, 1992, before responding to any discovery requests, defendants filed a second motion (hereinafter “post-answer motion”) to dismiss or for summary judgment. In this post-answer motion, defendants argued that (1) certain defendants should be dismissed for lack of personal involvement in the challenged actions, and (2) defendants are entitled to dismissal or judgment as a matter of law on the basis of qualified immunity.
On March 24, 1992, the District Court entered an order granting dismissal of certain defendants for lack of personal involvement and denying defendants’ defense of qualified immunity. The court determined that defendants’ arguments in the post-answer motion pertaining to qualified immunity were essentially the same as their arguments in the pre-answer motion and, therefore, the post-answer motion was really one for reconsideration of the court’s ruling on the pre- *1089 answer motion. By local rule, motions for reconsideration, must be filed within ten days of the order to be reconsidered. Because the motion was filed' more than seven months after the court’s original order, the court held, it was untimely and would not be considered. Furthermore, the court reasoned, because the qualified immunity defense was based on arguments raised in the pre-answer motion, that defense was available at the time the pre-answer motion was filed. Therefore, the court held, defendants’ failure to include the defense of qualified immunity in the pre-answer motion operated as a waiver of that defense. Defendants appeal.
n.
Defendants first challenge the District Court’s ruling that denied their qualified immunity defense on the ground that it was raised in an untimely motion for reconsideration. Defendants contend that the issue of qualified immunity, introduced in the post-answer motion, is distinct from the grounds for dismissal raised in the pre-answer motion, which did not mention qualified immunity, and therefore the post-answer motion was not redundant.
We have jurisdiction over this appeal because a denial of a motion for summary judgment based on qualified immunity is immediately appealable.
Mitchell v. Forsyth,
472 U.S.511, 530,
III.
Defendants also challenge the District Court’s holding that defendants waived their qualified immunity defense by failing to raise it in their pre-answer motion to dismiss. Qualified immunity is an affirmative defense which must be affirmatively pleaded.
Kennedy v. City of Cleveland,
*1090
“Since immunity must be affirmatively pleaded, it follows that failure to do so can work a waiver of the defense.”
Kennedy,
Defendants’ post-answer motion was not made after a court-imposed deadline nor did the court make any finding of undue delay on defendants’ part. Instead, the court held, relying on Rule 12(g) of the Federal Rules of Civil Procedure, that defendants’ failure to include the qualified immunity defense in their pre-answer motion to dismiss operated as a waiver of the defense. The trial court’s reliance on Rule 12 is misplaced. Rule 12(g) 2 does prohibit a party who makes a Rule 12 motion that omits any Rule 12 defense available at the time from making a subsequent motion based on the omitted defense. As this Court previously observed:
Subdivision (g) contemplates the presentation of an omnibus pre-answer motion in which defendant advances every available Rule 12 defense and objection he may have that is assertable by motion. He cannot delay the filing of a responsive pleading by interposing these defenses and objections in piecemeal fashion but must present them simultaneously. Any defense that is available at the time of the original motion but is not included, may not be the basis of a second pre-answer motion.
Rauch v. Day & Night Mfg. Corp.,
Although we have held that a defendant may challenge the sufficiency of a complaint on the basis of qualified immunity before filing a formal affirmative defense in his answer,
see Dominque,
In addition, Rule 12(h)(1)
3
provides that certain defenses are completely waived if not
*1091
included in a Rule 12 motion. Rules 12(g) & (h)(2), however, .provide an exception for a defense based on failure to state a claim. Such a claim may be brought in a subsequent pleading, motion for judgment on the pleadings, or at trial on the merits. Fed.R.Civ.P. 12(h)(2). The basis of defendants’ qualified immunity defense was that plaintiff failed to state a claim. The motion, which was accompanied by exhibits and affidavits, was submitted after defendants filed an Answer to the Complaint. The motion was a motion for judgment on the pleadings and to the extent the court would need to review the attachments outside the pleadings, the motion was to be treated as one for summary judgment.
See
Fed.R.Civ.P. 12(c). Not only does Rule 12 not prohibit such post-answer motions, but the Rule expressly excepts them from its waiver provisions.
See
Fed.R.Civ.P. 12(g)
&
(h)(2). We conclude, therefore, that defendants’ qüalified immunity defense may still be raised post-answer and' the District Court’s order to the contrary is erroneous.
4
See Swart,
IV.
For the reasons stated above, the District Court’s order is REVERSED and the case is REMANDED for further proceedings not inconsistent with- this opinion.
Notes
. We do not hold that failure to raise the defense can never waive it for all purposes. Conceivably, a plaintiff, may be so prejudiced by a defendant’s failure to raise the defense, especially when the delay was intentional, that the trial court may decide the defense is completely waived. We are not presented with such a case.
. Rule 12(g) provides:
(g) Consolidation of Defenses in Motion. A party who makes a motion under this rule may join with it any other motions herein provided for and then available to the party.
If a party makes a motion under this rule but omits therefrom any defense or objection then available to the party which this rule permits to be raised by motion, the party shall not thereafter make a motion based on the defense or objection so omitted, except a motion as provided in subdivision (h)(2).hereof on any of the grounds there stated.
Fed.R.Civ.P.' 12(g).
.Rule 12(h) provides
(h) Waiver or Preservation of Certain Defenses.
(1) A defense of lack of jurisdiction over the person, improper venue,. insufficiency of process, or insufficiency of service of process is waived (A) if omitted from a motion in the circumstancés described in subdivision (g), or (B) if it is neither made by motion under this *1091 rule nor included in a responsive pleading or an amendment thereof permitted by Rule 15(a) to be made as a matter of course.
(2) A defense of failure to state a claim upon which relief can be granted, a defense of failure to join a party indispensable under Rule 19, and an objection of failure to state a legal defense to a claim may be made in any pleading permitted or ordered under Rule 7(a), or by motion for judgment on the pleadings, or at the trial on the merits.
Fed.R.Civ.P. 12(h).
. In their reply brief, defendants ask this Court to decide the merits of their qualified immunity defense. We will not address that question, however, because neither party argued the issue on appeal.
See Dominque,
