Beans generally grow in all types of soil, of which there are three basic types: loamy, sandy and clay. The best garden soils are those with a high ratio of loam to either sand or clay, mixtures that provide optimum drainage and aeration.
The soil particles in clay are small and become compacted when wet, allowing little water or air to pass through. Beans germinate slowly, and their roots have a difficult time penetrating the thick soil. While sandy soil is loose and workable, allowing plant roots to develop, it may not retain water long enough for it to be useful to the plants.
When growing beans in sandy or clay soils, either soil can be improved. Loosen and aerate clay soil by adding lots of organic matter such as compost or manure. Tighten sandy soils with the addition of rich loam that holds water well, but does not become soggy.