The Taliban have condemned the attack outside Kabul's airport, saying it occurred in an area controlled by U.S. forces.
Taliban spokesman Zabihullah Mujahid says his group “strongly condemns” Thursday's attack and is paying close attention to security.
The attack was believed to be carried out by Afghanistan's Islamic State group affiliate, which is separate from and more radical than the Taliban.
ALSO READ | Kabul Blasts Update
Two suicide bombers and gunmen attacked crowds of Afghans flocking to Kabul's airport Thursday, transforming a scene of desperation into one of horror in the waning days of an airlift for those fleeing the Taliban takeover. Over 40 people were killed and more than 120 wounded, reports said.
Several Marines were killed and a number of other American military were wounded, a U.S. official said.
One of the bombers struck people standing knee-deep in a wastewater canal under the sweltering sun, throwing bodies into the fetid water.
Those who moments earlier had hoped to get on flights out could be seen carrying the wounded to ambulances in a daze, their own clothes darkened with blood.
A U.S. official said the complex attack was believed to have been carried out by the Islamic State group.
The IS affiliate in Afghanistan is far more radical than the Taliban, who recently took control of the country in a lightning blitz and condemned the attack.
Western officials had warned of a major attack, urging people to leave the airport, but that advice went largely unheeded by Afghans desperate to escape the country in the last few days of an American-led evacuation before the U.S. officially ends its 20-year presence on August 31.
Pentagon spokesman John Kirby also confirmed the blasts and said there were casualties, including among members of the military, but gave no figure.
He said one explosion was near an airport entrance and another was a short distance away by a hotel.
One official, who spoke on condition of anonymity to discuss ongoing military operations, said several Marines were killed. It wasn't clear if other U.S. military troops were among the dead. American officials have said that information is still coming in and they are trying to determine exact numbers of casualties.
Even as the area was hit, evacuation flights continued to take off from Kabul airport.
Adam Khan was waiting nearby when he saw the first explosion outside what's known as the Abbey gate. He said several people appeared to have been killed or wounded, including some who were maimed.
The second blast was at or near Baron Hotel, where many people, including Afghans, Britons and Americans, were told to gather in recent days before heading to the airport for evacuation.