The Pentagon is usually a place of rigid order, but between 2017 and 2021, it felt a lot more like a revolving door. If you're trying to keep track of every secretary of defense under Trump, you aren't alone. It wasn't just one or two names. It was a parade of generals, lobbyists, and "acting" officials that fundamentally changed how the Department of Defense (DoD) operates.
Some people remember Jim Mattis as the "adult in the room." Others look at Mark Esper and see a man caught between his "sacred oath" and a president who wanted to use the 101st Airborne on American streets. Then there's the chaos of the final days, with Chris Miller taking the helm just as things got truly weird.
It's a lot. Honestly, it’s probably the most volatile period for the Pentagon in modern history.
The "Mad Dog" Era: Jim Mattis (2017–2019)
When Donald Trump picked retired Marine General Jim Mattis, people exhaled. Republicans and Democrats mostly agreed: this guy knew his stuff. Mattis was a "warrior monk," a man who traveled with a library and could quote Roman philosophy while planning a desert offensive.
But the honeymoon didn't last.
Mattis was all about alliances. He believed that if the U.S. didn't have friends like NATO or South Korea, we’d "wither." Trump, on the other hand, saw these alliances as a bad deal where America got ripped off. They clashed on everything from the Iran nuclear deal to the ban on transgender service members.
The breaking point? Syria.
In late 2018, Trump abruptly announced he was pulling all U.S. troops out of Syria. Mattis hadn't been consulted. He walked into the Oval Office, tried to talk the President out of it, and when that failed, he handed over a resignation letter that basically said, "You deserve a secretary whose views align with yours."
✨ Don't miss: Who Has Trump Pardoned So Far: What Really Happened with the 47th President's List
It was a polite way of saying, "I'm out."
Trump didn't take the "polite" exit well. He pushed Mattis out the door two months early, replacing him on January 1, 2019.
The Year of the "Acting" Secretary
For a long time after Mattis left, the Pentagon didn't even have a confirmed boss. This is where things get kinda messy.
Patrick Shanahan took over as Acting Secretary. He was a former Boeing executive, not a general. He stayed in the "acting" role for six months—the longest in history—until he withdrew his name from consideration for the permanent job, citing family matters.
Next up was Mark Esper, who was the Secretary of the Army at the time. But because of some weird legal rules about how long an "acting" person can serve, he had to briefly step down and let Richard V. Spencer (the Navy Secretary) take the wheel for a few days while Esper's confirmation went through the Senate.
If you're confused, don't worry. Even the people working in the building were dizzy.
Mark Esper and the "Yesper" Myth (2019–2020)
Mark Esper finally got the job officially in July 2019. He was a West Point grad and a former Raytheon lobbyist. Trump initially liked him, but the nickname "Yesper" started floating around because critics thought he was too eager to please the White House.
🔗 Read more: Why the 2013 Moore Oklahoma Tornado Changed Everything We Knew About Survival
That narrative flipped during the summer of 2020. After the George Floyd protests broke out, Trump suggested using the Insurrection Act to send active-duty troops into U.S. cities.
Esper went to the podium at the Pentagon and said, basically, "No."
He argued that the military should only be used as a last resort in law enforcement and that the current situation didn't meet that bar. That was the beginning of the end for him. Trump fired him via tweet just days after the 2020 election.
The Final Dash: Chris Miller and the Transition
With Esper gone, Christopher Miller stepped in as the final secretary of defense under Trump (in an acting capacity). Miller was a former Green Beret, but he was thrown into a literal firestorm.
His tenure lasted only a few months, but it covered:
- The continued withdrawal of troops from Afghanistan.
- The January 6th Capitol riot.
- The transition to the Biden administration.
Miller has since been a vocal figure in the "Project 2025" discussions, writing the chapter on the Department of Defense for the Heritage Foundation’s blueprint. He’s often defended his actions during the transition, despite heavy criticism from those who felt the Pentagon was too slow to react during the Capitol breach.
Why the Turnover Mattered
You might think, "Who cares if the boss changes every year?"
💡 You might also like: Ethics in the News: What Most People Get Wrong
In the military, continuity is everything. When you have a new secretary of defense under Trump every few months, long-term projects get stalled. We’re talking about massive things like the "National Defense Strategy," which shifted the U.S. focus away from Middle Eastern insurgents and toward "near-peer" rivals like China and Russia.
Mattis started that shift. Esper tried to keep it going. But the constant leadership changes meant that the bureaucracy often just waited for the next guy to show up before making big moves.
The Full List (Confirmed & Acting)
| Name | Role | Dates |
|---|---|---|
| Jim Mattis | Secretary | Jan 2017 – Dec 2018 |
| Patrick Shanahan | Acting | Jan 2019 – June 2019 |
| Mark Esper | Acting | June 2019 – July 2019 |
| Richard V. Spencer | Acting | July 2019 (approx. 8 days) |
| Mark Esper | Secretary | July 2019 – Nov 2020 |
| Christopher Miller | Acting | Nov 2020 – Jan 2021 |
What We Learned from the Trump Pentagon
If you look back at that four-year stretch, the biggest takeaway isn't just the names. It's the tension between civilian control of the military and the personal loyalty the President expected.
The secretary of defense under Trump was a role caught in a tug-of-war. On one side was the "interagency process"—the career experts and generals who wanted to stick to traditional alliances. On the other side was a president who wanted to disrupt the status quo.
Moving Forward: Actionable Insights for History Buffs and Voters
Whether you’re a student of political science or just trying to understand the news, here is how you can actually use this information:
- Watch the "Acting" Titles: One of the biggest shifts in the Trump era was the use of acting officials to bypass the Senate confirmation process. Keep an eye on how many "acting" heads are in the Cabinet of any future administration; it’s a key sign of how a president plans to use their power.
- Read the Resignation Letters: If you want to understand the real policy splits, read Jim Mattis’s 2018 letter and Mark Esper’s memoir A Sacred Oath. They provide a firsthand look at where the military-civilian divide actually sits.
- Track the National Defense Strategy (NDS): Despite the turnover, the shift toward countering China started under Trump's secretaries. This is one of the few areas where the Biden administration actually kept the momentum going. It shows that some Pentagon policies are bigger than the person in the top office.
The office of the Secretary of Defense is arguably the most powerful job in the world after the Presidency. Understanding who held it—and why they left—is the only way to make sense of how American power is used (or not used) on the global stage.
If you're researching the current 2026 landscape or looking back at the first Trump term, remember that the Pentagon’s story is usually written in the friction between the White House and the "E-Ring" of the Pentagon.
To deepen your understanding, I can help you compare the specific policy shifts between the Mattis and Esper eras or look into the legal requirements of the Vacancies Act that allowed for so many acting secretaries.