The explosion happened in the city of Parachinar, a mainly Shia Muslim area on the Afghan border.
Reports say a car packed with explosives was left near the women's entrance of the mosque as people gathered for Friday prayers.
The Pakistani Army has sent a helicopter to help take the injured to hospital.
A doctor at a local hospital said an appeal was being made for blood donors to help treat the wounded.