Huili is situated in southern Sichuan and is the southernmost division of the Liangshan Prefecture, bordering Sichuan's
Panzhihua City and
Yunnan. The county-level city seat has an elevation of about , although elevations range from along the
Jinsha River to at
Mount Beimu (). Huili was severely affected by the
2008 Panzhihua earthquake. Due to its southerly location in Sichuan and high elevation, Huili has a
subtropical highland climate (
Köppen Cwb), with mild, very sunny and dry winters, and very warm, rainy summers. The monthly 24-hour average temperature ranges from in January to in June, and the annual mean is . Over 60% of the annual precipitation occurs from June to August. With monthly percent possible sunshine ranging from 34% in July to 72% in February, the county-level city seat receives 2,348 hours of bright sunshine annually. ==References==