If martial law is declared, prisoners stay in custody and keep serving their sentences, but almost everything around that custody can change: the military may take over the facility, routines tighten, court access can be suspended, and the constitutional protections prisoners normally rely on get tested. What happens to prisoners during martial law depends heavily on whether civilian courts in the area are still functioning, because that single fact is what the Supreme Court has used to decide how far military authority can reach.
The legal framework is thin. A handful of Civil War-era statutes and Supreme Court decisions do most of the work, so some answers below carry more uncertainty than legal questions usually do.
Who Runs the Prison
Under genuine martial law, military personnel can assume control of prisons and jails. The authority comes from the Insurrection Act, which lets the president use the armed forces on U.S. soil to suppress rebellion or enforce federal law when ordinary law enforcement cannot.1Department of Defense. 10 U.S.C. 331-335 The Posse Comitatus Act normally makes it a federal crime to use the military for civilian law enforcement, but it applies only “except in cases and under circumstances expressly authorized by the Constitution or Act of Congress.”2Office of the Law Revision Counsel. 18 USC Ch. 67 – Military and Navy Invoking the Insurrection Act satisfies that carveout.
In practice, military commanders would run guard rotations, internal security, logistics, and movement inside the facility. Civilian corrections staff might stay on in advisory or operational roles, but the chain of command runs through the military. The Library of Congress has described the rule this way: when courts are closed during invasion or civil war, the military is “allowed to govern by martial rule until the laws can have their free course.”3Library of Congress. ArtII.S2.C1.1.14 Martial Law Generally
The threshold matters. The Supreme Court held in Ex parte Milligan that military rule “can never exist where the courts are open, and in proper and unobstructed exercise of their jurisdiction.”4Justia U.S. Supreme Court Center. Ex parte Milligan, 71 U.S. 2 (1866) If civilian courts are still operating, a proclamation alone does not give the military lawful authority over the correctional system.
What Happens to Existing Sentences
Martial law does not wipe the slate clean. A person serving a 10-year sentence on the day martial law is declared still owes the remainder when military control ends. The military’s role is to maintain custody, not to revisit convictions or alter sentences. There are no mass releases, and no summary punishments either.
Clemency, commutation, and pardons stay with the civilian executive who already holds that authority: the governor for state prisoners, the president for federal prisoners. Military commanders do not inherit sentencing or clemency power because they are running the facility.
Good-conduct time is less settled. Federal regulations let the Bureau of Prisons award up to 54 days of credit per year for inmates who meet educational requirements, or up to 42 days for those who do not.5eCFR. 28 CFR 523.20 Good Conduct Time Those credits depend on participation in programs and compliance with facility rules. If military administration suspends programming or changes the disciplinary framework, inmates could lose access to the activities that earn the credits. No statute addresses whether good-time calculations continue uninterrupted during military administration, so the issue would likely be sorted out case by case after civilian authority returns.
Daily Life Inside the Facility
Day-to-day conditions would tighten. Military protocols are built around a security-first mindset designed for controlling hostile populations, not managing a prison with educational programs and visitation schedules. Recreational time, work assignments, classes, and general movement within the facility would likely be sharply curtailed or eliminated.
Interactions between guards and inmates would run on military rather than correctional norms. Military discipline emphasizes strict obedience and regimented schedules, and the informal communication that often keeps civilian prisons running smoothly would probably disappear. Visitation, phone access, and mail are typically the first privileges restricted during a security lockdown, and those are precisely the connections inmates rely on for mental health and family contact.
If the underlying emergency threatens the facility itself, evacuation becomes a real possibility. Past emergencies like Hurricane Katrina and Hurricane Andrew have required mass prisoner transfers, with outcomes that varied widely depending on advance planning. During Andrew, Florida corrections officials moved about 1,000 inmates from Dade Correctional Institution to five other state prisons, sorting transfers by custody level and moving the highest-security inmates first, and completed the operation without injuries or escapes. Katrina, by contrast, exposed catastrophic planning failures in southeast Louisiana.
Suspension of Habeas Corpus
The most consequential legal change for anyone in custody is the potential suspension of habeas corpus. Habeas corpus is the mechanism that forces the government to justify a person’s detention before a judge. Without it, a prisoner cannot challenge the legality of their confinement in court. The Constitution permits suspension only “when in Cases of Rebellion or Invasion the public Safety may require it,” and the prevailing legal view is that only Congress holds this power.6Library of Congress. Constitution Annotated – Article I, Section 9, Clause 2 – Suspension Clause and Writ of Habeas Corpus
For people already convicted and serving sentences, the immediate impact is limited because their detention was already authorized by a court. The real weight falls on pretrial detainees and anyone arrested during the emergency. The Supreme Court has noted cases where detentions lasted as long as six years without meaningful judicial oversight during periods of suspended habeas rights.6Library of Congress. Constitution Annotated – Article I, Section 9, Clause 2 – Suspension Clause and Writ of Habeas Corpus
Even during suspension, the writ itself technically still exists. The Court clarified in Milligan that what gets suspended is the privilege of the writ, meaning a court can still issue it and then decide whether the suspension was constitutional and whether the specific petitioner falls within its scope.4Justia U.S. Supreme Court Center. Ex parte Milligan, 71 U.S. 2 (1866) That provides cold comfort during a crisis, but it leaves the suspension reviewable afterward.
Military Tribunals Cannot Retry Civilian Convicts
A prisoner already convicted in civilian court is not pulled into a military tribunal because martial law was declared. Milligan held that military tribunals cannot try civilians anywhere civilian courts are open and functioning: “A citizen not connected with the military service and a resident in a State where the courts are open and in the proper exercise of their jurisdiction cannot, even when the privilege of the writ of habeas corpus is suspended, be tried, convicted, or sentenced otherwise than by the ordinary courts of law.”4Justia U.S. Supreme Court Center. Ex parte Milligan, 71 U.S. 2 (1866) Suspending habeas corpus and allowing military trials are two separate powers; the first does not enable the second.
Duncan v. Kahanamoku (1946) reinforced the limit after the military ran provost courts in Hawaii following Pearl Harbor. The Supreme Court ruled that the governing statute “was not intended to authorize the supplanting of courts by military tribunals” where civilian government could still function.7Library of Congress. Duncan v. Kahanamoku, 327 U.S. 304 (1946) Prisoners already convicted by civilian courts keep their existing convictions and sentences under those courts’ authority.
People Arrested or Awaiting Trial
Martial law creates the most uncertainty for people who have not yet been convicted. Someone arrested during the emergency could be held in military custody, and if habeas corpus has been suspended, there may be no mechanism to demand a prompt hearing. The constitutional limit is duration: military detention must end when the emergency ends. As the Library of Congress has summarized the rule, “as necessity creates the rule, so it limits its duration; for, if this government is continued after the courts are reinstated, it is a gross usurpation of power.”3Library of Congress. ArtII.S2.C1.1.14 Martial Law Generally
People already awaiting trial when martial law begins face a different problem: their cases go into limbo. Civilian courts may be closed or running on a skeleton schedule. Speedy trial clocks would almost certainly be tolled during the emergency. The practical result is longer pretrial detention with fewer procedural protections. Any convictions obtained through military tribunals during that period would be vulnerable to challenge under Milligan and Duncan once civilian courts reopen, but that remedy comes after the fact. During Hawaii’s martial law period, the military ran provost courts that handled thousands of ordinary criminal cases, registered every resident over age six, and operated detention camps.8National Archives. World War II Japanese American Incarceration: Martial Law The Supreme Court eventually invalidated those trials, but the people caught in the system served the time regardless.
Medical Care and the Eighth Amendment
The constitutional obligation to provide medical care to prisoners does not disappear under martial law. The Supreme Court established in Estelle v. Gamble that “deliberate indifference to serious medical needs of prisoners constitutes the unnecessary and wanton infliction of pain” prohibited by the Eighth Amendment, whether that indifference comes from prison doctors or from guards “intentionally denying or delaying access to medical care.”9Legal Information Institute (LII) / Cornell Law School. Estelle v. Gamble, 429 U.S. 97 (1976) Military personnel stepping into guard roles inherit that obligation.
The Department of Justice has reinforced that denying basic human needs like food and water cannot be used as punishment and that all inmates must have access to appropriate medical care, including emergency treatment, with transfer to another facility when the current one lacks the capacity to treat the inmate.10U.S. Department of Justice. Report and Recommendations Concerning the Use of Restrictive Housing The National Institute of Justice has noted that most forms of in-custody mortality are preventable with proper interventions.11National Institute of Justice. Caring for Those In Custody
Whether military medical personnel can realistically match the level of care a civilian facility provides is a separate question. Military medics are trained for battlefield trauma, not chronic disease management or mental health care in a prison setting. The legal duty remains; the practical capacity may not.
Accountability of Military Guards
Military personnel who abuse prisoners are not beyond the law. Members of the armed forces are subject to the Uniform Code of Military Justice, which includes a specific prohibition on cruelty and maltreatment: any service member “who is guilty of cruelty toward, or oppression or maltreatment of, any person subject to his orders shall be punished as a court-martial may direct.”12Office of the Law Revision Counsel. 10 USC Chapter 47 – Uniform Code of Military Justice
Whether civilian inmates fall within the phrase “subject to his orders” is an open question. The UCMJ was written with military subordinates in mind, not civilian prisoners placed under military guard during a domestic emergency. Military prosecutors have applied cruelty and maltreatment charges in detention abuse cases in other contexts, but the jurisdictional question has not been cleanly resolved for a domestic martial law scenario. Civilian federal prosecutors could also bring charges under federal civil rights statutes, assuming those courts are functioning.
When Martial Law Ends
Martial law is temporary by definition. Military authority exists only as long as the necessity that created it, and continuing it after civilian courts can function again is what the Court has called “a gross usurpation of power.”3Library of Congress. ArtII.S2.C1.1.14 Martial Law Generally When it ends, control of prisons reverts to civilian corrections departments, habeas corpus is restored, and courts resume hearing cases.
The transition back carries its own complications. People detained by the military without charges would need to be either formally charged in civilian court or released. Disciplinary actions taken under military administration might be challenged as lacking due process. Any prisoner who suffered abuse or denial of medical care during military control would regain the ability to file civil rights claims in federal court. The historical pattern, from the Civil War through Hawaii in World War II, is that courts eventually review what happened during martial law and often find that the military overstepped. The review is real. It just arrives late.