📞 Call Today
Criminal Defense • Frisco, Texas
Serving 9 DFW Counties — Collin • Dallas • Denton • Tarrant • Rockwall • Kaufman • Ellis • Johnson • Hunt — Available 24/7

The 20-Day Pretrial Notice Requirement for the Insanity Defense

In Texas, you cannot spring an insanity defense on the State at trial. A defendant who plans to offer insanity evidence must file written notice at least 20 days before the trial setting under Code of Criminal Procedure article 46C.051. Miss that deadline, and the evidence is inadmissible unless the court finds good cause.

Free, Confidential Case Review

Tell us what you're facing. A member of our team responds promptly — no cost, no obligation.

Submitting this form does not create an attorney-client relationship.

Governing law: A defendant planning to offer insanity evidence must file notice at least 20 days before trial under Tex. Code Crim. Proc. art. 46C.051; untimely notice bars the evidence unless the court finds good cause under art. 46C.052. The defense itself is defined in Tex. Penal Code § 8.01.

What Does the 20-Day Insanity Notice Rule Require?

The insanity defense in Texas is not self-executing. A defendant who plans to offer insanity evidence must file written notice with the court, certify that the prosecutor was served, and do so at least 20 days before the date the case is set for trial. The rule is short but strict, and missing it can quietly forfeit the entire defense.

Article 46C.051 breaks the requirement into parts. First, a defendant “planning to offer evidence of the insanity defense must file with the court a notice” of that intention. Second, the notice must contain a certification that a copy was served on the attorney representing the State. Third, it must be filed at least 20 days before the trial setting. There is one alternative trigger: if the court sets a pretrial hearing before the 20-day window opens, the defendant must give notice at that hearing instead.

The notice is a formal, one-page announcement. It signals intent; it does not attach the psychiatric reports or lay out the theory. Its purpose is fair warning. Insanity is an affirmative defense under Penal Code § 8.01, and the State cannot fairly meet a claim it never saw coming. Advance notice lets prosecutors arrange their own evaluation and line up rebuttal. Because insanity looks backward to the defendant’s mental state at the moment of the offense, it is distinct from competency to stand trial under Chapter 46B, which asks a present-tense question on its own timetable. This page covers only the sanity notice.

What Happens If You Miss the Deadline?

The consequence of an untimely notice is severe and specific. Under article 46C.052, unless notice is timely filed, “evidence on the insanity defense is not admissible unless the court finds that good cause exists for failure to give notice.” In plain terms, a blown deadline can keep every expert and every diagnosis out of the trial.

The deadline is measured from the trial setting, not from the day trial actually begins. A case reset for a later date does not automatically reset the clock in the defendant’s favor, and notice filed after the jury is sworn is far too late. The table below maps common filing scenarios to the deadline that applies and the likely result.

Filing scenarioDeadline that appliesLikely result
Notice filed 20 or more days before the trial settingTimely under art. 46C.051(b)(2)Insanity evidence admissible
Court sets a pretrial hearing before the 20-day windowNotice due at that hearing, art. 46C.051(c)Timely if given at the hearing
Notice filed fewer than 20 days out, no explanationUntimely, art. 46C.052Excluded unless the court finds good cause
Trial date set on very short notice to the defenseGood cause as a matter of lawLate notice allowed
No notice ever filedNo complianceInsanity evidence barred absent good cause

Because the sanction falls on the evidence itself, the notice deadline is not a technicality — it is a gatekeeping rule that can decide whether a jury ever hears that the defendant was psychotic when the offense occurred. Two counting rules deserve emphasis. The 20 days run from the trial setting, so a defendant who waits until trial actually begins has waited far too long. And the pretrial-hearing alternative in article 46C.051(c) can move the obligation earlier: if the court sets a pretrial hearing before the 20-day window opens, notice is due at that hearing, not 20 days out. Counsel who assumes the full 20-day cushion always exists can be caught by an earlier trigger.

When Does Good Cause Excuse a Late or Missing Notice?

Article 46C.052 keeps a safety valve: even untimely notice may be allowed if the court finds good cause for the failure. Good cause is a discretionary call for the trial judge, and appellate courts disturb it only for abuse of discretion. The defendant carries the burden of explaining the delay with something more than silence.

The leading statement comes from Wagner v. State, which held that the trial court “has the discretion to decide whether good cause is present for failure to file timely.” In Wagner, the defendant offered no evidence at all explaining why notice came late, and the court found no abuse of discretion in excluding the evidence. The lesson is practical: a bare, unexplained late filing is the weakest possible posture.

One situation produces good cause automatically. In Schaffer v. State, the court held that good cause exists as a matter of law when the defendant was not given at least the statutory notice of the trial date, because a defendant “cannot know when he will be going to trial” until the court sets it. If the court schedules trial on shorter notice than the statute allows for the filing, it has “precluded the defendant from having a reasonable chance to comply,” and the late notice must be accepted. Schaffer also cautioned that a mistrial, standing alone, does not put a defendant on notice that a retrial is imminent. Outside those court-created timing traps, though, counsel should assume the 20-day rule will be enforced and build the calendar around it.

How Notice Opens the Door to Court-Appointed Experts

The notice does more than preserve an argument. Filing it unlocks the machinery for a formal mental-health evaluation. Under article 46C.101, once notice of intent to raise the insanity defense is filed, the court may appoint one or more disinterested experts to examine the defendant and testify on the issue of insanity.

That appointment power runs both ways. The defense, the prosecutor, or the court on its own motion may ask for the examination, and the statute directs the court to advise the appointed expert of the facts of the offense and the legal elements of the insanity defense. In other words, the notice is the procedural key that turns an informal suspicion of mental illness into a court-sanctioned forensic evaluation with an examiner briefed on the legal standard. The mechanics of that examination — who may be compelled, what the examiner may report, and how the defendant’s statements may be used — are governed by separate provisions and are covered on the companion page about the court-ordered sanity examination.

There is also a constitutional dimension worth flagging. When a defendant’s sanity will be a significant factor at trial, an indigent defendant is entitled to access to a competent mental-health expert to assist the defense. Filing the notice, and promptly moving for appointment, is how counsel puts that right in motion rather than losing it. Waiting until the eve of trial risks both the 20-day bar and a rushed, shallow evaluation that cannot carry a preponderance burden.

Notice, Raising the Defense, and the Burden of Proof

Notice is a precondition, not the defense itself. A defendant still has to actually raise insanity at trial and prove it. Texas presumes sanity, and the defendant bears the burden of proving insanity by a preponderance of the evidence. The burden does not shift to the State merely because mental illness is in the air.

That point is sharpest in Martinez v. State. The defendant there had a prior, unvacated adjudication of insanity and argued the State should have to prove he was sane. The Court of Criminal Appeals disagreed, holding that the burden “does not shift unless and until” the defendant raises the insanity defense at trial. A history of mental illness, without the notice and without raising the defense, buys nothing. The affirmative defense has to be invoked through the proper procedure to have any legal effect.

The stakes of getting this wrong reach beyond the trial. In Woods v. State, a Texas court of appeals held that where a defendant had a significant recorded history of mental illness, counsel’s failure to follow the insanity procedure and to request a court-appointed mental-health expert could amount to ineffective assistance of counsel. Notice, in that light, is not merely a box to check. Overlooking it can become the basis for a later attack on the conviction itself, which is one more reason to calendar the deadline the moment insanity becomes a realistic issue.

Preserving the Insanity Issue for Appeal

If the trial court excludes insanity evidence because notice came late, the fight is not necessarily over — but only if counsel built the record. On appeal, the question is whether the judge abused his discretion in finding no good cause, and whether the excluded evidence would actually have raised the defense at all.

Two verified holdings shape that appeal. First, Wagner v. State makes the good-cause ruling reviewable only for abuse of discretion, and a silent record dooms the appeal: the defendant in Wagner presented no evidence explaining the delay, so the appellate court had nothing to weigh in his favor. The practical takeaway is to make an offer of proof at the hearing — put the reason for the late notice, and the substance of the insanity evidence, on the record before the trial court rules. An appellate court cannot find an abuse of discretion on facts that were never presented below.

Second, Schaffer v. State holds that excluding insanity evidence is not reversible “unless [the] evidence would have properly raised the insanity issue.” Even a wrongful exclusion is harmless if the defendant could not have made a genuine insanity case in the first place. So preservation runs on two tracks at once. Counsel must justify the late filing or invoke the matter-of-law good cause Schaffer recognized when the court set trial on short notice, and must also show, through an offer of proof, that the excluded experts and records would have raised a real defense under Penal Code § 8.01. Skipping either step can forfeit the issue for good.

A clean record does double duty. It preserves the exclusion for appellate review, and it guards against the ineffective-assistance fallout flagged in Woods v. State, because it shows counsel recognized the deadline, litigated it, and protected the client’s defense rather than letting it quietly lapse. Building that record is the last line of defense once the notice deadline has already been missed.

Practical Timing: How Defense Counsel Calendars the Notice

Because the deadline runs from the trial setting and the sanction is exclusion, disciplined calendaring protects the defense. The safest practice is to file notice early, well before the 20-day floor, and to move for expert appointment at the same time so the evaluation has room to develop. Waiting invites both the bar and a thin record.

Several timing pressures deserve attention. When the court schedules a pretrial hearing before the 20-day window, article 46C.051(c) shifts the obligation to that hearing, so counsel cannot assume the full 20-day cushion will always exist. When a case is reset, the new setting can move the deadline; counsel should re-verify the date rather than rely on the original clock. And when incompetency to stand trial is also in play, the two issues run on different chapters and different schedules, so a competency evaluation does not substitute for the sanity notice.

A workable checklist looks like this. First, flag insanity as soon as the client’s history or the facts of the offense suggest it. Second, file the written notice with a certification of service on the State. Third, move under article 46C.101 for a disinterested expert. Fourth, docket the trial setting and every reset, counting backward 20 days. Fifth, if the setting leaves less than the statutory room, preserve the Schaffer good-cause argument on the record. None of this guarantees an outcome, but it keeps the defense alive and prevents a strong mental-health case from being lost to a missed date.

This guide is one of four situations that arise under the Notice of Insanity Defense / Motion for Mental-Health Exam. Start with the parent motion for the overall framework, or move to a related fact pattern:

← Notice of Insanity Defense / Motion for Mental-Health ExamThe parent motion — standard, procedure, and remedy.The Court-Ordered Sanity ExaminationThe Cognitive 'Wrong' Test Under §8.01Disposition and Commitment After an NGRI Verdict

What the Case Law Says

These decisions—verified against primary sources—control how this issue is litigated. Every case still turns on its own facts.

  • Wagner v. State, 687 S.W.2d 303 (Tex. Crim. App. 1984) — Untimely notice of the insanity defense bars the evidence unless the trial court finds good cause; good cause lies within the court's discretion.
  • Schaffer v. State, 590 S.W.2d 490 (Tex. Crim. App. 1979) — Good cause for late insanity notice exists as a matter of law when the defendant received less than the statutory notice of the trial date.
  • Martinez v. State, 867 S.W.2d 30 (Tex. Crim. App. 1993) — The burden of proof on sanity does not shift to the State unless and until the defendant actually raises the insanity defense at trial.
  • Woods v. State, 59 S.W.3d 833 (Tex. App.-Texarkana 2001) — Counsel's failure to follow the insanity-notice procedure and secure a mental-health expert, given a documented psychiatric history, can constitute ineffective assistance.

General summaries of published opinions for information only — not predictions about any specific case.

Frequently Asked Questions

How many days before trial must I file notice of the insanity defense in Texas?
At least 20 days before the date the case is set for trial. That deadline comes from Code of Criminal Procedure article 46C.051. If the court sets a pretrial hearing before that 20-day window opens, you must instead give notice at that hearing. The deadline runs from the trial setting, not the day trial actually starts.
What happens if I miss the 20-day insanity notice deadline?
Under article 46C.052, insanity evidence is not admissible unless the court finds good cause for the late or missing notice. In practical terms, a blown deadline can keep your experts, diagnoses, and mental-health records out of the trial entirely. Because the sanction falls on the evidence itself, the notice deadline functions as a gatekeeping rule, not a mere formality.
What counts as 'good cause' for a late insanity notice?
Good cause is a discretionary decision for the trial judge, reviewed only for abuse of discretion. A bare, unexplained late filing usually fails, as in Wagner v. State. But under Schaffer v. State, good cause exists as a matter of law when the court set the trial date on shorter notice than the statute allows, because the defendant had no fair chance to comply in time.
Does the notice have to be served on the prosecutor?
Yes. Article 46C.051 requires that the notice contain a certification that a copy has been served on the attorney representing the State. The purpose of the notice is fair warning, so the State can arrange its own psychiatric evaluation and prepare rebuttal. A notice filed with the court but not served on the State does not satisfy the rule.
What information does the insanity notice have to contain?
The notice is a short, formal document. It announces that the defendant intends to offer evidence of the insanity defense and certifies service on the State. It does not have to attach the psychiatric reports, name the experts, or detail the theory. Its job is to put the court and prosecution on notice in time to respond, not to disclose the evidence itself.
Does filing the notice get me a court-appointed expert?
It opens that door. Under article 46C.101, once notice is filed the court may appoint one or more disinterested experts to examine you and testify on insanity. The defense, the State, or the court on its own motion may request the appointment. When sanity will be a significant factor and the defendant is indigent, access to a competent mental-health expert also carries constitutional weight.
If I have a documented mental illness, do I still need to file notice?
Yes. A history of mental illness does nothing by itself. Martinez v. State held that the burden on the sanity issue does not shift to the State unless and until the defendant actually raises the insanity defense at trial. Even a prior adjudication of insanity does not change that. You must invoke the defense through the proper notice procedure for it to have legal effect.
Does a case reset restart the 20-day clock?
Not automatically in your favor. The deadline is measured from the trial setting, and a reset can move that setting and therefore the deadline. Counsel should re-verify the date after any reset rather than rely on the original clock. Notice filed after the jury is sworn is too late, and courts will not treat a reset as a free reset of the deadline.
Is the insanity notice the same as raising incompetency to stand trial?
No. Insanity looks backward to your mental state at the time of the offense and is governed by Chapter 46C. Competency to stand trial asks a present-tense question about your ability to understand and assist in the proceedings and is governed by Chapter 46B. They run on separate tracks and separate schedules, so a competency evaluation does not substitute for filing the sanity notice.
Can failing to file the notice be used against my lawyer later?
It can. In Woods v. State, a court of appeals held that where a defendant had a significant recorded history of mental illness, counsel's failure to follow the insanity procedure and request a mental-health expert could constitute ineffective assistance of counsel. That makes the deadline more than a checklist item; overlooking it can become grounds for a later challenge to the conviction.
When should my lawyer start working on the insanity defense?
As soon as your history or the facts of the offense suggest it. The safest practice is to file the written notice early, well before the 20-day floor, and to move for expert appointment at the same time so the evaluation has room to develop. Waiting until the eve of trial risks both the 20-day bar and a rushed evaluation that cannot carry the preponderance burden.

Sources & Authorities

  1. Tex. Code Crim. Proc. art. 46C.051 (notice of intent to raise insanity defense)
  2. Tex. Code Crim. Proc. art. 46C.052 (effect of failure to give notice)
  3. Tex. Code Crim. Proc. art. 46C.101 (appointment of experts)
  4. Tex. Penal Code Sec. 8.01 (insanity)
  5. Wagner v. State, 687 S.W.2d 303 (Tex. Crim. App. 1984)
  6. Schaffer v. State, 590 S.W.2d 490 (Tex. Crim. App. 1979)
  7. Martinez v. State, 867 S.W.2d 30 (Tex. Crim. App. 1993)
  8. Wagner v. State, 687 S.W.2d 303 (Tex. Crim. App. 1984)
  9. Schaffer v. State, 590 S.W.2d 490 (Tex. Crim. App. 1979)
  10. Martinez v. State, 867 S.W.2d 30 (Tex. Crim. App. 1993)
  11. Woods v. State, 59 S.W.3d 833 (Tex. App.-Texarkana 2001)

About the Authors

Reggie London

Co-Founding Partner · Texas Bar No. 24043514

Reggie London is a co-founding partner of L and L Law Group, PLLC, defending clients across the Dallas–Fort Worth metroplex in Texas state and federal criminal matters, including pretrial motion practice, suppression hearings, and trial.

Njeri London

Co-Founding Partner · Texas Bar No. 24043266

Njeri London is a co-founding partner of L and L Law Group, PLLC. She represents clients throughout North Texas in criminal defense, from pre-charge investigation through appeal, with a focus on motion strategy and courtroom advocacy.

Facing charges? The right motion could change everything.

Talk through your case with a Co-Founding Partner. Free, confidential, no obligation.

Call (972) 370-5060
Call Email Map Top