St. John’s wort does best in a spot with full sun and well-drained soil. It’s a forgiving plant that tolerates poor, rocky ground and dry conditions, but choosing the right location matters because some species spread aggressively and the plant is toxic to certain livestock. Here’s how to pick the best site.
Sunlight: Full Sun for the Most Blooms
St. John’s wort needs at least six hours of direct sunlight per day to produce its characteristic yellow flowers. It can handle partial shade (two to six hours of sun), and it will survive in light woodland conditions, but flower production drops noticeably with less light. If you’re growing it for its blooms or for herbal use, pick the sunniest bed you have.
South-facing or west-facing spots in the garden are ideal. Avoid planting it under tree canopies or on the north side of buildings where it would sit in shadow for most of the day.
Soil Type and Drainage
This plant is not fussy about soil. It thrives in dry, rocky ground and adapts to a range of moisture levels, from dry to moderately moist. The one thing it doesn’t love is sitting in waterlogged soil for extended periods, so raised beds or sloped areas work well if your yard has heavy clay.
A neutral pH around 6.8 to 7.2 is ideal, and it performs especially well in alkaline, limestone-rich (calcareous) soils. That said, St. John’s wort is pH-adaptable, so you don’t need to amend your soil unless it’s extremely acidic. Sandy loam, gravelly soil, or even compacted ground along a driveway will do.
Best Spots in the Landscape
Where you place St. John’s wort depends on which species you’re growing. The common variety (Hypericum perforatum) is an upright perennial that works well in herb gardens, cottage-style borders, and wildflower meadows. It blooms in June or July and pairs naturally with other sun-loving perennials.
The low-growing groundcover type (Hypericum calycinum) reaches about 12 inches tall and spreads to roughly 24 inches wide. It’s a strong choice for slopes, banks, and areas where you want to suppress weeds or control erosion. Its spreading habit, driven by underground runners called stolons, means it fills in bare ground quickly. Plant it along a retaining wall, at the front of a border, or on a hillside that’s hard to mow.
For even smaller spaces, some native species like low St. Andrew’s cross (Hypericum suffruticosum) grow only 2 to 6 inches tall, making them suitable for rock gardens or the edges of pathways.
Spacing Between Plants
For groundcover varieties like H. calycinum, spacing plants about 18 to 24 inches apart allows them to fill in within one to two growing seasons. The stoloniferous roots will knit together to form a dense mat. For the taller common St. John’s wort, give each plant about 12 to 18 inches of room, since it grows more upright and less aggressively sideways.
Check Invasive Status in Your State
Common St. John’s wort (H. perforatum) is classified as a noxious weed in seven U.S. states. It was introduced from Europe, and while it doesn’t tend to invade undisturbed native habitat, it can become dominant in disturbed areas like roadsides, overgrazed pastures, and cleared land. It’s considered potentially invasive in prairies, mountain grasslands, and several forest types including oak-hickory, oak-pine, and maple-beech-birch ecosystems.
Before planting the common species, check your state’s noxious weed list through your local cooperative extension office or state agriculture department. If H. perforatum is restricted in your area, look for native Hypericum species instead. Shrubby St. John’s wort (Hypericum prolificum), for example, is native to eastern North America and offers similar yellow blooms without the invasive risk.
Keep It Away From Livestock
If you have animals or live near grazing land, site selection requires extra caution. St. John’s wort contains compounds that cause severe photosensitivity in livestock, a condition called hypericism. When animals eat the plant and then are exposed to sunlight, they develop painful skin lesions, particularly on light-colored or unpigmented skin.
Young cattle and sheep are affected most often, but nearly all white-skinned cattle, sheep, and horses are at risk. Cows can develop severe lesions on their udders and teats, and recently sheared sheep are especially vulnerable because their exposed skin absorbs more UV light. White-skinned cattle react more severely than white-skinned sheep.
There’s no established safe distance, so the simplest approach is to plant St. John’s wort in a fenced garden area that livestock cannot access. If your property borders open rangeland, choose a spot well away from fence lines where animals might browse.
Containing Spread in Garden Beds
Even in a home garden where invasiveness isn’t a legal concern, common St. John’s wort can outcompete neighboring plants if left unchecked. Planting it inside a root barrier, in a raised bed with solid walls, or in containers gives you control. Deadheading spent flowers before they set seed also reduces self-seeding significantly.
The groundcover varieties spread by underground runners rather than seed, so a buried edging material 6 to 8 inches deep around the planting area helps keep them from creeping into adjacent beds or lawn areas.

