The lifespan of basil depends on the surroundings you plant it in and how well you take care of it. It can survive for six months indoors without the threat of cold weather. It can live up to 4 to 5 months outdoors in warm and sunny conditions.