How Long Do You Cook Eggplant In The Oven

This post contains affiliate links. As an Amazon Associate I earn from qualifying purchases. If you click a link and make a purchase, I may receive a small commission at no extra cost to you.

You can cook eggplant in the oven for about 20 to 35 minutes, depending on how you cut it and what texture you’re after.
 
If you’re roasting cubes or slices, 20 to 25 minutes at 400°F usually does the trick.
 
For a whole eggplant, you’ll need closer to 35 to 45 minutes so the inside gets soft and creamy.
 
The good news is that learning how long to cook eggplant in the oven isn’t complicated once you know a few simple rules.
 
In this post, we’ll break down exactly how long to cook eggplant in the oven, the best temperatures to use, and a few tips so it comes out perfectly every time.
 
Let’s get into it.
 

How Long Do You Cook Eggplant in the Oven?

The answer to how long do you cook eggplant in the oven mostly comes down to the size and style of your cut.
 
Here’s a quick breakdown so you can plan your cooking time with confidence.
 

1. Cubed Eggplant: 20 to 25 Minutes

If you cut your eggplant into one-inch cubes, they’ll cook in about 20 to 25 minutes at 400°F.
 
Toss them with olive oil, salt, and pepper, spread them in a single layer, and give the pan a shake halfway through.
 
This is the fastest way to cook eggplant in the oven and it’s perfect for pasta, salads, or grain bowls.
 

2. Sliced Eggplant: 25 to 30 Minutes

Slices that are about half an inch thick need roughly 25 to 30 minutes at 400°F.
 
Flip them once so both sides get that nice golden edge.
 
Sliced eggplant works great for eggplant parmesan or layered casseroles.
 

3. Halved Eggplant: 30 to 40 Minutes

Cut your eggplant in half lengthwise, score the flesh, and roast it cut-side up.
 
This takes about 30 to 40 minutes, and the flesh turns soft and scoopable.
 
It’s ideal for baba ganoush or a simple side dish.
 

4. Whole Eggplant: 35 to 45 Minutes

A whole eggplant takes the longest to cook in the oven, usually 35 to 45 minutes.
 
Prick it a few times with a fork so steam can escape, then roast it on a lined baking sheet.
 
When it’s done, the skin will look wrinkled and the inside will collapse easily when you press it.
 

What Temperature Should You Roast Eggplant At?

The sweet spot for roasting eggplant is 400°F.
 
This temperature gives you a nice caramelized exterior without drying out the inside.
 
If you’re in a hurry, you can push it to 425°F and shave a few minutes off the cooking time.
 
Just keep an eye on it so it doesn’t burn.
 
For a slower, softer result, 375°F works well too, though it’ll take a bit longer.
 

1. Why 400°F Works Best

At 400°F, the eggplant’s natural sugars start to caramelize while the flesh steams from the inside.
 
This is why so many recipes for how long to cook eggplant in the oven default to this temperature.
 

2. Lower Heat for Softer Texture

If you want really creamy, melt-in-your-mouth eggplant, go with 375°F and roast it a little longer.
 
The slower cook gives the fibers more time to break down.
 

Tips for Cooking Eggplant in the Oven

Getting the timing right is only half the battle.
 
These tips will help you nail it every time.
 

1. Salt It First

Sprinkle salt on your cut eggplant and let it sit for 30 minutes.
 
This draws out excess moisture and bitterness, so the final dish tastes better and doesn’t get soggy.
 

2. Don’t Skimp on the Oil

Eggplant soaks up oil like a sponge because of its porous texture.
 
Brush or toss your pieces generously so they roast instead of drying out.
 

3. Spread Them Out

Crowding the pan steams the eggplant instead of roasting it.
 
Use a large sheet pan and give each piece some breathing room.
 

4. Flip Halfway Through

Turning your eggplant once during cooking helps both sides brown evenly.
 
This small step makes a big difference in how long you cook eggplant in the oven and how good it turns out.
 

5. Check for Doneness

The best way to know your eggplant is done is to pierce it with a fork.
 
If it goes in with no resistance, it’s ready.
 
If it still feels firm, give it another 5 minutes and check again.
 

So, How Long Do You Cook Eggplant in the Oven?

You cook eggplant in the oven for 20 to 45 minutes, depending on whether it’s cubed, sliced, halved, or whole.
 
The trick is matching your cooking time to your cut and roasting at 400°F for the best results.
 
Salt it first, use enough oil, and spread the pieces out so they roast instead of steam.
 
Once you know how long to cook eggplant in the oven, it becomes one of the easiest and most versatile veggies to prepare.
 
Hope this post has helped you figure out exactly how long to cook eggplant in the oven so your next batch comes out perfectly tender every single time.