Gluten-Free Pineapple Upside Down Cake (Moist & Easy)
This gluten-free pineapple upside down cake is the one I reach for when I want a dessert that nobody believes is gluten free. The cake stays tender and moist, with a glossy caramelized pineapple top that makes any weeknight feel a little more special.

Even if you’re new to gluten-free baking, this recipe is forgiving. The batter comes together quickly and the big flip at the end is pure kitchen magic.
Why This Gluten-Free Cake Works
The buttermilk and plenty of butter keep the crumb soft, so there is none of that dry, gritty texture some gluten-free cakes can have. You get a light, tender slice every time.
Baking the batter right on top of the pineapple and brown sugar creates a built-in gooey topping. The fruit steams into the cake as it bakes, adding extra moisture and that classic sticky finish.
I lean on a 1:1 gluten-free flour blend with xanthan gum already in it. That way the cake holds together just like a wheat flour version, and you do not need to hunt down any extra binders.
Ingredients

- 1 can (20 oz) pineapple rings, drained: Save the juice for another use, or brush a little on the cake after baking.
- 10 maraschino cherries: Totally optional, they just bring that vintage look.
- 1/4 cup unsalted butter, melted (for topping): You can use salted butter too, just skip the pinch of salt later.
- 1/2 cup packed brown sugar: Light or dark both work; dark gives a deeper caramel note.
- 1/2 cup unsalted butter, softened (for cake): Set it out 30 minutes ahead so it creams smoothly.
- 3/4 cup granulated sugar: White sugar keeps the cake light and lets the pineapple flavor shine.
- 2 large eggs, at room temperature: Cold eggs can make the batter seize; let them sit on the counter for 20 minutes.
- 1 1/2 cups gluten-free all-purpose flour blend (with xanthan gum): I use Bob’s Red Mill 1-to-1; any blend containing xanthan gum will work.
- 1 1/2 tsp baking powder: Check your blend’s label, some already include leavening. If yours does, reduce to 1 tsp.
- 1/4 tsp salt: Just a pinch if you used salted butter earlier.
- 1/3 cup buttermilk: No buttermilk? Stir 1 tsp lemon juice or vinegar into 1/3 cup whole milk and let it sit 5 minutes.
- 1 tsp vanilla extract: The real stuff makes a difference here.
Variations / Substitutions
- Fresh pineapple: Slice ripe fresh pineapple into 1/2-inch rings and pat them very dry with paper towels. The topping may be just a touch less syrupy, so reduce the brown sugar to a scant 1/3 cup if your fruit is super sweet.
- Peach upside down cake: Swap the pineapple for well-drained canned peach halves. Keep everything else the same for a summery twist.
- Dairy-free: Use a plant-based butter that’s at least 70% fat for the topping and the cake. Replace the buttermilk with 1/3 cup unsweetened oat or almond milk plus the same lemon juice trick.
- No cherries: Leave them out without changing a thing. The cake is beautiful with just the pineapple rings and dark caramel.
If you like this, you might also enjoy a classic Gluten Free Banana Bread when you have ripe bananas on the counter.
How to Make Gluten-Free Pineapple Upside Down Cake
Step 1: Arrange the Pineapple Topping

Heat your oven to 350°F (175°C). While it warms, pour the 1/4 cup melted butter into a 9-inch round cake pan. Swirl it so the bottom is evenly coated. Sprinkle the 1/2 cup brown sugar over the butter, then gently press it into an even layer.
Now place the pan in the oven for 2 to 3 minutes, just until the butter melts completely and the sugar begins to dissolve. You are not making a sauce here, just warming it so the sugar starts to melt into the butter. Carefully remove the pan and place it on a cooling rack.
Arrange the pineapple rings on top of the sugar mixture, fitting as many as you can. A single layer of 7 or 8 rings works well. Tuck a cherry in the center of each ring if you are using them. The pan will look glossy and sweet, and the fruit will settle slightly into the warm sugar.
Step 2: Cream the Butter and Sugar

In a big bowl, beat the 1/2 cup softened butter and the 3/4 cup granulated sugar with a hand mixer or stand mixer on medium speed. Keep going for about 2 minutes, until the mixture turns pale and feels fluffy when you scrape the bowl. Scrape down the sides a couple of times so everything blends evenly.
Add the 2 eggs one at a time, beating well after each addition. The batter might look a little curdled after the first egg, that is normal. It will smooth out once the second egg and the vanilla go in.
Beat in the 1 tsp vanilla extract just until mixed. The bowl now holds a light, creamy base that smells like sweet butter and vanilla.
Step 3: Mix in the Wet and Dry Ingredients

Whisk the 1 1/2 cups gluten-free flour blend, the 1 1/2 tsp baking powder, and the 1/4 tsp salt together in a separate small bowl. With the mixer on low, add about a third of the flour mixture to the butter mixture. Then pour in half of the 1/3 cup buttermilk. Keep alternating, starting and ending with the flour, and mixing only until the white streaks disappear. This whole process takes about 30 seconds once you start.
The batter will be thick and smooth, with a soft ribbon texture when you lift the beaters. Overmixing is the biggest mistake with gluten-free batters, it makes the cake tough. Stop right when it looks combined, even if a few small lumps remain.
Step 4: Spread and Bake the Batter

Spoon the batter right over the pineapple in the pan. Use an offset spatula or the back of a spoon to spread it carefully to the edges. The batter will feel a little sticky, so work gently so you do not disturb the fruit underneath.
Bake at 350°F for 40 to 45 minutes. The cake is done when a toothpick inserted into the center comes out clean or with a few moist crumbs, and the edges start pulling away from the sides of the pan. The top will be golden brown and spring back lightly when you press it.
You might see a little caramel bubbling up around the edges. That is a good sign, it means the topping is thick and sticky. Let the cake cool in the pan on a wire rack for exactly 10 minutes. Any longer and the sugar may start to harden, making the flip tricky.
Step 5: Invert and Slice the Cake

Run a butter knife around the edges of the pan to loosen the cake. Place a serving plate or a large platter upside down over the top of the pan. Hold them together firmly with both hands, then flip the whole thing over in one quick motion. Lift the pan straight up, and the cake should release cleanly onto the plate.
Shift any pineapple rings or cherries that stick to the pan back onto the cake. The top will be a glossy layer of caramel-coated fruit with bright pops of red from the cherries.
Slice it while it is still warm, and the pineapple will be soft and the cake tender underneath. The kitchen will fill with that sweet, buttery pineapple smell that somehow feels like a celebration, even on a Tuesday.
A Few Notes Before You Start
- Room temperature ingredients matter: Cold butter or eggs can make the batter curdle, and the cake may bake up denser. Pull them from the fridge 30 minutes ahead.
- Pick the right flour: Stick with a 1:1 gluten-free blend that lists xanthan gum. Coconut flour or almond flour will not work here, the cake needs the structure of a blend with starches and gums.
- Do not skip the 10-minute rest: Letting the cake cool that short time lets the fruit set just enough so it does not slide off when you invert it. Any longer and the sugar can become too firm.
- Flip with confidence: Hold the plate and pan together tightly, and commit to the flip. Hesitating halfway can cause the topping to drip. It is easier than it looks.
- Extra caramel bits: If any brown sugar mixture sticks in the pan, scrape it out with a spatula and spoon it right over the pineapple. Those thick, chewy edges are the best part.
Bake times by pan size:
| Pan Size | Bake Time |
|---|---|
| 8-inch round | 45 to 50 mins |
| 9-inch round | 40 to 45 mins |
| 9×13-inch pan | 35 to 40 mins |
Storing Leftover Cake
- Refrigerate: Cover the cake tightly and store it in the fridge for up to 4 days. The cool temperature firms up the crumb and the topping stays sticky.
- Reheating: Warm individual slices in the microwave for 20 to 30 seconds. A quick heat softens the caramel and brings back that just-baked feel.
What to Serve with Gluten-Free Pineapple Upside Down Cake
A scoop of vanilla ice cream is the classic move. The cold, creamy thing against the warm, sticky cake and soft fruit makes each bite feel balanced and a little indulgent. Coconut whipped cream works beautifully too, its subtle sweetness echoes the tropical pineapple without competing. For a lighter finish, a big spoonful of plain yogurt or a dollop of lightly sweetened mascarpone cuts through the caramel and keeps things fresh.
Frequently Asked Questions
Can I use fresh pineapple instead of canned?
Yes, you can. Slice fresh pineapple into rings about 1/2 inch thick and pat them very dry with paper towels. The cake may not be quite as syrupy on top, so it is fine to reduce the brown sugar slightly if your fruit is very ripe and sugary.
What gluten free flour works best?
A 1:1 all-purpose blend with xanthan gum already mixed in works best. I use Bob’s Red Mill 1-to-1, but Cup4Cup or King Arthur Measure for Measure are also reliable. Do not swap in a single grain flour like oat or buckwheat, the texture will turn out gummy or dense.
Can I make this dairy free?
Absolutely. Use a plant-based butter with at least 70% fat for both the melted topping and the creamed cake butter. Replace the buttermilk with 1/3 cup unsweetened oat milk stirred with 1 teaspoon lemon juice and left to sit for 5 minutes.
Can I skip the cherries?
Yes, you can leave them out entirely. The cake still looks gorgeous with just the caramelized pineapple rings, and the flavor does not change at all.
Why did my cake stick to the pan?
Usually the pan did not get that quick oven warm-up in Step 1, or the cake cooled too long before flipping. Warming the butter and sugar together creates a slick, saucy base that releases easily after a 10-minute rest. If you wait longer, the sugar hardens and grabs onto the pan.

Gluten-Free Pineapple Upside Down Cake Recipe
Ingredients
Method
- Heat oven to 350°F. Pour melted butter into a 9-inch round cake pan, swirl, then sprinkle with brown sugar. Place in the oven for 2 to 3 minutes until warmed and sugar begins to dissolve. Arrange pineapple rings and optional cherries on top.
- Beat softened butter and granulated sugar on medium until pale and fluffy, about 2 minutes. Add eggs one at a time, then vanilla, beating after each.
- Whisk flour, baking powder, and salt. With mixer on low, add flour mixture to butter mixture in three additions, alternating with buttermilk in two additions. Mix just until combined.
- Spread batter gently over pineapple. Bake 40 to 45 minutes until a toothpick comes out clean. Cool in pan on a rack for 10 minutes.
- Run a knife around the edge, invert onto a plate, and lift off the pan. Replace any stuck fruit and serve warm.
