The heaviest rain storm in 60 years to hit the Chinese capital has killed at least ten people and caused widespread chaos.
Streets were flooded and 80,000 people were stranded at the city's main airport.
The storm started on Saturday afternoon and continued late into the night.
The Beijing city government said on its official website that at least 37 people had died, saying 25 drowned, six were crushed in collapsing homes, five electrocuted and one struck by lightning.
Chinese media said other deaths were caused by electric shocks from downed power lines and drowning without giving an exact breakdown.
More than 500 flights were cancelled at Beijing's Capital International Airport, the Beijing News said.
However, the subway system was largely unaffected, aside from being swamped with people desperate to get home and unable to use cars, buses or taxis.
The city received about 170mm of rain on average, though a township in Fangshan District to Beijing's west was hit by 460mm of rain.
Questions are being raised about whether the city's push for modernisation came at the expense of basic infrastructure such as drainage networks.
Rescuers are still searching buildings that collapsed during Saturday night's torrential downpour and some roads that were covered in waist-deep water remain closed.