Basil can be grown in gardens or in containers, but it needs warmth to thrive. It can be grown outside in a garden, inside in a container indoors, or can be transferred from one to the other.
Temperature extremes can often affect basil leaves. If the plant gets too cold or too wet, it can develop black spots on the foliage. If this happens, move the plant to a warmer, sunnier location or use a warming lamp.
Black spots on a basil plant can also be caused by a fungus called Colletotrichum, commonly referred to as "black spot disease." This fungus thrives in wet, damp climates and on plants that are overwatered or whose leaves do not dry thoroughly after being watered. To prevent this disease, use a fungicide regularly and keep basil foliage as dry as possible