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.