A pre-confinement order in jail is a court order directing that a defendant be held in custody before trial because the judge has concluded no combination of release conditions would reasonably assure the defendant’s appearance in court or protect the community. Judges and lawyers more often call it a pretrial detention order or simply a detention order. The person held under one has not been convicted of anything. The detention is a risk-based holding measure, not punishment, and that distinction shapes the rights and remedies that go with it.
Federal law gives a judge four choices at a defendant’s initial appearance: release on personal recognizance, release with conditions, temporary detention, or detention pending trial.1Office of the Law Revision Counsel. 18 U.S. Code 3142 – Release or Detention of a Defendant Pending Trial A pre-confinement order is the last of those. The Bail Reform Act of 1984 sets a presumption of release and requires judges to consider the least restrictive conditions that would reasonably assure appearance and public safety.2United States Courts. Pretrial Release and Detention in the Federal Judiciary Detention is supposed to be the exception.
How a Judge Decides to Order Pretrial Detention
A pre-confinement order does not issue automatically. The government has to request a detention hearing, or the judge has to call one. Under federal law, the government can seek detention in cases involving violent crimes, offenses punishable by life imprisonment or death, serious drug charges carrying ten or more years, certain firearms offenses, and felonies committed by people with prior serious convictions.1Office of the Law Revision Counsel. 18 U.S. Code 3142 – Release or Detention of a Defendant Pending Trial A judge can also convene a hearing when there is a serious risk the defendant will flee or obstruct justice.
At the hearing, the judge weighs four categories of information: the nature and circumstances of the offense (whether it involves violence, terrorism, a controlled substance, a firearm, or a minor victim); the weight of the evidence; the defendant’s personal history (character, family ties, employment, finances, length of residence, criminal record, substance abuse history, and past court appearances); and the danger that release would pose to any person or to the community.
To detain someone based on danger to the community, the government must prove its case by clear and convincing evidence.1Office of the Law Revision Counsel. 18 U.S. Code 3142 – Release or Detention of a Defendant Pending Trial It is a high bar, though lower than the beyond-a-reasonable-doubt standard used at trial.
When the Presumption Flips
Some charges carry a rebuttable presumption that no release conditions will work. If a judge finds probable cause that the defendant committed a serious drug trafficking offense carrying ten or more years, certain terrorism offenses, or offenses involving trafficking or sexual exploitation of minors, the burden shifts to the defendant to produce evidence that release is appropriate.1Office of the Law Revision Counsel. 18 U.S. Code 3142 – Release or Detention of a Defendant Pending Trial The same presumption applies to someone arrested for a felony while already on pretrial release for a prior serious offense. These presumptions can be overcome, but it is difficult.
Release With Conditions as the Alternative
Before ordering detention, the judge is required to consider whether release with conditions would be enough. The options are broad: posting a bond, keeping a job, obeying a curfew, staying away from the alleged victim, surrendering a passport, checking in with pretrial services, submitting to drug testing, or entering medical or psychological treatment.1Office of the Law Revision Counsel. 18 U.S. Code 3142 – Release or Detention of a Defendant Pending Trial The Eighth Amendment separately prohibits excessive bail.3Congress.gov. U.S. Constitution – Eighth Amendment
If a bail amount is set and you can post it or meet the conditions, you go home while the case moves forward. If you cannot, you remain in jail under the pre-confinement order until the case resolves or circumstances change enough to warrant a new hearing.
How Long a Pre-Confinement Order Can Last
Duration varies with the complexity of the charges, the court’s schedule, how quickly the attorneys work, and whether either side asks for more time. Multi-defendant or evidence-heavy cases run far longer than a single-charge prosecution.
Federal law does set outer limits. Under the Speedy Trial Act, the government must file an indictment within 30 days of arrest, and trial must begin within 70 days after the indictment is filed or the defendant’s first appearance in court, whichever is later.4Office of the Law Revision Counsel. 18 USC 3161 – Time Limits and Exclusions Those windows sound tight, but the Act excludes many kinds of delay, including continuances that serve the ends of justice and time consumed by pretrial motions. Cases routinely run past 70 days.
The Sixth Amendment separately guarantees a speedy trial, which the Supreme Court has called “amorphous” and “slippery.” Courts evaluate those claims by weighing four factors: the length of the delay, the reason for it, whether the defendant asserted the right, and whether the delay caused real prejudice to the defense.5Congress.gov. Overview of Right to a Speedy Trial Delays requested by the defense generally do not count against the government. Pretrial detention can stretch for months, sometimes over a year in serious cases.
Challenging or Modifying the Order
A pre-confinement order is not final. If a magistrate judge issued it, you can file a motion asking the district court to revoke or amend it, and the court must act promptly.6Office of the Law Revision Counsel. 18 USC 3145 – Review and Appeal of a Release or Detention Order If the district court denies the motion, the next step is an appeal to the circuit court.
Successful motions usually turn on changed circumstances. A family member steps forward as a custodian. A residential treatment program accepts the defendant. New evidence weakens the government’s case. Simply rearguing the same facts the judge already heard rarely moves the needle. What works is a concrete, specific release plan that addresses the exact risks the judge identified at the first hearing.
Credit Toward a Later Sentence
If you are ultimately convicted and sentenced to prison, the time spent in pretrial detention counts toward that sentence. Federal law requires credit for any time spent in official detention before the sentence begins, as long as the detention resulted from the offense for which the sentence was imposed and has not already been credited against a different sentence.7Office of the Law Revision Counsel. 18 U.S. Code 3585 – Calculation of a Term of Imprisonment
The credit is not discretionary. The Bureau of Prisons calculates it and must apply it. Someone who sat for six months before trial and then received a two-year sentence has 18 months remaining. If you believe the calculation is wrong, you can challenge it administratively and then in court. Keep your own record of the dates. Errors happen.
Why the Order Matters Beyond the Courtroom
The law frames pretrial detention as a neutral holding measure, but the practical effects are not neutral. People held before trial lose jobs, fall behind on rent, and miss time with their children. Insurance lapses. Payments slip. A few weeks inside can take years to recover from financially.
Detention also shifts how cases resolve. Research consistently shows that defendants held pretrial plead guilty at higher rates than those who are released, even on comparable charges and evidence. The reason is simple: take a deal and get out, or stay in jail while fighting. That dynamic turns the pre-confinement order itself into leverage, even though the law insists it is not punishment. If you or someone close to you is facing a detention hearing, getting a defense attorney involved before that first appearance is the single most consequential step available.