The ideal pH for onions and garlic is between 6.0 and 7.0. This pH level provides the right balance of essential nutrients for healthy growth and development, and will help your onions and garlic grow healthy and strong.