
The reigning world champions needed an own goal from Cape Verde defender Diney Borges in the 111th minute to finally separate the sides in an enthralling round-of-32 clash at Miami Stadium in Miami Gardens.
Borges inadvertently turned the ball into his own net while under pressure from Argentina defender Cristian Romero, breaking Cape Verde's resistance after the African side had battled courageously throughout the contest.
Cape Verde, one of the tournament's surprise packages, pushed Argentina all the way and twice found the net in a spirited display that threatened to produce one of the biggest upsets in World Cup history. However, the South American giants ultimately relied on their experience and composure to edge a pulsating five-goal encounter.
Led by captain Lionel Messi, Argentina had to dig deep after failing to put away their resilient opponents in regulation time. The match remained finely balanced before the decisive moment arrived midway through the second period of extra-time.
The victory sends Argentina into the last 16, where they will face Egypt as they continue their bid to successfully defend the World Cup title.
Earlier, Cape Verde earned widespread praise for their fearless performance despite the defeat, pushing one of football's traditional powerhouses to the limit before bowing out after a memorable campaign.