§ 397.Prisoner As Witness Or Complaining Or Defending Party - Release For Examination - Notice - Attorney Fee Award Prohibited - Writ of Habeas Corpus
Chapter 9: Witnesses · Last amended May 10, 2005 · Last verified August 3, 2026
Full Text of § 397
Amendment History
R.L. 1910, § 5062; Amended by Laws 1993, SB 561, c. 174, §1, emerg. eff. 5/10/1993; Amended by Laws 2002, HB 2416, c. 402, §2, emerg. eff. 7/1/2002; Amended by Laws 2004, SB 1397, c. 168, §2, eff. 11/1/2004 (eff. date changed to 4/27/2004, by Laws 2004, HB 2205 (2d), c. 382, § 4, eff. 6/3/2004); Amended by Laws 2005, HB 1623, c. 159, §2, emerg. eff. 5/10/2005.
Note
Laws 2004, c. 168, § 18, providing for an effective date of Nov. 1, 2004, was repealed by Laws 2004, c. 382, § 4, emerg. eff. June 3, 2004.
Plain-English Summary
Subsection A sets the baseline: a court of record may order a prisoner produced for oral examination as a witness, but only in the county where the prisoner is confined; outside that county, the prisoner's testimony must come by deposition instead.
Subsections B through D address a different situation: a prisoner who is the complaining or defending party in a civil action. That prisoner, or anyone on their behalf, can apply for a writ of habeas corpus to bring the prisoner before the court for an evidentiary hearing. The custodian gets 15 days of notice and a chance to respond before the court decides, and if the writ issues, it must go to the custodian at least 15 days before the prisoner is to appear. The writ can only be used for a hearing on the merits of the civil action, and courts can't award attorney fees and costs to the prevailing party in the matter; all pretrial hearings involving the prisoner must proceed by telephone, deposition, or video conference instead. The party who applied for the writ, or whoever the court orders, must pay the custodian's transportation costs, a cost the court can't waive, and the writ itself doubles as a judgment enforceable against the prisoner for five years if the prisoner owes those costs. A writ that doesn't meet all these requirements is void, and no custodian's officer or employee is liable for failing to execute it.
Frequently Asked Questions
Can a prisoner be brought to court to testify in person in Oklahoma?
Only within the county where the prisoner is confined; outside that county, the prisoner's testimony must be taken by deposition instead.
How does a prisoner who is a party to a civil lawsuit get to appear and testify in court?
By applying for a writ of habeas corpus, after the custodian gets 15 days of notice and a chance to respond, and after the writ is delivered to the custodian at least 15 days before the appearance date.
Who pays to transport a prisoner to court under a writ of habeas corpus?
The person who applied for the writ, or another party the court orders to pay; the court cannot waive this requirement, and the writ can be enforced as a judgment against the prisoner for five years if the prisoner owes the costs.
Can a party recover attorney fees in connection with this writ?
No. The statute says the court shall not award attorney fees and costs to the prevailing party in this matter.
What if the writ doesn't follow all the requirements in Section 397?
It's void and unenforceable, and no officer or employee of the custodian is liable for failing to carry it out.