Plant mint in full sun to part shade. Peppermint types are often most productive in full sun, yet they also do well in shadier sites with at least 3 hours of direct sun a day. Mint grows best in rich, moist soil with plenty of organic matter that still drains well, and it tolerates a wide range of soils. Peppermint types adapt to most soils except dry ones and do best at a pH of 6.0 to 7.0.
Mint spreads aggressively by underground runners and can take over a garden, so choose its spot before planting. The easiest way to keep it in bounds is a container 12 to 16 inches wide, a raised bed, or a bed of its own. You can also sink a bottomless pot into the ground with the rim 1 to 4 inches above the soil and the sides reaching 10 to 15 inches deep, so runners that creep over the rim can be seen and cut off before they root. A sunk pot does not always hold mint, so keep watching for runners that escape.
Plant early in the growing season. In the ground, space peppermint types about 18 inches apart.