Among the victims, 25 were drowned, six were killed in house collapses, one by lightening strike and five were electrocuted, according to the Information Office of the municipal government.
Twenty-two of the bodies have been identified, it added.
The heaviest rain in six decades lashed the Chinese capital on Saturday, with the average precipitation reaching 170 mm while a township in the suburban district of Fangshan recording 460 mm of rain.
The downpours have submerged some power supply facilities and led to blackouts in parts of the city. -- Xinhua