This species will occur on light sandy soils and loams to and heavy clay soils and will tolerate acid, neutral and basic or even highly alkaline soils. It is intolerant of shade and typically grows in moist places such as ditches, streams, and riverbanks, growing best in well drained soils where abundant moisture is available. It will generally survive where planted, even at high altitudes and drier habitats, however under these conditions it may remain stunted.