WASHINGTON, DC - JUNE 02: U.S. President Donald Trump talks to the media before he departs the White House on June 02, 2019 in Washington, DC. The president and First Lady Melania Trump will be guests of the Queen and attend a ceremony in Portsmouth to mark 75 years since the D-Day landings. (Photo by Tasos Katopodis/Getty Images)
PHOTO: Tasos Katopodis/Getty Images
WASHINGTON, DC - JUNE 02: U.S. President Donald Trump talks to the media before he departs the White House on June 02, 2019 in Washington, DC. The president and First Lady Melania Trump will be guests of the Queen and attend a ceremony in Portsmouth to mark 75 years since the D-Day landings. (Photo by Tasos Katopodis/Getty Images)
Now playing
02:00
Trump not letting up on Mexico tariffs threat
FBI Director Christopher Wray testifies before the Senate Judiciary Committee on the January 6th insurrection, in the Hart Senate Office Building on Capitol Hill in Washington, DC on March 2, 2021. (Photo by MANDEL NGAN / POOL / AFP) (Photo by MANDEL NGAN/POOL/AFP via Getty Images)
PHOTO: MANDEL NGAN/POOL/AFP via Getty Images
FBI Director Christopher Wray testifies before the Senate Judiciary Committee on the January 6th insurrection, in the Hart Senate Office Building on Capitol Hill in Washington, DC on March 2, 2021. (Photo by MANDEL NGAN / POOL / AFP) (Photo by MANDEL NGAN/POOL/AFP via Getty Images)
Now playing
02:55
Watch FBI director debunk conspiracy theories pushed by Trump supporters
abrams
PHOTO: CNN
abrams
Now playing
00:51
Abrams on voting rights: We're fighting to protect our democracy from domestic enemies
Goya Foods President Robert Unanue speaks at a press conference with Carlos Vecchio, the Venezuelan Ambassador who is recognized by the United States on December 21, 2020 in Doral, Florida. The two held the press conference to discuss details of a recent shipment of humanitarian aid to Venezuela, donated by Goya Foods. (Photo by Joe Raedle/Getty Images)
PHOTO: Joe Raedle/Getty Images
Goya Foods President Robert Unanue speaks at a press conference with Carlos Vecchio, the Venezuelan Ambassador who is recognized by the United States on December 21, 2020 in Doral, Florida. The two held the press conference to discuss details of a recent shipment of humanitarian aid to Venezuela, donated by Goya Foods. (Photo by Joe Raedle/Getty Images)
Now playing
03:24
Goya CEO under fire for false Trump election claims
Rep. Adam Kinzinger (R-IL) speaks to CNN's Alisyn Camerota about why he thinks that the Republican Party will move on from former President Donald Trump.
PHOTO: CNN
Rep. Adam Kinzinger (R-IL) speaks to CNN's Alisyn Camerota about why he thinks that the Republican Party will move on from former President Donald Trump.
Now playing
02:03
Kinzinger: Trump is a loser and we will move on
Now playing
04:17
NYC mayor says Gov. Cuomo should resign if allegations are true
NEW YORK, NY - JULY 23: New York Gov. Andrew Cuomo speaks during the daily media briefing at the Office of the Governor of the State of New York on July 23, 2020 in New York City. The Governor said the state liquor authority has suspended 27 bar and restaurant alcohol licenses for violations of social distancing rules as public officials try to keep the coronavirus outbreak under control. (Photo by Jeenah Moon/Getty Images)
PHOTO: Jeenah Moon/Getty Images
NEW YORK, NY - JULY 23: New York Gov. Andrew Cuomo speaks during the daily media briefing at the Office of the Governor of the State of New York on July 23, 2020 in New York City. The Governor said the state liquor authority has suspended 27 bar and restaurant alcohol licenses for violations of social distancing rules as public officials try to keep the coronavirus outbreak under control. (Photo by Jeenah Moon/Getty Images)
Now playing
02:29
NYT: Third woman comes forward against Gov. Andrew Cuomo
WASHINGTON, DC - MAY 25: U.S. President Donald Trump and first lady Melania Trump depart the White House for Baltimore, Maryland on May 25, 2020 in Washington, DC. The Trumps will attend a Memorial Day ceremony at the Fort McHenry National Monument and Historic Shrine despite objections by Baltimore Mayor Bernard C. "Jack" Young, whose residents remain under a stay-at-home order due to the coronavirus. (Photo by Sarah Silbiger/Getty Images)
PHOTO: Sarah Silbiger/Getty Images North America/Getty Images
WASHINGTON, DC - MAY 25: U.S. President Donald Trump and first lady Melania Trump depart the White House for Baltimore, Maryland on May 25, 2020 in Washington, DC. The Trumps will attend a Memorial Day ceremony at the Fort McHenry National Monument and Historic Shrine despite objections by Baltimore Mayor Bernard C. "Jack" Young, whose residents remain under a stay-at-home order due to the coronavirus. (Photo by Sarah Silbiger/Getty Images)
Now playing
02:10
Trump got vaccinated in secret. Here's why this matters
Kinzinger
PHOTO: CNN
Kinzinger
Now playing
03:55
Republican lawmaker reacts to being on Trump's 'enemies list'
Former Ambassador to the United Nations Nikki Haley speaks during the first day of the Republican convention at the Mellon auditorium on August 24, 2020 in Washington, DC (Photo by Olivier DOULIERY / AFP) (Photo by OLIVIER DOULIERY/AFP via Getty Images)
PHOTO: Olivier Douliery/AFP/Getty Images
Former Ambassador to the United Nations Nikki Haley speaks during the first day of the Republican convention at the Mellon auditorium on August 24, 2020 in Washington, DC (Photo by Olivier DOULIERY / AFP) (Photo by OLIVIER DOULIERY/AFP via Getty Images)
Now playing
04:41
Haley flip flops on Trump, praising his 'strong speech'
ORLANDO, FLORIDA - FEBRUARY 26: Rep. Madison Cawthorn (R-NC) addresses the Conservative Political Action Conference being held in the Hyatt Regency on February 26, 2021 in Orlando, Florida. Begun in 1974, CPAC brings together conservative organizations, activists, and world leaders to discuss issues important to them. (Photo by Joe Raedle/Getty Images)
PHOTO: Joe Raedle/Getty Images
ORLANDO, FLORIDA - FEBRUARY 26: Rep. Madison Cawthorn (R-NC) addresses the Conservative Political Action Conference being held in the Hyatt Regency on February 26, 2021 in Orlando, Florida. Begun in 1974, CPAC brings together conservative organizations, activists, and world leaders to discuss issues important to them. (Photo by Joe Raedle/Getty Images)
Now playing
04:12
Women allege sexual misconduct against North Carolina GOP lawmaker
trump investigators murray dnt 03012021
PHOTO: CNN
trump investigators murray dnt 03012021
Now playing
02:56
Five elected investigators are turning their attention to Trump
Now playing
03:12
Avlon on CPAC: It was a hyperpartisan temper tantrum
New York Gov. Andrew Cuomo speaks during a news conference at a COVID-19 vaccination site in the Brooklyn borough of New York, Monday, Feb. 22, 2021. (AP Photo/Seth Wenig, Pool)
PHOTO: Seth Wenig/Pool/AP
New York Gov. Andrew Cuomo speaks during a news conference at a COVID-19 vaccination site in the Brooklyn borough of New York, Monday, Feb. 22, 2021. (AP Photo/Seth Wenig, Pool)
Now playing
02:26
Haberman: This is the first time I can remember Cuomo apologizing
Now playing
02:11
'Sad': Kinzinger blasts Hawley's CPAC remarks
New York Gov. Andrew Cuomo speaks during a news conference at a COVID-19 vaccination site in the Brooklyn borough of New York, Monday, Feb. 22, 2021. (AP Photo/Seth Wenig, Pool)
PHOTO: Seth Wenig/Pool/AP
New York Gov. Andrew Cuomo speaks during a news conference at a COVID-19 vaccination site in the Brooklyn borough of New York, Monday, Feb. 22, 2021. (AP Photo/Seth Wenig, Pool)
Now playing
01:12
Gov. Andrew Cuomo responds to allegations of sexual harassment
(CNN) —  

US and Mexican officials continued to negotiate into Thursday evening in hopes of reaching a deal on immigration enforcement to avert President Donald Trump’s threatened tariffs on Mexican imports.

But the window is quickly closing.

Trump, who was still abroad following D-Day commemorations, faces a Friday deadline to sign an executive order to ensure the tariffs go into effect by Monday, his deadline for Mexico to meet his immigration demands or face a 5% tariff on all exports to the US.

White House press secretary Sarah Sanders said in a late Thursday afternoon statement that the US “position has not changed, and we are still moving forward with tariffs at this time.”

Minutes later, Vice President Mike Pence echoed that message.

“The President announced 5% tariffs would be imposed on Monday on all goods coming from Mexico. That’s the policy of the United States,” Pence said. “The President said what he means and he means what he says.”

The comments came amid reports that the two sides were nearing a deal to avert the tariffs, ratcheting up the pressure on Mexico to accede to Trump’s demands – though US officials, hoping to avoid a standoff with Republican lawmakers and the potential for economic disruption, were also eager to reach an agreement.

Trump administration officials indicated to CNN on Thursday that the negotiations were yielding progress. One senior administration official said the talks were headed in a “positive” direction, but declined to elaborate on the progress.

Another senior administration official said they want the Mexican government to implement the proposed changes immediately.

Whether the two sides can reach a deal before the tariffs are in motion will entirely depend on Trump, who signaled this week he was “more likely” than not impose the tariffs. And though he’s faced blowback from Senate Republicans, the President appeared emboldened this week by the top Senate Democrats’ suggestion that Trump wouldn’t follow through, tweeting: “No bluff!”

Trump, who on Thursday traveled from his private golf course in Ireland to France and back, has been receiving regular updates on the status of the discussions in Washington and is weighing in on the negotiations, the officials said.

On Thursday evening, Mexican Foreign Minister Marcelo Ebrard left the State Department after meeting with US officials for about an hour and 20 minutes. It was the second lengthy meeting of the day, after the Mexican delegation met with State Department officials for two hours and 45 minutes earlier in the day.

Following the meeting, Ebrard told reporters that there is no agreement yet and talks will resume Friday morning.

“We had a meeting this afternoon. Tomorrow we are going to re-take our conversations,” he said. “We don’t yet have an agreement but we are advancing in order to reach an agreement that we want so tomorrow morning we are going to work in one of the maybe last sessions in order to make an effort to have an agreement.”

Mexico’s top diplomat was asked if he was optimistic and he replied, “I am always, I am an optimistic man, that is why I am the secretary of foreign relations of Mexico.”

He added that the Mexican National Guard will be deployed to the southern border with Guatemala to help curb migration.

“We have informed the US government that the National Guard has been formed in Mexico. … We have explained to them that they are 6,000 men and that that they are going to be deployed there, that is correct,” he said.

One big factor the administration is looking at now is the procedural deadlines required to put the tariffs into effect.

The narrow window for a deal to be struck – barring Trump agreeing to postpone the tariffs, which one official said was “possible” – is growing narrower by the hour. And while negotiators appeared increasingly optimistic that a deal would be struck, late Thursday it still appeared likely that the first round of tariffs, at least, would land first.

“With the closing window we’re in, it’s very possible a deal will be reached but not before some tariffs go into effect,” the official said.

The official added that Trump is “very committed” to moving forward with the tariffs, telling his negotiators to convey in their meetings that he is “dead serious” about imposing the tariffs.

Several meetings between US and Mexican officials took place on Thursday, with the Mexican foreign minister holding discussions at the State Department while Mexican government attorneys met separately with officials in the White House counsel’s office.

The Mexican Foreign Ministry spokesman Roberto Velasco Alvarez made clear his government was still in search of a deal, but that a gap between the two sides remains.

“We continue exploring options to tend to the growing number of undocumented migrants that cross through Mexico,” Velasco Alvarez tweeted. “The US’ stance is focused on the measures of migration control, ours is in development. We have not reached an accord but continue negotiating.”

CNN’s Maegan Vazquez, Natalie Gallon, Taylor Barnes and Adrian Ledezma contributed to this report.