The massive bomb was deployed after fighting intensified over the past week and U.S.-backed ground forces struggled to advance on the area, where a U.S. special forces soldier was killed on April 8.
The blast triggered shock waves in Afghanistan, with some condemning the use of Afghanistan as what they called a testing ground for the weapon, and against a militant group that is not considered a threat as big as the resurgent Taliban.
President Ashraf Ghani voiced his support for the bombing, saying it was executed in coordination with Afghanistan's government and was "designed to support the efforts of the Afghan National Security Forces (ANSF) and U.S. forces conducting clearance operations in the region."
But some critics called the action "disproportionate."
IS has made inroads into Afghanistan in recent years, attracting disaffected members of the Pakistani and Afghan Taliban as well as Uzbek Islamists.