Proper soil is the key element to growing onions successfully. The soil needs to be extremely well-drained—even sandy—but also needs to have a good deal of well-decomposed organic material in it. Onions prefer a slightly acidic to neutral pH—6.0 to 7.0.