Officials in the western city believe explosives were hidden in a motorcycle left in a parking area outside the Jama Masjid, a large mosque dating from the 12th century, known for its intricate blue tiles.
Abdul Ahad Walizada, spokesperson for Herat police, said at least seven people were killed and 15 wounded as they made their way to the mosque for prayers.
Last chance for peace, Afghan president warns Taliban
Near the border with Iran, Herat is one of Afghanistan's largest cities.
The attack came after a spate of violence in Afghanistan's capital, Kabul, where on Wednesday more than 150 people were killed and hundreds wounded in a suicide truck-bomb attack.
Several protesters were killed in clashes with police on Friday at the bomb site, and at least a dozen people were killed when suicide bombers attacked the funeral for one of the dead protesters on Saturday.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ