Alexis Mac Allister headed Lionel Messi's corner kick into the net past Switzerland goalkeeper Gregor Kobel to give Argentina the advantage after 10 minutes.
But the Swiss refused to roll over.
They dug in and a period of dominance in the second-half was rewarded when Ricardo Rodriguez slipped a pass into Dan Ndoye in the penalty area.
The 25-year-old slid a right-footed shot under the Argentina goalkeeper Emiliano Martinez to level proceedings at 1-1 mid way through the second-half.
Switzerland reduced to 10 men
But before the Swiss could fray Argentine nerves, they were reduced to 10 men. Breel Embolo was shown a yellow card for pretending he had been fouled and was sent off for his second bookable offence of the evening.
One man down, the Swiss forced the tie into 30 minutes of extra-time. And they only cracked in the second 15 minutes.
Mbappé plays down injury fears after France beat Morocco to reach World Cup semis
Julian Alvarez collected the ball on the left hand side of the Swiss penalty area and curled a shot past Kobel into the top right hand corner to give Argentina the lead again.
Lautaro Martinez added the gloss of the 3-1 scoreline in the dying seconds as Switzerland chased the equaliser that could have sent the quarter-final into a penalty shootout.
Best in the show
“We're among the best four in the tournament,” Alvarez said. "So we're meeting our objectives.
"We knew it wasn't going to be easy. The whole match was hard, and we would have loved to have had the win earlier.
“The opponent was really good but we fought until the end, and finally the goals came.”
With Argentina and England joining Spain and France in the semi-fianls, it is the first time the top four teams in the Fifa rankings have all advanced to the semi-finals.
“We knew this could happen,” said Argentina midfielder Thiago Almada. “Switzerland have top players who find very good positions.
"But we knew how to hold them up and we've made it through.”
Argentina will take on England who saw offNorway 2-1 in Miami.
Jude Bellingham scored both England goals after Andreas Schjelderup's 36th-minute opener for Norway.



KNUST student and street preacher clash over early morning noise
How some women at Inchaban forced resident to join national sanitation day exerc...
Massive fire engulfs alcohol warehouse at Tema Community 26
'Unity remains our greatest strength and the surest path to victory in 2028' – B...
One killed as truck loaded with plywood overturns at Kamirekrom Checkpoint
Success of first phase of 'Nkoko Nkitinkiti' paves way for commercial poultry pr...
SHS teacher re-arraigned over alleged assault of student at Nyinahin
Strengthen ADR to reduce court backlog, improve access to justice – Prof. Asante
NPP internal decisions should not be attributed to Bawumia — Haruna Mohammed