Plant yarrow in full sun, with at least 6 hours of direct sun a day. In part shade, plants grow leggier and are more likely to fall over. Yarrow does best in lean, well-drained soil and tolerates poor soil as long as water drains away. Rich or wet soil makes the stems flop, and soil that stays wet can lead to root rot. Where strong winds are common, a sheltered spot helps keep stems upright.
Space plants 1 to 2 feet apart, depending on the variety. Common yarrow spreads by underground rhizomes and by seed and can fill in a large patch if left unchecked, so give it room. Yarrow tolerates hot, humid summers, but it performs best where summers are cooler; in zones 7b to 9, plants often melt out during hotter summers.
Plant in spring after the danger of frost has passed. Loosen the soil, and lightly mix in organic matter only if needed to improve drainage. Dig a hole slightly deeper and twice as wide as the root ball, tease out circling roots, set the crown level with the surrounding soil, backfill, firm lightly and water well. Wear gloves when handling yarrow, since the foliage and sap can irritate some people's skin, and site it away from where pets spend time.