In terms of precipitation, rainfall in Mexico City ranges from 0.0 - 4.7 inches per month. July is typically the wettest month, when rainfall can reach 4.7 in. January is typically the driest time to visit Mexico City when rainfall is around 0.0 in.
If weather is an important factor for your trip to Mexico City, use this chart to help with planning. For those seeking warmer temperatures, May is the ideal time of year to visit, when temperatures reach an average of 66.2 F. Travelers looking to avoid the cold should look outside of January, when temperatures are typically at their lowest (around 55.4 F).