Rosemary grows best in soils that are well drained and slightly alkaline. However, rosemary will tolerate growing in poor soils as well, as long as the position it is in is not too windy or scorching hot.