Cilantro prefers full sun to partial shade. It can tolerate some shade, especially during hot afternoons. In hot climates, cilantro benefits from some afternoon shade to prevent bolting (prematurely producing seeds) and to maintain its flavor.