Hospital authorities in Herat said all the dead and wounded were worshipping in the mosque when a suicide bomber blew himself up.
Abdulhai Walizada, a local police spokesman, said there appeared to be more than one attacker, with a suicide bomber who detonated explosives and another who threw grenades at worshippers.