Afghan forces have taken back Darqad district of Takhar in the north of the country and killed 30 Taliban militants, Afghanistan Defence Ministry said on Sunday.
The Afghan Interior Ministry said there were no casualties among security forces during the attack.
After the clash, security forces seized vehicles and weapons that belonged to fighters.
The defence ministry said, "A clearance operation is going on and the situation is under control."
The incident is a welcome piece of good news for Afghan forces, which have clashed against the spreading Taliban rebellion for many years.
The Taliban temporarily seized the northern Afghan city of Kunduz and have dominated large parts of the southern province of Helmand, where the US army has carried out air attacks and deployed its special forces to support badly pinched Afghan soldiers and police.
The Taliban ruled Afghanistan before a US-led coalition occupied the country and helped form a new government in 2001, following the September 11 attacks.
Even though the Taliban lost the country's control following the US invasion in 2001, it was able to regain some districts between 2005 and 2009.
The group has fought against the Afghan government forces reinforced by NATO since 2001 and has recently intensified its attacks.