Added to earlier strikes by Kim Little and Jen Beattie it seemed to have assured a first win at their debut World Cup, along with progress to the knockout phase, something the nation’s men’s team have never managed.
But Milagros Menendez replied with Argentina’s first goal of the tournament in the 74th minute and then Florencia Bonsegundo’s shot went in off goalkeeper Lee Alexander to set up a grandstand finale.
With two minutes left, after an agonising VAR review, Argentina were handed a penalty.
Alexander saved Bonsegundo’s tame first effort, but VAR caught the goalkeeper straying off her line and the Argentine converted her second effort in the fourth minute of stoppage time.
The draw left Scotland on one point, bottom of Group D and eliminated.
“We gave it our all for 70 minutes of the game. We were very good but we didn’t manage to see the game out, but at this moment in time we feel hard done by,” said Scotland’s disconsolate coach, Shelley Kerr.
“There were certainly a few decisions again that didn’t go our way.
“This is a World Cup and you need the officials to make the right calls. It is really bitterly disappointing.”
Argentina have two points and can only advance as one of the four best third-place finishers if Thursday’s final group games between Cameroon and New Zealand in Group E and Chile and Thailand in Group F both end in draws.