Moringa is resistant to most pests. In very water-logged conditions, Diplodia root rot can occur. In very wet conditions, seedlings can be planted in mounds so that excess water is drained off. Cattle, sheep, pigs and goats will eat Moringa seedlings, pods and leaves. Protect Moringa seedlings from livestock by installing a fence or by planting a living fence around the plantation. A living fence can be grown with Jatropha curcas , whose seeds also produce an oil good for soap-making. For mature trees, the lower branches can be cut off so that goats will not be able to reach the leaves and pods. Termites can be a problem, especially when cuttings are planted.