Soups, Salads & Sides

Sweet Potatoes Recipe: Baked, Air Fryer, Casserole, and Marshmallow-Topped (4 Ways)

By Emily Hart• November 27, 2026• 19 min read
Pin it
Baked sweet potato, air fryer sweet potato cubes, and marshmallow sweet potato casserole on a wooden counter

One bag of sweet potatoes can turn into four very different dishes, and the first few minutes of prep are the same for all of them. This guide walks through a plain baked sweet potato, crisp air fryer cubes, a creamy sweet potato casserole, and the marshmallow-topped version, with the shared steps written once and every recipe branching off from there.

The baked sweet potato is the foundation. It works as a simple side on its own, and the same baked potatoes become the base for both casseroles. Baking them whole, instead of boiling cubes, keeps extra water out of the mash, which is what gives the casserole a thick, spoonable texture instead of a loose one. The air fryer recipe takes a different route: peeled cubes, a hot basket, and about 15 minutes.

Everything here uses ordinary kitchen equipment and no special technique. Each step names what the potatoes should look and feel like at that point, so you can check your own pan or dish against it instead of trusting the timer alone.

In this post

This sweet potatoes recipe covers four ways to cook them — baked, air fryer, casserole, and marshmallow-topped — with one shared prep.

Which Sweet Potato Recipe Should You Make?

RecipeMethodRoughly how longBest for
Baked sweet potatoesWhole, oven at 400°FAbout 1 hour 10 minutesA simple side or a base for other dishes
Air fryer sweet potatoes¾-inch cubes, 400°FAbout 35 minutesWeeknight sides, bowls, snacking
Sweet potato casseroleBaked, mashed, then baked againAbout 2 hoursHoliday tables, make-ahead sides
Marshmallow sweet potato casseroleSame casserole, marshmallow topping added lateAbout 2 hoursThe classic Thanksgiving-style version

Times depend heavily on potato size and your oven or air fryer, so treat them as planning estimates and rely on the doneness cues in each step.

Shared Prep for All Four Recipes

These three steps apply no matter which recipe you pick. If you plan to make a casserole, you can do them for all the potatoes at once and bake the whole batch together.

Step 1: Choose Sweet Potatoes That Will Cook at the Same Pace

Pick potatoes that are firm, with smooth skin and no soft spots, sprouts, or deep wrinkles. Try to grab potatoes that are close to the same size, because a 6-ounce potato and a 14-ounce potato in the same oven will not finish together.

Orange-fleshed varieties, the kind most US supermarkets sell as plain “sweet potatoes,” give the creamy, sweet mash these recipes are built around.

Medium sweet potatoes of similar size laid out on a wooden counter

How much to buy: Baked sweet potatoes need about 2 pounds (900 g), or four medium potatoes. The air fryer recipe needs 1½ pounds (680 g). Either casserole needs 3 pounds (1.4 kg). If you plan to make the casserole and the air fryer cubes on the same day, buy 4½ pounds (about 2 kg).

Step 2: Scrub the Skins Under Cool Running Water

Hold each potato under cool running water and scrub with a vegetable brush, working into the ridges where soil collects. Skin that will be peeled still needs scrubbing, since a peeler can drag surface dirt into the flesh.

Hands scrubbing a sweet potato with a vegetable brush under running water

Step 3: Dry Them Completely

Rub each potato dry with a clean kitchen towel. Dry skin roasts and wrinkles; wet skin steams, and a wet potato is also slippery under a knife or peeler, which makes the cutting steps in the air fryer recipe less safe.

Hands drying a scrubbed sweet potato with a linen towel

Recipe 1: Baked Sweet Potatoes

Prep: 10 minutes | Bake: 45 to 70 minutes, depending on size | Serves: 4

Ingredients

  • 4 medium sweet potatoes (about 8 ounces / 225 g each), scrubbed and dried
  • 4 teaspoons unsalted butter (1 teaspoon per potato), plus more to taste
  • ½ teaspoon fine salt, plus more to taste
  • Black pepper, optional

Equipment: rimmed baking sheet, parchment paper or foil, fork, sharp knife.

Baking the casserole base? Follow Steps 1 through 4 below with 3 pounds of potatoes, skip the butter and salt, and keep going with Recipe 3.

Step 1: Heat the Oven and Prick the Skins

Set a rack in the middle of the oven and heat to 400°F (200°C). Line a rimmed baking sheet with parchment or foil, because the syrup that leaks from the potatoes caramelizes and sticks hard to a bare pan.

Pierce each potato four to six times with a fork, going in about half an inch. The holes give steam a way out. An unpricked potato often bakes fine, but one that bursts leaves a sticky mess on the oven floor.

Hands pricking a dry sweet potato all over with a fork

Step 2: Arrange the Potatoes on the Sheet

Set the potatoes on the lined sheet with a little space between them so the hot air can circulate. If one end is much thinner than the other, place the thin end toward the back of the oven where it is slightly less exposed to the door’s heat loss.

Pricked sweet potatoes spaced out on a parchment-lined baking sheet

Step 3: Bake Until the Skins Wrinkle and Syrup Leaks Out

Bake for about 45 minutes for potatoes in the 6- to 8-ounce range, and closer to 55 to 70 minutes for larger ones. Around the halfway point you should see the skin start to loosen and wrinkle. By the end, dark, sticky syrup will have bubbled out of the holes and pooled on the parchment, which is a good sign that the sugars are caramelizing.

Baked sweet potatoes with wrinkled skins and caramelized syrup on the parchment

Step 4: Check the Center, Not the Clock

Slide a paring knife or skewer into the thickest potato. It should glide to the center with no resistance, like going into soft butter. A potato that still pushes back in the middle needs more time, so return the tray to the oven and check again in 10 minutes.

Paring knife sliding easily into a baked sweet potato

Why a firm center happens: The usual cause is size variation. The smaller potatoes finish first and the largest one stays hard in the middle. Pull the finished ones out and give the big one more time.

Step 5: Rest, Split, and Finish

Let the potatoes rest for 5 minutes. Cut a lengthwise slit along the top, then squeeze the ends toward each other so the flesh pushes up and opens. Fluff the inside with a fork, add a teaspoon of butter to each, and sprinkle with salt and, if you like, pepper.

Split baked sweet potato fluffed with a fork and butter melting inside

Recipe 2: Air Fryer Sweet Potatoes

Prep: 15 minutes | Cook: 12 to 15 minutes per batch | Serves: 4

Ingredients

  • 1½ pounds (680 g) sweet potatoes (about 3 medium), scrubbed and dried
  • 1½ tablespoons olive oil or another neutral oil
  • ½ teaspoon fine salt
  • ½ teaspoon smoked paprika
  • ¼ teaspoon garlic powder
  • ¼ teaspoon black pepper

Equipment: air fryer with a basket, vegetable peeler, cutting board, sharp knife, large bowl.

Start heating the air fryer to 400°F (200°C) while you prep. If your model has no preheat setting, run it empty for about 3 minutes.

Step 1: Peel the Sweet Potatoes

Peel each potato with a vegetable peeler, working away from your body. The skin is edible, so you can leave it on if you scrubbed well. Cubes with skin tend to come out a little chewier at the edges, and peeled cubes brown more evenly.

Hands peeling a dry sweet potato over a cutting board

Step 2: Cut Even ¾-Inch Cubes

Trim the ends, then slice the potato in half lengthwise and set each half flat-side-down so it does not roll. Cut into planks, then strips, then cubes about ¾ inch (2 cm) wide.

Size matters more than shape here. Cubes of different sizes finish at different times, so you end up with some burnt and some still hard. Cubes closer to 1 inch usually need to cook toward the longer end of the range or past it.

Sweet potato cut into even cubes on a wooden cutting board

Step 3: Oil, Season, and Toss

Put the cubes in a large bowl and add the oil, salt, smoked paprika, garlic powder, and pepper directly on top.

Sweet potato cubes in a white bowl with oil and spices sprinkled on top

Toss with your hands or a spoon until every cube looks glossy with no dry patches and no oil pooling at the bottom of the bowl. Too much oil leaves soggy cubes, and too little leaves pale, dry ones.

Seasoned sweet potato cubes evenly coated in oil and spices

Step 4: Load the Basket in a Single Layer

Spread the cubes across the basket in one layer, with minimal overlap. If your basket is under about 5 quarts, cook in two batches.

Seasoned sweet potato cubes spread in a single layer in an air fryer basket

Where the air fryer batch usually goes soft: Crowded cubes trap steam and turn tender and pale instead of browned. If the cubes are stacked more than two deep in places, split them into two batches. Keep the finished first batch warm on a plate while the second cooks.

Step 5: Air Fry at 400°F and Shake Halfway

Cook for 6 to 7 minutes. Pull the basket and shake it hard, or toss with tongs, so the cubes turn over and the bottom ones move to the top. Return the basket and cook another 6 to 8 minutes. Start checking at about the 10-minute mark in total, since sweet potato sugars brown fast and can scorch at the edges.

Air fryer sweet potato cubes at the halfway point with pale gold edges

Step 6: Test the Thickest Cube

The cubes are ready when the edges are browned and a fork slides into the biggest cube with no resistance. If they look done but the center still feels firm, return them for 1 to 2 minutes.

Fork piercing a browned air fryer sweet potato cube to test tenderness

Step 7: Season Again and Serve Right Away

Tip the cubes into a bowl and add a pinch of salt while they are still hot so it sticks. Serve straight away: they are crispest in the first few minutes and soften as they cool.

Crispy air fryer sweet potato cubes in a white serving bowl

Recipe 3: Sweet Potato Casserole

Prep: 25 minutes active, plus baking and cooling | Bake: 25 to 30 minutes | Total: about 2 hours | Serves: 6 | Dish: 8×8-inch (2-quart) baking dish

Ingredients

  • Baked sweet potatoes:
  • 3 pounds (1.4 kg) sweet potatoes (about 4 large or 5 medium), baked as in Recipe 1, Steps 1 to 4, and cooled slightly
  • For the filling:
  • 4 tablespoons (57 g) unsalted butter, melted, plus 1 teaspoon for the dish
  • ½ cup (about 105 g) light brown sugar, packed
  • ½ teaspoon ground cinnamon
  • ½ teaspoon fine salt
  • 1 teaspoon vanilla extract
  • ⅓ cup (80 ml) whole milk or half-and-half
  • 2 large eggs

Equipment: potato masher or hand mixer, large bowl, spatula, 8×8-inch baking dish, instant-read thermometer (optional).

Allergens present: dairy, eggs.

Turn the oven down to 350°F (175°C) once the potatoes are out.

Step 1: Scoop the Flesh Out of the Skins

Let the baked potatoes cool for 10 to 15 minutes, until you can handle them comfortably. Halve each one lengthwise and scoop the soft flesh into a large bowl with a spoon. Leave the skins behind.

Hands scooping soft orange sweet potato flesh from baked halves into a large white bowl

Step 2: Mash Until Mostly Smooth

Mash with a potato masher until you no longer see big chunks. A masher leaves a little texture, which suits a casserole; a hand mixer gives a smoother, more custardy result. If you find a stringy fiber, pull it out, since it will not break down in the oven.

Orange mashed sweet potato in a large bowl with a potato masher

Step 3: Mix In the Butter, Sugar, and Spices

While the mash is still warm, add the melted butter, brown sugar, cinnamon, salt, and vanilla.

Butter, brown sugar, cinnamon, and vanilla added on top of mashed sweet potato

Stir until the sugar dissolves and no streaks remain, then taste. Season now rather than after the eggs go in, because this is the last safe moment to taste the mix and adjust salt or sweetness.

Step 4: Let It Cool a Little, Then Add Milk and Eggs

Check that the mash is warm, not hot, before adding anything cold. The side of the bowl should feel comfortable on your hand. Pour in the milk, then add the eggs.

Milk and two eggs added to seasoned mashed sweet potato in the bowl

Eggs and hot mash don’t mix: If the mash is steaming hot, the eggs can set into small cooked bits as you stir, leaving the filling grainy. Waiting 5 to 10 minutes avoids that. If it has already happened, the filling is still safe to bake, but the texture will be less smooth.

Step 5: Stir Until the Mixture Is Thick and Smooth

Stir until the eggs disappear and the filling looks uniform. It should be thick and scoopable, holding a soft mound on the spoon. If it pours like batter, the potatoes were wetter than expected; if it feels stiff and dry, add one more tablespoon of milk.

Thick smooth sweet potato casserole filling held on a wooden spoon

Step 6: Fill the Dish

Grease an 8×8-inch baking dish with the remaining teaspoon of butter. Spoon in the filling and spread it to the corners with a spatula until the top is level and about 1 inch (2.5 cm) deep.

Sweet potato filling spread level in a buttered speckled gray baking dish

Step 7: Bake Until the Center Is Set

Bake at 350°F (175°C) for 25 to 30 minutes. The edges should look slightly puffed and begin to pull from the dish, and the center should not jiggle loosely when you nudge the pan. If you want to confirm with a thermometer, the center should read 160°F (71°C), which is the level food safety guidance gives for dishes made with eggs. If it reads lower, give it 5 more minutes and check again.

Baked sweet potato casserole with set center and lightly golden edges

Step 8: Rest Briefly and Serve

Let the casserole sit for 5 to 10 minutes so it firms up enough to scoop cleanly.

Spoonful of sweet potato casserole lifted from the baking dish

Recipe 4: Marshmallow Sweet Potato Casserole

Prep: same as Recipe 3 | Bake: 30 to 40 minutes total | Total: about 2 hours | Serves: 6 | Dish: 8×8-inch (2-quart) baking dish

This is the same casserole with one change: the marshmallows go on near the end, not at the start. Marshmallows brown fast, and if they bake for the full time they turn dark and tough long before the center sets.

Ingredients

Everything in Recipe 3, plus:

  • 2 cups mini marshmallows (enough to cover the surface in a single layer)

Most marshmallows contain gelatin, so they are not vegetarian. Check the label if that matters to your table.

Steps 1 to 6: Make the Casserole Filling

Follow Recipe 3, Steps 1 through 6, up to the point where the filling sits level in the buttered dish.

Step 7: Bake the Casserole Without Marshmallows First

Bake at 350°F (175°C) for 25 minutes. The surface should look set and slightly dull, and the center may still jiggle just a little. If the center still looks loose, bake 5 more minutes before the marshmallows go on.

Sweet potato casserole just out of the oven with the surface set and no topping yet

Step 8: Cover the Top With Marshmallows

Remove the dish from the oven and scatter the marshmallows over the surface in a single layer, edge to edge. A few small gaps are fine; they will puff and meet in the oven.

Mini marshmallows arranged in a single layer over the sweet potato casserole before baking

Step 9: Return and Watch Closely Until Golden

Bake another 5 to 10 minutes, until the marshmallows are puffed and golden brown in spots. Stay near the oven. Marshmallows go from golden to scorched quickly, and a dish that looks fine at 5 minutes can be burnt at 9.

Puffed golden brown marshmallows on top of baked sweet potato casserole

Marshmallows brown faster than you expect: If the edges darken while the middle stays pale, loosely tent the dish with foil for the last few minutes. For deeper color, a broiler-safe dish can go under the broiler, but keep it open and watch it the whole time. Broiled marshmallows can burn in seconds, and cold glass or ceramic dishes can crack under sudden direct heat, so only use a dish that is labeled broiler-safe.

Step 10: Rest, Then Scoop

Let the casserole rest for about 10 minutes. The marshmallow layer is molten at first and stretches into strings if you scoop too early. A spoon dipped in hot water, then dried, tends to release the topping more cleanly.

Spoon lifting a scoop of marshmallow sweet potato casserole showing the orange layer beneath

When Something Goes Wrong

The baked sweet potato is hard in the center. The potato needed more time, or one potato was larger than the others. Return it to the oven and check again in 10 minutes. A potato that was pulled out too early can be rescued, but a potato that was cut open raw will bake unevenly.

The air fryer cubes are soggy. The basket was likely crowded or the cubes were wet. Pat the cubes dry after cutting, cook in smaller batches, and shake more often. If they are already cooked and pale, a few extra minutes in a hot basket will usually brown the edges.

The casserole is loose in the middle. It needs more time, or the potatoes held extra water. Bake in 5-minute increments until the center is set. If you boiled the potatoes instead of baking them, drain them very well and let steam escape before mashing.

The casserole filling tastes flat. Salt and sweetness are easy to correct before the eggs go in, which is why Step 3 asks you to taste. After baking, a small pinch of flaky salt on top helps.

The marshmallows slid off or melted into the filling. They went on too early or the filling was too loose when they were added. Add them only when the surface is set, and keep the bake time after that short.

Substitutions and Variations

  • Milk: Half-and-half or heavy cream make the casserole richer. Unsweetened plant milk also works, with a slightly lighter richness.
  • Sugar: Dark brown sugar can replace light brown sugar in equal amounts and gives a more pronounced molasses flavor.
  • Butter: A plant-based butter can replace dairy butter, but the casserole still contains eggs, so it will not be vegan.
  • Marshmallows: Larger marshmallows can be halved and set cut-side down. Vegan marshmallows work if you need a gelatin-free option, though they may brown a little differently.
  • Pecan crunch instead of marshmallows: Mix ½ cup chopped pecans, ¼ cup light brown sugar, and 2 tablespoons melted butter, scatter over the casserole before baking, and bake as in Recipe 3.
  • Fresh vs. canned: These recipes are built for fresh baked sweet potatoes. Canned versions packed in syrup behave differently and would need the sugar adjusted.
  • Air fryer seasoning: Swap the smoked paprika for cinnamon and a little brown sugar for a sweeter side, or use chili powder for a spicier one.

Make-Ahead, Storage, and Reheating

Casserole, ahead of baking: The filling can be assembled in the dish, covered, and refrigerated for up to 2 days. Let it sit out for 30 minutes before baking, and add a few minutes to the bake time if the center is still cold. Keep the marshmallows off until the last 5 to 10 minutes.

Leftovers: Refrigerate within 2 hours of cooking, in a covered container. Keep leftovers for 3 to 4 days.

Reheating the casserole: Cover the dish loosely with foil and warm it in a 350°F (175°C) oven until hot throughout, usually 20 to 30 minutes for a full dish. Food safety guidance for leftovers is 165°F (74°C). Marshmallow topping does not hold its shape after refrigeration, so if you want a fresh topping, scrape the old one off and add new marshmallows for the final few minutes.

Reheating the air fryer cubes: Return them to the air fryer at 350°F (175°C) for 3 to 5 minutes, until hot and crisp again.

Freezing: The plain casserole can be wrapped well and frozen. Skip the marshmallows when freezing and add fresh ones when you reheat.

Raw sweet potatoes: Store them in a cool, dry, dark spot rather than the refrigerator, where the cold can give them a hard center and off flavor.

Sweet Potato Facts Worth Knowing

  • Yams and sweet potatoes are different plants. A true yam belongs to a different plant family and is rarely sold in US supermarkets. Cans and signs labeled “yams” are almost always orange-fleshed sweet potatoes.
  • The refrigerator is the wrong place for raw sweet potatoes. A cool pantry or cabinet preserves their texture better than a cold fridge.
  • Marshmallows usually contain gelatin. That is an animal-derived ingredient, so a marshmallow-topped casserole is not vegetarian unless you use a gelatin-free brand.

FAQ

Can I use leftover baked sweet potatoes for the casserole?
Yes. Scoop the flesh from cooled leftover baked potatoes and weigh out 3 pounds (1.4 kg) of whole potatoes before baking, or about 3½ cups of mash after.

Can I boil the potatoes instead of baking them?
You can, but boiled potatoes absorb water, which tends to make the filling looser. If you boil, drain well and let the pieces steam dry for a few minutes before mashing.

Can I cook whole sweet potatoes in the air fryer?
Yes. A medium potato weighing 7 to 12 ounces tends to take about 40 to 45 minutes at 400°F (200°C), and larger ones take longer. Use the same knife test as in Recipe 1, Step 4.

Do I need to peel sweet potatoes for the air fryer recipe?
No. The skin is edible if scrubbed well. Peeling gives a more even texture.

Why add the marshmallows at the end?
They brown quickly, and a full bake would burn them before the center of the casserole sets.

Recipe Cards

Emily Hart

Baked Sweet Potatoes

Prep Time 10 minutes
Cook Time 1 hour 10 minutes
Total Time 1 hour 20 minutes
Servings: 4

Ingredients
  

  • 4 medium sweet potatoes about 8 oz / 225 g each
  • 4 teaspoons unsalted butter
  • ½ teaspoon fine salt
  • black pepper optional

Method
 

  1. Heat the oven to 400°F (200°C) and line a rimmed baking sheet with parchment or foil.
  2. Prick each scrubbed, dried potato 4 to 6 times with a fork.
  3. Place the potatoes on the sheet with space between them.
  4. Bake 45 minutes for 6- to 8-ounce potatoes, or 55 to 70 minutes for larger ones, until the skins are wrinkled and a knife slides to the center with no resistance.
  5. Rest for 5 minutes, slit lengthwise, fluff, and top with butter and salt.
Emily Hart

Air Fryer Sweet Potatoes

Prep Time 15 minutes
Cook Time 15 minutes
Total Time 30 minutes
Servings: 4

Ingredients
  

  • 1½ lb (680 g) sweet potatoes
  • 1½ tablespoons olive oil
  • ½ teaspoon fine salt
  • ½ teaspoon smoked paprika
  • ¼ teaspoon garlic powder
  • ¼ teaspoon black pepper

Method
 

  1. Heat the air fryer to 400°F (200°C).
  2. Peel and cut the potatoes into ¾-inch (2 cm) cubes.
  3. Toss with the oil and seasonings until evenly coated.
  4. Spread in a single layer in the basket, cooking in two batches if needed.
  5. Cook 6 to 7 minutes, shake, then cook 6 to 8 minutes more until the edges are browned and a fork slides into the thickest cube.
  6. Season with a pinch of salt and serve right away.

Notes

Times are per batch; the comparison table’s ‘About 35 minutes’ includes preheating.
Emily Hart

Sweet Potato Casserole

Prep Time 25 minutes
Cook Time 30 minutes
Total Time 2 hours
Servings: 6

Ingredients
  

  • 3 lb 1.4 kg sweet potatoes, baked and cooled
  • 4 tablespoons 57 g melted unsalted butter plus 1 teaspoon for the dish
  • ½ cup about 105 g packed light brown sugar
  • ½ teaspoon cinnamon
  • ½ teaspoon fine salt
  • 1 teaspoon vanilla
  • ⅓ cup 80 ml whole milk or half-and-half
  • 2 large eggs

Method
 

  1. Bake the potatoes as in Recipe 1, then lower the oven to 350°F (175°C).
  2. Scoop the flesh into a large bowl and mash until mostly smooth.
  3. Stir in the melted butter, brown sugar, cinnamon, salt, and vanilla, then taste.
  4. When the mash is warm but not hot, stir in the milk and eggs until smooth.
  5. Spread into a buttered 8×8-inch dish, about 1 inch deep.
  6. Bake 25 to 30 minutes until the center is set (160°F / 71°C if checking). Rest 5 to 10 minutes.
Emily Hart

Marshmallow Sweet Potato Casserole

Prep Time 25 minutes
Cook Time 40 minutes
Total Time 2 hours
Servings: 6

Ingredients
  

  • 3 lb 1.4 kg sweet potatoes, baked and cooled
  • 4 tablespoons 57 g melted unsalted butter plus 1 teaspoon for the dish
  • ½ cup about 105 g packed light brown sugar
  • ½ teaspoon cinnamon
  • ½ teaspoon fine salt
  • 1 teaspoon vanilla
  • ⅓ cup 80 ml whole milk or half-and-half
  • 2 large eggs
  • 2 cups mini marshmallows

Method
 

  1. Make the casserole filling and spread it in the buttered dish (Recipe 3, Steps 1 to 6).
  2. Bake at 350°F (175°C) for 25 minutes, until the surface is set.
  3. Scatter the marshmallows over the top in a single layer.
  4. Bake 5 to 10 minutes more until puffed and golden, watching closely.
  5. Rest for about 10 minutes before scooping.

Serving and Planning Ideas

The baked sweet potato and the casserole share the same first hour in the oven, so on a holiday it makes sense to bake extra potatoes at once and use some for the casserole and some as a simple side. The air fryer cubes are easy to cook just before the meal while the casserole rests, since they only need about 15 minutes.

For the casserole, the two things that most decide the result are baking the potatoes whole instead of boiling them, and holding the marshmallows until the surface has set. Get those right, and the rest of the recipe is forgiving. Both casseroles keep their texture best when made a day or two ahead and baked fresh, with the marshmallows added at the end.

Share this recipe

Emily Hart

Recipe Creator

Hi, I'm Emily! I develop cozy, doable recipes for busy home cooks — clear steps, honest ingredients, and flavors the whole table will love. Follow on Pinterest

Follow on Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating




Pin it