Cacti require well-draining soil to prevent water from pooling around their roots, which could lead to root rot. A good cactus soil mix usually contains organic material for nutrients and inorganic material for drainage, such as sand, perlite, or grit. You can buy commercial cactus soil mixes or make your own by combining regular potting soil with coarse sand and perlite.