One bomber walked into a Shi'ite Muslim mosque in the capital Kabul as people were praying on Friday night and detonated an explosive, one of the worshippers there, Mahmood Shah Husaini, said.
At least 39 people died in the blast at the Imam Zaman mosque in the city's western Dasht-e-Barchi district, interior ministry spokesman Najib Danish said.
No group claimed responsibility. But Shi'ite Muslims have suffered a series of attacks in Afghanistan in recent months, many of them claimed by the Sunni Muslim militants of Islamic State.
Separately, a suicide bombing killed at least 33 people at a mosque in central Ghor province, a police spokesman said.
The attack appeared to target a local leader from the Jamiat political party, according to a statement from Balkh provincial governor Atta Mohammad Noor, a leading figure in Jamiat.
Again, no one immediately claimed responsibility.
(Additional reporting by Jalil Ahmad Rezaee in Herat; Writing by Josh Smith; Editing by Catherine Evans and Andrew Heavens)
(Except for the headline, this story has not been edited by NDTV staff and is published from a syndicated feed.)