AbstractRisk analysis of urban flood and drought can provide useful guidance for urban rainwater management. Based on an analysis of urban climate characteristics in 2,264 Chinese cities from 1958 to 2017, this study evaluated urban flood and drought risks. The results demonstrated that the annual average values of precipitation, aridity index, frequency and intensity of extreme precipitation and extreme drought events differed significantly in these cities. The values of the above six climatic indicators in the cities ranged from 9.29–2639.30 mm, 0.47–54.73, 1.08–8.79 time, 7.82–107.25 mm, 0.76–2.99 time, and 10.30–131.19 days, respectively. The geographical patterns of urban precipitation, aridity index, intensity and frequency of extreme precipitation and drought events in China fit well to the Hu‐Huanyong Line that was created in 1940s to identify the pattern of population distribution. Extreme precipitation in most cities has upward trends, except for those around the Hu‐Huanyong Line. The extreme drought events had upward trends in the cities east of the Hu‐Huanyong Line, but there were downward trends in the cities west of the line. The risk assessment indicated that 3.80% cities were facing serious flood and 6.01% cities were facing serious drought risks, which are located in the coast of southern China and northwestern China, respectively, and other 90.19% cities were facing different types of drought and flood risks in terms of their intensity and frequency.