Plant groundnuts in sandy, well-draining soil with full sun. Sow seeds 1–2 inches deep and 6 inches apart in rows 24–36 inches apart. Water regularly and keep soil weed-free. The best time to grow groundnuts is late spring to early summer, after the last frost.