International audienceZnO nanowires grown by chemical bath deposition (CBD) are of high interest, but their doping with extrinsic elements including gallium in aqueous solution is still challenging despite its primary importance for transparent electrodes and electronics, and for mid-infrared plasmonics. We elucidate the formation mechanisms of ZnO nanowires by CBD using zinc nitrate and hexamethylenetetramine as standard chemical precursors, as well as gallium nitrate and ammonia as chemical additives. A complete growth diagram, revealing the effects of both the relative concentration of gallium nitrate and pH, is gained by combining a thorough experimental approach with thermodynamic computations yielding theoretical solubility plots as w...