The eggplant will need about 20 minutes in the oven, but watch it closely near the end of the cooking time to make sure it's not getting too dark in color. And make sure not to crowd the baking sheet, otherwise you run the risk of cooking the eggplant unevenly.