Salinity from irrigation can occur over time wherever irrigation occurs, since almost all water (even natural rainfall) contains some dissolved salts. When the plants use the water, the salts are left behind in the soil and eventually begin to accumulate. This water in excess of plant needs is called the leaching fraction.  Salination from irrigation water is also greatly increased by poor drainage and use of saline water for irrigating agricultural crops.
Salinity in urban areas often results from the combination of irrigation and groundwater processes. Irrigation is also now common in cities (gardens and recreation areas).