Mastering the properties of ZnO nanowires grown by the low temperature chemical bath deposition (CBD) is of crucial importance but is still challenging. We show that the shape, dimensions, and doping of ZnO nanowires can simultaneously be tuned by the addition of aluminum nitrate in the standard chemical system using zinc nitrate, hexamethylenetetramine, and ammonia in aqueous solution. The formation and doping mechanisms of ZnO nanowires are thoroughly investigated by combining chemical, structural, and optical analyses with in situ pH measurements correlated with thermodynamic simulations. We reveal that the electrostatic interactions of Al(OH)<sub>4</sub><sup>–</sup> complexes with the positive <i>m</i>-plane sidewalls of ZnO nanowires...