By the time Donald Trump stepped onstage during Lee Greenwood’s rendition of “God Bless the U.S.A.” at the Make America Great Again rally in Duluth, Minnesota, on the evening of June 20, he was confronting the first crisis of his re-election campaign. Wrenching reports of federal agents ripping infants from their parents’ arms—the result of Trump’s “zero tolerance” immigration crackdown at the southern border—had been playing in a constant loop on cable news. Chaos had engulfed the West Wing, too, as officials offered shifting and conflicting explanations for the policy: Trump blamed Democrats; Attorney General Jeff Sessions called it a “deterrent”; Homeland Security Secretary Kirstjen Nielsen said it wasn’t. Press Secretary Sarah Huckabee Sanders refused to appear on-camera to defend the separations, according to two sources close to her. Melania Trump issued a rare statement critiquing her husband’s policy without first clearing it with White House officials, a source said; she even asked her press secretary to call a Trump surrogate and thank him after he derided the policy on CNN.

For much of the country, the situation at the border posed a moral crisis. But for the Trump campaign, the quandary was political. Immigration was not only a Trumpian rhetorical staple—Build the Wall! Mexico Will Pay For It!—but mostly a winning issue for the G.O.P. Now, the news that the United States government had forcibly separated as many as 2,000 children from their families, a number of them with little hope of ever being re-united, was a bridge Republicans weren’t willing to cross with Trump. Michael Hayden, C.I.A. director under George W. Bush, compared the detention camps to Auschwitz. Paul Ryan and Mitch McConnell privately told Trump he would “go down big on the issue,” a Republican briefed on the conversations told me. And so, Trump, who prides himself on an umbilical connection to his base, did the most un-Trumpian of things: he blinked. As the furor over child separations intensified, and with the midterms looming and Robert Mueller circling ever closer, the stakes were existential. “He felt trapped,” recalled a Republican who spoke with the president during the deliberations. Walk the policy back, and he risked angering his hard-line anti-immigration base; dig in and it would further galvanize Democrats and independents to vote against Republicans in November, likely tilting the House, and possibly even the Senate, in their favor, and facilitating the possibility of an impeachment trial. “This election is very simple,” Steve Bannon told me recently. “It’s an up-or-down vote on impeachment.”

For days, Trump had claimed that only Congress could nullify the policy. Shortly before boarding Air Force One for Duluth, however, the president had signed a hastily drafted executive order that effectively ended the family separations. “He was very unhappy,” the Republican who spoke with him recalled. “He was perturbed the immigration issue had gotten out of hand. He’s feeling that being president isn’t as fun as it should be. He thinks he’s not getting the credit he deserves about the economy and North Korea. He said, ‘These people around me don’t know how to sell.’ It’s why he’s going bananas on Twitter. His state of mind is frustration.”

In Duluth, as he stood in front of a sea of red hats, white faces, and blue signs filling the local hockey arena, the frustration melted away. Trump demanded credit for his nuclear summit with Kim Jong Un. (“We had a great meeting, great chemistry.”) He whined that the media would downplay the crowd size. (“Did you see the thousands and thousands of people outside? That will never be reported by the fake news.”) He griped about not being considered a member of the country’s elite. “I have a much better apartment than they do,” he said to the audience. “I’m smarter than they are. I’m richer than they are. I became president and they didn’t.”

For Democrats, the saying is, it could happen again. In between appeasing Putin and castigating NATO and tweeting out his unhappiness with the Mueller probe, Trump is doing what he loves most: running for president. His re-election effort is typically Trumpian: sprawling, disjointed, and bursting with confidence. In February, Trump announced that Brad Parscale, the digital guru with the Billy Gibbons beard who led his 2016 online strategy, would be his 2020 campaign manager. Meanwhile, Trump has been crisscrossing the country holding fund-raisers, building up a war chest of $88 million in his first 18 months. Many cast members from the original campaign are expected to reprise their starring roles, including Jared Kushner and Ivanka Trump, as well as Corey Lewandowski, David Bossie, and Kellyanne Conway. Even Bannon is starting to find his way back into Trump’s orbit after a bitter falling-out. This fall, Trump plans to deliver slashing stump speeches that stoke his base while defining his likely Democratic challengers long before they launch campaigns of their own. He’s already rolled out his campaign slogan: “Keep America Great.”

The logic underpinning a second Trump victory isn’t only a paranoid Democratic fantasy. “Democrats should be very, very worried,” Dan Pfeiffer, Barack Obama’s former communications director, told me recently. “We have more voters than they do, but we can only win if we get them out. Complacency hurt Democrats last time because we assumed Trump would lose.”

Trump’s own data guys have a slightly different interpretation. “The best way to win in 2020 is to win in 2018,” said Bill Stepien, with a straight face. It was a swampy Washington Friday in mid-June, and I was sitting with Stepien, the White House political director, in his office turned war room on the first floor of the Executive Office Building. Virtually every inch of wall space was covered with maps of states with races that Republicans have targeted to win to keep control of the Senate.

Stepien, a 40-year-old New Jersey operative, is an Establishment Republican out of central casting: trim, well dressed, and with impeccable hair. He was recruited to join the Trump campaign in August 2016, after befriending Kushner, and his current job is to effectively reverse-engineer a method to Trump’s madness. Despite the gloomy outlook for Republicans—a recent Real Clear Politics poll average showed Democrats with a six-point advantage—Stepien did his best to spin the White House’s message that Republicans could limit the damage in the midterms. “This is not an easy time to run and win as a Republican,” Stepien conceded. “[Trump] is trying to get all the people who voted for him in 2016 back out to the polls in 2018. The goal is to make those people who are presidential-year voters into midterm-election voters.”

I asked Stepien what the White House learned from the special elections in 2017, in which Democrats won decisively in Virginia, Alabama, and Pennsylvania. “The special elections were elections in a vacuum,” he said. He contended that the candidates in those races ran as centrists, while the party’s midterm candidates, and likely 2020 candidates, will be far to the left of the mainstream. “[Bernie] Sanders, [Kamala] Harris, [Elizabeth] Warren. They’re all going to out-left each other,” Stepien said. “That is a very good thing for this Republican president.”

But what about the revolt of suburban white voters, especially women? Suburban moms, always a vulnerability for Trump, are especially likely to be swayed by the family-separation policy. Stepien, however, minimized the challenge. “Good policy is good politics. I’ve seen good policy come out of this White House,” he said. “Bottom line is Americans want security. They want to feel safe in the realm of national security and they want to feel economically secure. And on each front he’s delivered.” The White House sees Trump as an asset to mobilize the base. According to Stepien, Trump intends to spend more than 20 days on the campaign trail during the fall election, around the same number that George W. Bush spent in 2002 at the height of his post-9/11 popularity.

Looming over all of this, of course, is Mueller, and whether his investigation will have any electoral purchase. Stepien’s boss, White House counselor Johnny DeStefano, had joined the conversation. “We’ve been poring through this verbatim in these surveys, and you don’t see the word ‘Mueller’ or ‘Russia’ or any of that stuff,” DeStefano said.

“We look at the front pages of daily key in-state newspapers every day,” Stepien added. “Compare and contrast that with what The Washington Post or New York Times is saying.”

“It’s pretty stark,” DeStefano said.

“It’s not on the 6 o’clock or 10 o’clock news every night. That’s what matters,” Stepien said.

The data tell conflicting stories. Mueller’s approval rating has indeed sunk under the weight of Trump’s withering Twitter barrage, but some analyses suggest that Stepien and DeStefano are engaged in magical thinking. An NBC News poll in late June reported that only a third of voters in the swing states of Arizona, Ohio, and Florida felt Trump deserved to be re-elected. Trump’s immigration crackdown also sent his numbers crashing, if perhaps only temporarily. A Gallup survey conducted days after the Duluth speech recorded a four-point drop in his approval rating, to 41 percent; while his disapproval numbers spiked five points. Seventy-five percent of voters said immigration was a “good thing.” Trump’s siding with Putin over America’s intelligence agencies at the Helsinki summit had the rare effect of bringing Democrats and Republicans together against him. But one lesson of 2016 is that numbers like that may not mean very much when it comes to Trump. Everyone knows unicorns aren’t real, and yet, there it was.

The paradox of the Trump campaign is that its biggest asset, Trump, is also at times its most intractable—a weapon that threatens, at any moment, to blow up in its face. He’s a constant critic of his own operation. “Trump trusts absolutely nobody,” a former top West Wing official told me. That includes Stepien and DeStefano. In recent months, Trump has complained to aides that he’s not being well served by the White House political operation, according to multiple Republicans who’ve spoken with Trump. Trump has told people he questions DeStefano’s loyalty after DeStefano developed a close relationship with the president’s long-suffering chief of staff and nemesis, John Kelly. “Trump openly questions Johnny,” a former official told me. “He asks people, ‘Is he to be trusted?’” A source said Trump has also complained that Stepien is too cautious because Stepien was among advisers who told Trump not to take sides in Republican primary elections.

Seeking other counsel, Trump has increasingly turned to a shadow political operation, composed of a few very familiar faces. The outside group was put together by, of all people, Trump’s former campaign chairman Steve Bannon. Members include 2016-campaign veterans like Lewandowski, Bossie, and communications director Jason Miller; former national-security aide Sebastian Gorka; Breitbart Washington editor Matthew Boyle; and former Trump aide Sam Nunberg. On most mornings, Bannon and his allies hold conference calls to hash out talking points that Trump surrogates can deploy in the media. For much of the past year, John Kelly banned Bossie and Lewandowski from the West Wing. But after Trump sidelined Kelly this spring, the pair have been welcomed back. In mid-June, Bossie and Lewandowski flew with Trump aboard Air Force One to a fund-raiser in Las Vegas.

Photographs by Sylvain Gaboury/Patrick McMullan (Don Junior), Taylor Hill (Lewandowski), Tasos Katopodis (Ivanka), Win Mcnamee (Trump), Spencer Platt (Jared), Astrid Stawiarz (Eric), Tom Williams/CQ Roll Call (Destefano), all from Getty Images; By John Shinkle/Politico (Stepien); From Mediapunch (Bossie), by Mary Schwalm/ A.P. Images (Bannon), both from Rex/Shutterstock.

A few days after my visit to the White House, I went to see Bannon, who was holed up in his suite at the Regency in New York, the same hotel where Michael Cohen was ensconced just a few floors away. Bannon was giddy. He was fresh from Rome, where populist political parties he’d supported had just formed an anti-immigration, anti-European Union government. “Populist nationalism is on the move everywhere in the world,” Bannon boasted. Events seemed to be breaking his way in Washington too. “It’s like my white board’s there and Trump is checking shit off,” Bannon said. He marveled at Trump’s border crackdown and decision to launch a global trade war. “Trump is on the full MAGA agenda,” he said. Bannon admitted that he and Trump still don’t speak, but he gets his ideas to Trump through other channels, mainly Lewandowski and Freedom Caucus chair Mark Meadows.

“We’re going to call them out. Kirsten Gillibrand? Elizabeth Warren? Kamala Harris? Howard Schultz? He’s going to cut through these guys like a scythe through grass.”

Bannon was also pleased that his group had Trump’s ear. A rivalry had developed between Trump’s outside advisers and the White House political shop, and Bannon’s group was winning. “The war room should be done by the White House, but there’s no one there competent enough or hardworking enough to do it,” he told me. “You got the ‘hardcores’ on the outside who understand Trump’s message, understand Trump, understand the base and what got him here and what takes him to the next level.” In June, Trump ignored the advice of Stepien and DeStefano and gleefully plunged into G.O.P. primaries. Trump even tweeted that he was defying their counsel. “My political representatives didn’t want me to get involved in the Mark Sanford primary, thinking that Sanford would easily win,” he wrote on June 13. “Sanford was so bad, I had to give it a shot.” In late June, according to a source, Trump flew to South Carolina against Stepien and DeStefano’s wishes to campaign for South Carolina governor Henry McMaster, who was fending off a tough primary challenge. McMaster won.

Bannon compared this point in the midterm re-election to August 2016, when Trump trailed Hillary Clinton by double digits and everyone expected him to be trounced. Except this time he’s effectively running against Nancy Pelosi, the former (and perhaps future) House Speaker, who would lead a hypothetical impeachment crusade. “She’s the Hillary,” Bannon said. “She’s got some of the same tendencies!” That’s where the specter of impeachment comes into place. “You want her program? Impeach Trump and you got her,” Bannon explained. “When you focus on impeachment, it’s a game changer. It’s an emotional issue that raises the stakes.” To hold on to the House and Senate in November, Bannon said, Trump needs to follow the same strategy he employed in the home stretch of 2016: drive hard toward his base. “This is a ‘deplorable-plus electorate.’ What I mean is, it’s deplorables plus Reagan Democrats and guys who voted for Trump who vote never. You bring them out in an off year.” I asked Bannon about the risk of losing suburban women. He shrugged off the voting bloc as immaterial, a thing of the past. “The Republican college-educated woman is done,” he said. “They’re gone. They were going anyway at some point in time. Trump triggers them. This is now the Trump movement.” Bannon said that Trump’s nomination of Brett Kavanaugh to the Supreme Court will help win back some suburban Republicans. “Republicans will come home. Dude, you got Gorsuch and Kavanaugh back to back,” he told me. At a minimum, Kavanaugh’s nomination will “ensure they don’t vote for Democrats.”

“Pence wants to inherit the Trump base, so that’s why you see him saying these obsequious things. It’s so pathetic.”

Bannon said he wants Trump to use the 2018 midterms to bludgeon Trump’s likely challengers. “All of those Democrats need 2019 like a guy in the desert needs water. We’re going to take that away from them,” he said. “We’re going to call them out. Kirsten Gillibrand, show us what you got. Elizabeth Warren? Kamala Harris? Howard Schultz? He’s going to cut through these guys like a scythe through grass. He’s going to mock and ridicule them. He’s going to crush them. He’s going to fieldstrip these guys. They need 2019 to get ready. We won’t give it to them.” Indeed, Trump seemed to be doing just that. A couple of weeks later at a rally in Montana, Trump gleefully reprised his “Pocahontas” attack on Elizabeth Warren, offering to make a $1 million donation to a charity of her choice if she took a DNA test to prove her Native American ancestry.

Not everyone is on board with this program. With eyes on 2020, Ivanka Trump and Jared Kushner are pushing Trump to adopt more moderate positions. Kushner aggressively lobbied his father-in-law to embrace prison reform, organizing a White House visit with Kim Kardashian West and consulting with CNN host Van Jones. Jones told me Trump liked the positive media coverage that followed his commuting the sentence in early June of low-level drug offender Alice Marie Johnson at the urging of Kardashian and Kushner. “Trump was pleasantly surprised,” Jones said. According to a former White House official, Kushner and Ivanka have also been polling more inclusive language on transgender rights. “The 2020 campaign is about the rehabilitation of Jared and Ivanka,” the source said. In late June, one outside Trump adviser explained to Kushner that the population of white voters shrinks by one million every year. Kushner expressed alarm at the speed of the changing demographics, a source familiar with his thinking told me. (A Trump official denied that Jared and Ivanka are playing any role in polling, campaign activities, or decision making.)

It is widely assumed among Trump advisers that Kushner, who was instrumental in the hiring of Parscale, will depart the White House at some point after the midterms to oversee the 2020 campaign. “The entire reason Brad got the job is because he was acceptable to the Trump kids,” a former White House official said. “Eric loves the guy, and Don does, too.” Since February, Parscale has been working from an office in the Republican National Committee’s headquarters in Washington, D.C. “He’s been cleaning up data, gearing up for post-2018,” said a Trump adviser. Trump advisers I spoke with view Parscale as an extension of Kushner. After the 2016 election, Trump was annoyed that Kushner received so much credit for the win, even appearing on the cover of Forbes with an ear-to-ear grin above the headline THIS GUY GOT TRUMP ELECTED. The reality is that no matter what campaign structure takes shape, Trump views himself as his own campaign manager. “I’m the strategist,” Trump told me back in 2016.

These three factions all face one existential issue: What if Trump doesn’t run for re-election, either because he’s impeached, decides he’s had enough, or is so damaged by what Mueller unearths as to be rendered unelectable? Much of the Republican establishment, and even many Trump allies, have been contemplating a Plan B for months. “He could just decide, ‘I’ve made America great again. I’ve kept all my promises. Now I’m gonna play golf,’” said Roger Stone.

Most Republican strategists I spoke to agreed that Trump will face a primary challenge from the Never Trump wing of the party, which has been clipped since the 2016 election. Possible primary candidates include Senators Jeff Flake, Bob Corker, and Ben Sasse; and Ohio governor John Kasich. “My sense is someone is going to challenge Trump,” said Ed Rollins, Ronald Reagan’s ‘84 campaign manager who now advises the pro-Trump Great America PAC. “I don’t think it’ll be a viable candidate. Someone like Flake or Kasich, they’re just more of a nuisance. Trump has the base.” (A Gallup poll in June showed that Trump’s 87 percent popularity among his party is the second highest in modern presidential history, behind Bush 43 post-9/11.) If there’s one historical data point that should worry Trump advisers, it’s that incumbent presidents in the modern era who faced primary challenges failed to win the general election.

The possibility that Trump won’t run in 2020 has motivated Republicans serving in his administration to position themselves in ways that would be unthinkable in a normal White House. U.N. ambassador Nikki Haley, who is widely considered to have presidential aspirations, has staked out the Establishment lane. She’s courted Wall Street donors at private dinners in Manhattan and has socialized with former Paul Ryan adviser Dan Senor and his wife, Campbell Brown. Haley rarely mentions Trump in her public speeches. According to a Republican close to Trump, Trump has been annoyed with this omission. “He’s gotten feedback she never mentions his name at events,” the Republican close to the White House said. “Nikki is ambitious. She’s going to run. It’s just a question of when,” a former West Wing official said. “Her staff is very careful when they speak to other people. They always say 2024; one of Haley’s people told me 2024 is code for 2020.” (A Haley spokesperson said, “Ambassador Haley is not running for any office in 2020.”)

But the most aggressive of the candidates-in-waiting by far has been Vice President Mike Pence. He has so far survived in Trumpworld by making sure that he is the first among equals in a West Wing full of suck-ups. (At a Cabinet meeting in December 2017, Pence praised Trump 14 times in three minutes.) “Pence wants to inherit the Trump base, so that’s why you see him saying these obsequious things. It’s so pathetic,” a prominent Republican said. In January 2017, Pence started a PAC, America First Policies. “Pence has a better political operation than the White House has. I’ve never seen that before,” Ed Rollins said. Pence has tight relationships with powerful donors, including the Koch brothers and billionaire Todd Ricketts. “Republican members of Congress like Pence. They’d much rather have Pence than Trump,” a top Republican strategist said.

Pence’s political brain is a 36-year-old operative named Nick Ayers. During his meteoric rise to the top echelon of Republican strategists, Ayers developed a reputation as something of a Georgia-born Sammy Glick that left him with powerful enemies, including his colleagues in the West Wing. “Everybody knows Nick is not loyal to the president,” an administration official told me. “Trump thinks Nick is a backstabber. He does not trust him at all.” In August 2017, the Times reported that Ayers and Pence adviser Marty Obst were privately courting G.O.P. donors for a possible Pence run in 2020. Trump became furious this past April when he learned that Ayers had persuaded Pence to recruit a pollster named Jon Lerner to join the V.P.’s staff. According to a source briefed on the conversations, Kellyanne Conway told Trump that Lerner was a Never Trumper who’d once worked for Paul Singer, the G.O.P. mega-donor who funded the firm that commissioned the infamous Christopher Steele dossier. “Why would Mike do that?” Trump reportedly asked advisers. Lerner backed out of the job.

The dustup strained relations between Trump and Pence advisers. “Nick really fucked up,” a Republican close to the White House told me. “He got way out over his skis,” said a former West Wing official. Seeking to mend fences, Pence invited Corey Lewandowski to join his PAC, knowing that Trump sees Lewandowski as supremely loyal. “Corey was sent there to keep eyes on Pence,” the former official said. “Pence is politically adept. But at the end of the day, he’s still not good at faking sincerity,” former Trump aide Sam Nunberg said. “Trump’s not an idiot. He knows it.”

Normally, a sitting vice president would be considered a party’s front-runner. But in the case of Pence, that may not be so. Prior to Trump putting him on the ticket, Pence was headed toward oblivion. Unpopular in his home state of Indiana, Pence appeared likely to lose his re-election bid in 2016. He owes everything to Trump, which sharpens his predicament. “Pence is walking a fine line. With the slightest hint of Donald’s blood on the knife, I have a candidate standing by who will trounce his ass,” Roger Stone told me. There’s also the problem of Pence’s vanilla personality at a moment when voters, especially the Republican base, want red meat.

If Trump departs, another circus is waiting to come to town. Already, celebrities have been quietly positioning themselves. Mark Cuban has met with strategists, a source told me. And Dwayne “The Rock” Johnson has reportedly considered a run. “If Trump doesn’t run for re-election in 2020—which he will—then either Mark Cuban or `The Rock’ will be the G.O.P. nominee, and either one will win,” Nunberg said.

One problem for Democrats going into 2020 is that Trump makes it almost impossible not to respond to his daily outrages. “He’s sucked all the oxygen out of the room,” Bannon says. “They’re in a Kafka-esque nightmare right now. There’s no exit. I just love it.” Democrats have yet to develop a cohesive message and a consensus about whether the best way to defeat Trump is from the left or the middle. Doug Jones and Conor Lamb ran as moderates in deep red Alabama and Pennsylvania. But Alexandria Ocasio-Cortez’s upset win in New York over Speaker-in-waiting Joe Crowley gives progressives an argument that the Bernie Sanders wing of the party is ascendant. Dan Pfeiffer told me the problem for Democrats is how to balance the need to drive the base while trying to win back working-class voters Trump peeled off in places like Michigan and Wisconsin. “We’re going to have to figure out how to get the Obama coalition that did not turn out, plus win back midwestern states while improving performance in rural states,” he said.

And yet, Democrats terrified at the prospect of a second Trump term also have plenty to feel hopeful about. Trump’s approval ratings have never cracked 50 percent, despite a booming economy and no foreign-policy disasters. On major issues—health care, immigration—more voters are against his policies than for them.

But the biggest liability for Trump is himself, as evidenced by his disastrous Putin press conference. “For Trump’s outside supporters, we are highly concerned the president is continually incapable of discerning between meddling and collusion,” Sam Nunberg said. “Every time he does something like that he makes our lives harder. It’s time he gets the fuck over [the election].” Even if he survives the Mueller probe and holds on to Congress, there’s the Michael Cohen time bomb. “Michael Cohen and the Trump Org? I don’t know,” Bannon said with concern when I brought it up. “That’s not my deal.” It will be difficult to rekindle the magic that propelled Trump to victory last time.

But an equally significant problem is that the act itself is a little shopworn. The lines can feel rehearsed. The speech I attended in Duluth shaded more toward a reunion than a rally, heavy on nostalgia for the glory days of past triumphs. The jumbotron played Fox News clips from Election Night 2016 as the anchors called each state for Trump. “That was an amazing evening,” Trump told the crowd a bit wistfully, as if he were reliving prom night. He led the audience in chants of “Lock her up!” and “Build the wall!” and “CNN sucks!” It all felt ritualized, scripted—no teleprompter necessary.

Even Trump’s liberated advisers were causing him problems. The night before Trump rallied in Duluth, Lewandowski appeared on Fox News and responded “womp womp” to a story of a 10-year-old migrant girl with Down syndrome separated from her mother. The comment evoked the casual cruelty of Trump’s immigration policy and promptly went viral. Two sources said Trump was furious that Lewandowski became the story. “He was pissed,” one Republican briefed on his thinking told me. A few days later, Fox News suspended David Bossie after he told an African-American panelist that he was “out of [his] cotton-picking mind” during a segment on Fox & Friends.

There will surely be many more controversies. Trump has only one speed, and the danger is the audience gets bored. From his years as a reality-show star, Trump must know he needs to freshen the script. The challenge will be, How? This, more than anything, may be what defeats Trump. The audience, after all, has seen this show before.