If you provide a few key growing conditions, basil is one of the least picky plants around. The biggest things this fast-growing herb needs are full sun, warm temperatures, well-draining soil, and deep watering (as long as the soil doesn’t get soggy). Water basil whenever the top 1-2 inches of soil feel dry. Use mulch to regulate the soil and suppress weeds.
You should watch for aphids on indoor basil plants, and slugs or Japanese beetles on outdoor plants. Drive them off with appropriate pesticides or a homemade mix of water and dish soap. Fruit flies and root rot indicate soil overwatering. Common diseases are downy mildew, impatiens necrotic spot virus, gray mold and fusarium wilt. Overcrowding increases the risk of these diseases.