Blog

The Military's Transgender Ban From 2017 Posts to the 2025 Order

How transgender military service went from allowed in 2016 to banned by posts in 2017, restored in 2021 and banned again in 2025, and what the Supreme Court's May 2025 order changed.

On the morning of July 26, 2017, the Pentagon learned about a major change in its personnel policy the same way everyone else did: by reading the president's social media feed. In a series of three posts, President Trump announced that the government would not accept or allow transgender people to serve "in any capacity" in the military, citing medical costs and disruption. He wrote that he had consulted with generals and military experts. Defense officials, it was widely reported, had not been told the details in advance and spent the day explaining that nothing would change until they received formal guidance. At that moment, thousands of transgender service members were on duty, many of whom had come out to their commanders the year before because the Defense Department had promised them it was safe to do so.

In short: Transgender troops were allowed to serve openly beginning in 2016, banned in a modified form from 2019, allowed again in 2021 and banned again by a January 27, 2025 executive order. In May 2025, the Supreme Court let the newest ban take effect while lawsuits continue. The policy has turned on who was president, not on new evidence about readiness, which is itself the strongest argument for writing a stable rule into law.

The 2016 opening

To understand the whiplash, start a year earlier. On June 30, 2016, Defense Secretary Ash Carter announced that transgender Americans could serve openly. The decision followed a review that included a study by the RAND Corporation, which estimated that a few thousand transgender people were serving on active duty and that the cost of their gender-related medical care would be a tiny fraction of the military's health budget. RAND also looked at foreign militaries, including those of Britain, Canada, Australia and Israel, that already allowed transgender service and found no meaningful effect on readiness or cohesion.

Carter's policy had stages. Service members already in uniform could come out, receive medical care and change their gender marker in military records under a defined process. Accession rules, governing whether transgender people could newly enlist, were supposed to take effect a year later after more preparation. That one-year delay turned out to be the opening the next administration used.

The important thing about 2016 is what it asked of transgender troops. It asked them to step forward. Many did, trusting that a formal policy announced by the secretary of defense would hold. When the posts arrived in 2017, those who had come out were exposed in a way that those who stayed hidden were not.

From posts to policy

A social media post is not an order. In August 2017, the president signed a memorandum directing the Pentagon to return to the earlier policy of excluding transgender people, indefinitely delaying new enlistments and halting most funding for transition-related surgery. Defense Secretary Jim Mattis then convened a panel, and in early 2018 the department produced a revised policy.

The Mattis policy was narrower than a total ban, and its supporters argued that made it a medical standard rather than a status-based exclusion. It barred people with a history of gender dysphoria from enlisting, with exceptions for those stable for a period in their birth sex, and required most service members to serve in their sex assigned at birth. Those already serving under the 2016 rules who had been diagnosed before the new policy took effect could continue.

Critics answered that a rule barring people who had transitioned, and requiring everyone else to serve as their birth sex, was a ban in practice. Several federal courts agreed at the preliminary stage and blocked the policy. Then, on January 22, 2019, the Supreme Court, by a 5-4 vote, lifted the injunctions and allowed the policy to take effect while the litigation continued. It went into force that April.

The 2021 reversal

Five days after taking office, on January 25, 2021, President Biden signed an executive order reversing the ban and directing the Pentagon to restore open service. The department issued new rules that spring. Transgender people could again enlist if they met the standards, serve in their gender identity after a medical process and receive care through the military health system.

From 2021 to January 2025, transgender service members served under those rules. Some deployed. Some were promoted. By the account of their commanders in later court filings, many were rated as excellent soldiers, sailors, airmen and Marines. Nothing in the public record from those years shows the collapse in readiness that opponents had predicted.

That period is the closest thing to a test the country has had. It is worth stressing because the arguments that followed in 2025 relied heavily on predictions rather than on what had happened during four years of open service.

The January 2025 order

On January 27, 2025, a week into his second term, President Trump signed an executive order titled "Prioritizing Military Excellence and Readiness." It went further than the 2018 policy. The order declared that expressing a gender identity different from one's sex was inconsistent with the standards required of service members, citing honesty, humility and integrity, and directed the Pentagon to write rules ending transgender service.

Defense Secretary Pete Hegseth's department issued its policy in February 2025. It disqualified people with a current diagnosis or history of gender dysphoria from serving, with narrow waivers, and set out a process for separating those already in uniform. Service members were offered a window to leave voluntarily, with separation pay, before involuntary separations began.

The administration's case, stated fairly, rested on three claims. It argued that the medical conditions associated with gender dysphoria and transition made service members less deployable for periods of time. It argued that maintaining separate standards for facilities, fitness and housing created administrative burdens and friction in units. And it argued that the military has broad authority to set medical and personnel standards, and that courts should defer to its judgment about readiness.

The last argument carries real legal weight. Courts have long given the military more room than they give civilian agencies. The first two claims were contested in court by service members who had served for years without the problems described, and by former senior officers who had overseen the 2016 and 2021 policies.

In the courts, and the May 2025 order

Lawsuits followed quickly. In Washington, D.C., Judge Ana Reyes heard a case brought by transgender service members and in March 2025 blocked the ban, writing a lengthy opinion that questioned the government's evidence. In Washington state, Judge Benjamin Settle also issued a nationwide injunction in a case brought by service members including Cmdr. Emily Shilling, a Navy pilot with combat missions to her name.

The government asked the Supreme Court to step in. On May 6, 2025, in United States v. Shilling, the Court granted the government's request and allowed the ban to take effect while the case moved through the appeals courts. The order was brief and did not explain its reasoning. The Court's three liberal justices, Sotomayor, Kagan and Jackson, noted that they would have denied the application.

Read that order carefully. It was an emergency stay, not a ruling on the merits. It did not hold that the ban was constitutional. It decided that the government could enforce the policy while the litigation continues, which in practice meant separations could begin. For a service member, that distinction is cold comfort. A career can end long before a final decision arrives.

That pattern, policy settled in practice by the emergency docket rather than by full argument and written opinions, has become common, and it is one reason progressives and many conservative legal scholars alike have raised concerns about how much of the Court's work now happens on short orders. The court-watch page tracks the emergency docket alongside the term's argued cases, which is the best way to see how often this happens.

What the record does and does not show

Strip away the slogans and a few things are clear.

The number of transgender service members has always been small relative to the force, in the low thousands by most estimates the Pentagon and outside researchers have offered. The cost of their gender-related care has been small relative to the military health budget, a point RAND made in 2016 and that later reporting did not overturn.

Medical deployability is a real issue for any service member undergoing surgery or a new course of treatment, and the 2016 and 2021 policies addressed it by scheduling care and setting standards for stability, the same way the military handles many other conditions. A reasonable critic could argue about where to set those standards. That is a different argument from saying no transgender person can meet them.

The policy has flipped four times in under a decade. That instability is a problem regardless of where one stands. Commanders cannot plan, recruiters cannot answer questions honestly and service members cannot know whether the career they are building will be permitted next year. The military's own interest lies in a stable rule.

One more thing the record shows: the people making the policy changed far more often than the facts did. Between 2016 and 2025, no major new study overturned RAND's estimates of cost and numbers, and no public data from the years of open service documented the harms that were predicted. What changed was the occupant of the White House. A fair reader can disagree about where the medical standards should sit and still notice that pattern.

How allies handle the same question

The United States is not the only military that has had to decide this, and the comparison is instructive. Several close allies, including Canada, Britain, Australia and Israel, allow transgender people to serve. The RAND study in 2016 looked closely at those militaries and reported that their experience did not show measurable harm to readiness or cohesion. Commanders in those forces described the same practical issues American officers raise, such as scheduling medical care around deployments and setting rules for housing and fitness standards, and handled them through ordinary administrative policy.

None of that proves the United States must follow suit. American forces deploy more widely and in larger numbers than most allies, and the Pentagon is entitled to make its own judgments. But when the argument against open service rests on predictions of disruption, the experience of comparable democracies that already allow it is relevant evidence. So is the American experience from 2016 to 2017 and 2021 to 2025.

There is a quieter cost to the reversals as well: trust. A recruit deciding whether to enlist, or a service member deciding whether to tell a commander the truth, has watched the rules change with each administration. A military that asks people for honesty and integrity is undercut when its own promises do not last. That point holds no matter where one stands on the policy itself, and it is one reason former senior officers from both parties have urged that personnel standards be set by law and evidence rather than by social media.

Where this leaves people, and where the argument goes

The people most affected are particular: a Navy pilot with years of flight hours, an Army medic, an Air Force maintainer, many of them people who enlisted in their teens and who were told in 2016 or 2021 that coming out was safe. Some have left. Some are fighting separation. Others never got the chance to enlist.

The case for open service is not only about rights. It is also a readiness argument. The military struggles to meet recruiting goals in many years. Turning away qualified, trained people who want to serve, and spending money to separate and replace them, is a cost the country pays in capability.

The durable fix is the one that ended the earlier fight over gay service members: a statute. Don't Ask, Don't Tell was written into law in 1993 and repealed by law in 2010, and the repeal held. Open service for transgender troops has never been written into law; it has lived in executive orders and Pentagon memoranda that each new administration can undo. With a new Congress taking office in January 2027, the question of whether lawmakers will try to legislate a stable rule, through the annual defense bill or on its own, is open. Any prediction about it is only a prediction.

What you can do

The decisions here sit in the Pentagon, the courts and Congress. Each has a door.

  • Press Congress for a stable rule. Military personnel policy is written into the annual defense authorization bill. Look up your House member, senators and their recent votes on the representatives page, and ask whether they will support statutory protections for qualified transgender service members.
  • Track the litigation honestly. The Shilling and Talbott cases are still moving through appellate courts. Our courts page collects coverage, and the court-watch tracker shows emergency orders as they come down.
  • Support service members and veterans directly. Legal aid groups and veterans' organizations help those facing separation with paperwork, benefits and discharge characterization. The organizations directory lists legal aid and LGBTQ+ nonprofits by state.
  • Follow the larger defense debate. Who serves is tied to how the military recruits, what it spends and what it is asked to do. The Pentagon and militarism page follows those fights.

A personnel policy announced by social media posts has outlasted two administrations and been reversed three times. The people it covers deserve better than a rule that changes with every inauguration.

Latest on this topic