A writ of habeas corpus ad prosequendum is a court order that directs a prison or jail to produce a prisoner in a different jurisdiction so that criminal charges against that person can move forward. Federal courts issue it under 28 U.S.C. § 2241(c)(5), which authorizes the writ whenever a prisoner’s presence is necessary for trial or testimony.1Office of the Law Revision Counsel. 28 USC 2241 – Power to Grant Writ The writ does not transfer ownership of the prisoner. It creates a temporary loan from the sovereign holding the person to the sovereign that needs to prosecute.
Why the Writ Exists
Federal Rule of Criminal Procedure 43 requires a defendant to be physically present at the initial appearance, arraignment, plea, every stage of trial including jury selection and verdict, and sentencing. For felonies there is no ordinary video workaround. Misdemeanors are the exception: Rule 43 permits arraignment, plea, trial, and sentencing by video or in the defendant’s absence when the offense carries no more than a year of imprisonment and the defendant consents in writing.2Legal Information Institute (LII). Federal Rules of Criminal Procedure Rule 43 – Defendant’s Presence
If the defendant is already locked up somewhere, the court needs a legal tool to bring the person into the courtroom. Neither the federal government nor a state can walk into the other’s prison and take a defendant. The writ is that tool.
Primary Jurisdiction Sets the Ground Rules
Whichever sovereign first arrests and holds someone controls that person’s body until it voluntarily lets go. The Bureau of Prisons treats primary jurisdiction as staying with the first arresting sovereign until it is relinquished through bail, dismissal of charges, parole, or expiration of the sentence.3Federal Bureau of Prisons. Interaction of Federal and State Sentences When the Federal Defendant is Under State Primary Jurisdiction A second sovereign that wants the same defendant for its own case cannot bypass that priority. It has to ask, and the writ is the formal ask.
A federal sentencing judge dealing with a defendant still under state primary jurisdiction cannot simply order the person delivered to a federal facility to serve a federal sentence. That would be a custody transfer the federal court does not have the power to command.3Federal Bureau of Prisons. Interaction of Federal and State Sentences When the Federal Defendant is Under State Primary Jurisdiction
How the Writ Is Obtained
A prosecutor initiates the process by filing an application or petition with the court that needs the prisoner. The court can issue the writ under 28 U.S.C. § 2241(c)(5) whenever it is “necessary to bring [the prisoner] into court to testify or for trial.”1Office of the Law Revision Counsel. 28 USC 2241 – Power to Grant Writ A supporting affidavit from a law enforcement agent or the prosecutor typically accompanies the petition.
At a minimum, the petition identifies the prisoner and the current facility, lays out the charges or indictment, gives the dates of scheduled proceedings, and names the agents who will handle transport. The writ itself should also say when and where the prisoner will be returned after the proceedings end. Once the judge is satisfied that in-person appearance is genuinely necessary, the court issues the order to the warden or custodian.
For federal cases, the U.S. Marshals Service physically moves the prisoner, maintains custody in transit, and produces the person at the courthouse.4U.S. Marshals Service. Writs of Habeas Corpus and Special Requests for Production The Marshals do not run their own detention facilities, so borrowed prisoners are usually housed in local jails, contract detention centers, or Bureau of Prisons facilities near the courthouse.5U.S. Government Accountability Office. Prisoner Operations – United States Marshals Service Could Better Estimate Cost Savings and Monitor Efforts to Increase Efficiencies
Borrowed Custody and Sentence Credit
Here is the concept most defendants find counterintuitive. A writ of habeas corpus ad prosequendum does not change who owns the prisoner. The receiving court gets physical possession; the sending sovereign keeps legal custody. Courts and the Bureau of Prisons treat the arrangement as borrowing, and the loan does not alter the prisoner’s primary custodial status.6Federal Bureau of Prisons. Sentence Computation Manual (CCCA of 1984)
Federal law credits a defendant with time in “official detention” before a sentence begins, but only if that time has not already been credited against another sentence.7Office of the Law Revision Counsel. 18 USC 3585 – Calculation of a Term of Imprisonment When a state prisoner is produced in federal court under the writ, the Bureau of Prisons treats the state charge as the reason for the custody. That time is credited to the state sentence, and the same days cannot count twice, so the federal sentence usually gets no prior-custody credit for the period spent on the writ.6Federal Bureau of Prisons. Sentence Computation Manual (CCCA of 1984)
The U.S. Sentencing Commission has confirmed the same point: when a state prisoner is brought to federal court via the writ, the state retains primary jurisdiction and the federal sentence does not commence until the state relinquishes the prisoner after satisfying its own obligations.8U.S. Sentencing Commission. Interaction of Federal and State Sentences When the Federal Defendant is Under State Primary Jurisdiction A defendant who spends months or years shuttling to federal appearances under the writ may reasonably assume that time counts federally. Usually it does not.
Concurrent Versus Consecutive Sentences
Because the federal sentence does not automatically begin while the prisoner remains under state primary jurisdiction, the default when the federal judgment says nothing about timing is that the federal sentence runs consecutively. It starts only after the state sentence is fully satisfied.8U.S. Sentencing Commission. Interaction of Federal and State Sentences When the Federal Defendant is Under State Primary Jurisdiction
A federal judge does have authority under 18 U.S.C. § 3584 to order the federal sentence to run concurrently with the state sentence. When that happens, the Bureau of Prisons can designate the state facility as the place of federal imprisonment, which lets the federal clock start running while the prisoner is still physically in state custody.8U.S. Sentencing Commission. Interaction of Federal and State Sentences When the Federal Defendant is Under State Primary Jurisdiction Silence from the judge means consecutive time by default, so raising the issue at sentencing matters. A state court has no authority to dictate how a federal sentence is computed or served.
The Writ Versus the Interstate Agreement on Detainers
The Interstate Agreement on Detainers is a separate mechanism for moving a prisoner between jurisdictions, and its interaction with the writ contains real traps. Under the IAD, once one jurisdiction lodges a detainer against a prisoner held by another, protections attach, including a 120-day trial deadline and anti-shuttling rules.9Office of the Law Revision Counsel. Interstate Agreement on Detainers
The Supreme Court has held that a writ of habeas corpus ad prosequendum standing alone is not a “detainer” under the IAD. But when the government first files a detainer and then obtains the prisoner through a writ, the writ functions as a written request for temporary custody under Article IV, and all IAD protections apply. Trial must begin within 120 days of the prisoner’s arrival, and if the government returns the prisoner to the sending facility before trial concludes, the charges must be dismissed with prejudice.9Office of the Law Revision Counsel. Interstate Agreement on Detainers
The anti-shuttling rule is strict. Under Articles III(d) and IV(e), sending the prisoner back before trial strips the pending charges of legal effect and requires dismissal with prejudice.9Office of the Law Revision Counsel. Interstate Agreement on Detainers There is a narrow federal exception: when the United States is the receiving jurisdiction, the government can return the prisoner before trial without triggering dismissal if it provides reasonable notice and an opportunity for a hearing. Courts tend to read the IAD’s protections broadly, and the Department of Justice itself recommends keeping the prisoner until after sentencing to avoid the issue entirely.10U.S. Department of Justice. Criminal Resource Manual 534 – Interstate Agreement on Detainers
An unconditional guilty plea can waive the right to raise an IAD violation later, and failing to object promptly in the trial court can forfeit the protection. Defendants who suspect their IAD rights have been violated should object early and specifically.
Speedy Trial Transport Window
When a federal indictment is pending and the defendant is being transported from another district under a writ, the Speedy Trial Act treats transportation time as excludable and does not count it against the government’s clock. Under 18 U.S.C. § 3161(h)(1)(F), time consumed in moving a defendant between districts is excluded. Any time beyond ten days from the date the transportation order is issued to the defendant’s arrival, however, is presumed unreasonable.11Office of the Law Revision Counsel. 18 USC 3161 – Time Limits and Exclusions Once transport drags past that window, the burden shifts to the government to explain. Track the date the writ was issued and the date the prisoner actually arrived.
Return to the Sending Facility
The writ is temporary by design. Once the proceedings that justified it end, the receiving jurisdiction must return the prisoner. The IAD reinforces the point in Article V(e), requiring return “at the earliest practicable time.”9Office of the Law Revision Counsel. Interstate Agreement on Detainers Return typically happens after a verdict, a guilty plea, or sentencing.
Time the prisoner spent away generally counts toward the original state sentence, because the state never relinquished primary jurisdiction.6Federal Bureau of Prisons. Sentence Computation Manual (CCCA of 1984) Once the prisoner is checked back in, the writ is fully executed and the custodial picture resets to what it was before the transfer.