"After consultation with my Generals and military experts, please be advised that the United States Government will not accept or allow transgender individuals to serve in any capacity in the U.S. Military," Trump tweeted. "Our military must be focused on decisive and overwhelming victory and cannot be burdened with the tremendous medical costs and disruption that transgender in the military would entail. Thank you."
Here's how late-night TV handled the shocking news that outraged Americans across the country.
'The Tonight Show Starring Jimmy Fallon'
The NBC star invited transgender comedian Patti Harrison to "The Tonight Show" to address Trump's military ban.
"As a trans person, it's hard to articulate exactly how I feel," Harrison said. "But I guess if I had to describe it, I'd say, 'Donald, you are so stupid. You are so stupid. You're lucky you're so hot."
Harrison said when she first heard the news, she thought Trump had just banned all transgender people, and she thought, "Yeah, that sounds like him."
"But then I realized it was just in the military and I was shocked because I assumed he already did that," she said.
Harrison added that she didn't necessarily want to serve in the military but wanted the right. "It's like...I don't want to go to your baby shower, but I want the invite."
"I don't even think Trump knows what transgender means," she continued. "He probably thinks transgender people are those cars that turn into robots."
The CBS comedian argued Trump "went from crazy to cruel" on Wednesday, and mocked the President for his hypocrisy since he once tweeted: "Thank you to the LGBT community! I will fight for you while Hillary brings in more people that will threaten your freedoms and beliefs."
"What does he think the T in LGBT stands for?!" Colbert said before mentioning that even Caitlyn Jenner was taken by surprise by the news. "Caitlyn, I don't know if I'm the first person to break this to you, but he's a liar. I know he said he was your friend, but he was using you, girl."
Reports that the Pentagon was unaware of Trump's trans ban ran rampant Wednesday, which baffled Colbert, since Trump's tweet said he had consulted generals.
"Oh, I know. That must be a typo," Colbert said. "He meant 'my genitals.' Damn you, Siri!"
"Fixed it for you," Colbert tweeted along with an edited version of Trump's original tweet.
Meyers invited four of his female writers -- Amber, Ally, Dina and Jenny -- to share their thoughts on Trump's surprise Twitter announcement.
"President Trump, you just requested a $600 billion military budget. You think you can't afford health care for trans people? The military spends $41 million a year on Viagra. What are you guys doing? Screwing the enemy to death?" Amber said.
The ladies also took jabs at Ivanka Trump, who just last month tweeted, "I am proud to support my LGBTQ friends and the LGBTQ Americans who have made immense contributions to our society and economy."
"You don't fool us. You don't care about the military. The only war you're willing to fight in is a Twitter war," Dina said.
"And you're not even good at that," Amber added. "In 11 years, you haven't been able to totally defeat Rosie O'Donnell."
Corden used a different tactic to call out Trump for his trans military ban: He sang a rendition of the classic ballad "L-O-V-E."
"L: he doesn't care for lesbians. G: he thinks too men should just be friends. B: to his dumb knowledge, it's just a phase in college. T: he finds confusing, so the army's now refusing trans women who only want to serve, trans men who want rights we all deserve..."
The Netflix host had a very short but powerful message for the trans community, as well as the Republican party.
"To everyone in the transgender community: I am sorry that the man who's never served in the military a day in his life is denying you the right to serve your country," Handler said. "Thank you for your service and thank you for your bravery."
"And to the members of the Republican party that continue to choose party over politics: Grow a f-cking spine."