Rosemary can tolerate moderate shade but should not be grown in complete shadow since it will not flourish. This plant thrives in full sun (six or more hours of direct sunlight), but it may also be grown in partial shade (two to six hours of direct sunlight) as long as the soil is well-drained and there is enough air circulation. Full sun is ideal for this plant.