Rice Bars Recipe: Vanilla-Creamed Layers With Crunchy Coconut Topping

Desserts

Rice Bars Recipe: Vanilla-Creamed Layers With Crunchy Coconut Topping

This rice bars recipe delivers layers of creamy vanilla custard between fluffy rice, all topped with a buttery coconut crunch that makes every bite irresistible. I developed this version after years of testing—balancing texture, sweetness, and that perfect ratio of soft to crispy.

The secret lies in the custard layer, which binds everything together while keeping the rice distinct and tender.

What sets these apart is the two-stage baking process: first baking the rice mixture until just set, then adding the custard and topping for a final crisp. This ensures your rice stays light and fluffy while the coconut topping achieves that satisfying crunch.

The recipe uses simple ingredients but delivers restaurant-quality results with minimal effort—just 30 minutes of prep and 40 minutes in the oven.

By the time they come out of the oven, you'll have golden layers of vanilla custard peeking through the rice, all crowned with a caramelized coconut topping that shatters at every bite.

These bars stay fresh for days, making them perfect for meal prep or gifting. The flavor combination is so addictive, you'll want to keep a batch on hand at all times.

While this version uses dairy, I've included a simple vegan adaptation in the tips section—just swap the butter and milk for coconut oil and almond milk. Whether you're serving them at a holiday gathering or enjoying a quiet dessert night, these rice bars never disappoint.

👨‍🍳
Difficulty
Medium
🔥
Calories
Med Cal

Ingredients for rice bars

Simple ingredients that transform into restaurant-style rice bars with creamy custard and crunchy coconut topping.

Ingredient Amount Notes
Long-Grain White Rice 🍚 2 cups Uncooked, jasmine or basmati preferred
Unsalted Butter 🧈 ¾ cup Cold, cut into small cubes
Whole Milk 🥛 1 ½ cups Full-fat for creamiest custard
Granulated Sugar 🍚 1 cup White or light brown
Vanilla Extract 🌿 2 tsp Pure, high-quality extract
Large Eggs 🥚 2 whole Room temperature, separated
Egg Yolks 🍳 2 whole From separated eggs
Unsweetened Shredded Coconut 🥥 1 ½ cups Freshly grated preferred
Toasted Coconut Flakes 🥥 ½ cup For extra crunch
Powdered Sugar 🍚 ¼ cup For dusting top
Salt 🧂 ½ tsp Fine sea salt
Vanilla Sugar 🌿 1 tbsp Optional for extra flavor
Cornstarch 🍚 1 tbsp For rice texture

The rice is the foundation—jasmine or basmati stays fluffier than long-grain. I grab mine from Trader Joe's in the bulk bins, but any store's white rice works. For the butter, use cold cubes straight from the fridge—they'll melt just enough to coat the rice perfectly. The milk should be full-fat (none of that skim nonsense)—it makes the custard truly velvety. If you're feeling fancy, vanilla sugar adds a subtle depth, but regular vanilla extract is plenty. The egg yolks are non-negotiable for that rich custard texture, so don't swap them for whole eggs unless you're okay with a denser result.

No vanilla extract? Almond extract at half the amount works in a pinch, though it has a slightly different profile. Running low on powdered sugar? A mix of granulated sugar and cornstarch (1:1 ratio) does the trick. Freshly grated coconut is ideal, but pre-shredded works too—just toast it first in a dry pan for 2-3 minutes to bring out the flavor. For the toasted coconut flakes, look for unsweetened at the health food section, not the sweetened kind near the candy. The cornstarch is worth it—it keeps the rice light and prevents gummy texture. If you're making a vegan version, coconut oil and almond milk replace the butter and regular milk perfectly (just add an extra tbsp of cornstarch to compensate).

These bars keep beautifully—3-4 days in an airtight container at room temperature or up to 1 week in the fridge. For longer storage, freeze for up to 3 months (wrap individually in plastic wrap). The custard layer firms up when cold, so bring them to room temperature before serving for that perfect creamy bite. I always make a double batch—they disappear fast, especially when you start cutting them into those perfect squares. The coconut topping stays crisp for days, but if it softens, just toast it again in the oven for 5 minutes at 350°F to revive the crunch.

❤️

Why You'll Love This Recipe

  • Pantry Magic: I swear by this recipe when I’m low on ingredients—just rice, butter, milk, and sugar. No fancy shopping trips needed, and the creamy, custardy texture still feels like a treat.
  • Vanilla Kiss: That one teaspoon of vanilla extract transforms this into something special. It’s not just sweetness; it’s warmth, like a hug in dessert form, especially when the butter melts into those fluffy rice grains.
  • Kid-Tested, Adult-Approved: Between us, my kids will fight over these, but I love them too—especially when I sneak in extra vanilla. They’re soft enough for little hands but sturdy enough to pack for school lunches.

Step-by-step instructions for vanilla-creamed rice bars

Here's how to create those dreamy layers of creamy rice and crunchy coconut topping—simple but impressive.

1

Cook the Rice to Perfect Texture

In a medium saucepan, combine the 2 cups of long-grain white rice with the 1.5 cups of whole milk and the 0.5 tsp of salt. Bring to a boil over medium-high heat, then immediately reduce to low heat. Cover and simmer for 18-20 minutes until the rice absorbs all the liquid and becomes tender but still slightly firm—you want it to hold its shape when pressed, not mushy.

Here's the thing—don't peek or stir while it cooks. The rice needs to steam evenly. When you hear a soft gurgle and see the grains are plump and separate, remove from heat. Let it sit covered for 5 minutes, then fluff gently with a fork. The rice should be moist but not wet, and each grain should be distinct. If it's too dry, add a splash of milk; if too wet, uncover and cook 2 more minutes uncovered.

2

Mix the Creamy Vanilla Filling

While the rice steams, melt the 0.75 cup of unsalted butter in a separate saucepan over low heat. In a large bowl, whisk together the egg yolks, 2 whole large eggs, 1 cup of granulated sugar, and 2 tsp of vanilla extract until smooth and pale. Slowly pour in the melted butter while whisking constantly to create a creamy base.

Add the cooked rice to the egg mixture and fold gently with a spatula until fully combined. The texture should be thick like a loose pudding. For extra flavor, stir in the 1 tbsp of vanilla sugar at this stage. If the mixture feels too thick, add 1-2 tablespoons of milk to reach a spreadable consistency. This filling is the heart of your rice bars—smooth and flavorful, not grainy or watery.

3

Assemble the Layers

Grease a 9x13-inch baking dish with butter. Spread half of the rice mixture evenly across the bottom, creating a smooth, level layer. Sprinkle half of the 1.5 cups of unsweetened shredded coconut evenly over the first layer. Repeat with the remaining rice mixture and coconut, pressing down gently with a spatula to create distinct layers. The goal is even distribution—no thick spots or thin areas.

Here's where it gets fun—press down firmly on the top layer to compact it slightly. This prevents the bars from crumbling when sliced. For extra crunch, sprinkle the 0.5 cup of toasted coconut flakes evenly over the top layer. The contrast between the creamy rice and crunchy coconut is what makes these bars irresistible.

4

Bake to Golden Perfection

Preheat your oven to 350°F. Bake the assembled rice bars for 35-40 minutes until the top is golden brown and the edges are slightly crisp. You'll know it's done when a toothpick inserted in the center comes out clean and the coconut topping is firm to the touch. If the top browns too quickly, tent with foil to prevent burning while the center finishes baking.

Let the rice bars cool completely in the pan for at least 2 hours before slicing. This resting period allows the layers to set properly and makes for cleaner cuts. Once cooled, dust the top with the 0.25 cup of powdered sugar for a sweet finish. The contrast of warm vanilla cream with cool coconut crunch is pure comfort food magic.

👨‍🍳

Pro Tips For Making Rice Bars

  • Cook Rice to Perfection: Use a 1:1.5 rice-to-water ratio and bring to a rolling boil before adding butter—this ensures the grains stay separate and soak up the dairy mixture properly. I learned this the hard way when my first batch turned into a gluey mess because I skipped the boil.
  • Whisk Milk Cold: Warm the milk to body temperature (about 90°F) before mixing with butter and sugar—this prevents butter from seizing up and creates a smoother, creamier texture. Cold milk makes the whole thing clump like a science experiment gone wrong.
  • Skip the Overmixing: Once you fold in the cooked rice, stir just enough to combine—overworking it turns the bars dense and gummy. Think "gentle but thorough," like tucking in a picky toddler, not kneading dough.
  • Press Harder Than You Think: Pack the rice mixture into the pan with firm, even pressure—this prevents crumbly bars and guarantees a clean slice. Use a damp spatula to smooth the top, then let it cool completely before cutting (yes, it’s tempting to cut early, but resist).

Flavor customization for this rice bars

Spiced Cinnamon Twist

For a warm, aromatic variation, fold 1 tsp cinnamon and ½ tsp ground cardamom into the custard mixture before combining with the rice. Top with a layer of toasted coconut flakes mixed with 1 tbsp brown sugar before baking.

The spices caramelize beautifully during baking, adding depth that pairs perfectly with the coconut. I find this version especially cozy during fall months when you crave warmth in every bite. 🌿

Chocolate-Dipped Luxury

After baking and cooling, dip the cut edges of your rice bars in melted dark or white chocolate>. Let the chocolate set at room temperature for 10 minutes> before serving. For extra decadence, sprinkle crushed pistachios or sea salt flakes> on top.

This adds a sophisticated touch that elevates the bars from dessert to showstopper. I recommend using Ghirardelli chocolate squares> for the smoothest melt.

Tropical Mango Layers

Blend 1 cup fresh mango purée> with 1 tbsp lime juice> and mix half of it into the custard layer before assembling. For the coconut topping, replace half the shredded coconut with dried mango flakes>.

The tropical flavors complement the vanilla beautifully while adding vibrant color. This version is perfect for summer gatherings when you want a refreshing twist on classic rice bars. 🥭

Salted Caramel Crunch

Prepare a simple caramel topping by melting ½ cup brown sugar> with 2 tbsp butter> in a saucepan until golden. Drizzle this over the assembled rice bars before adding the coconut topping. Finish with a sprinkle of flaky sea salt> (like Maldon) after baking.

The salty-sweet contrast is pure magic—each bite balances richness with a satisfying crunch. I like to make this variation for holiday parties where bold flavors shine.

Matcha Green Tea

Replace the vanilla extract with 1 tbsp matcha powder> whisked into the custard mixture. For the coconut topping, mix in 1 tsp white miso paste> for umami depth. The earthy matcha pairs surprisingly well with the coconut's sweetness, creating an elegant, sophisticated flavor profile.

This version is perfect for tea lovers who want a dessert with a subtle green tea kick. Use culinary-grade matcha> for the best results.

Coconut-Free Option

For those with coconut allergies, replace the shredded coconut with crushed pretzels> or toasted pecans>. For the topping, mix ½ cup chopped nuts> with 2 tbsp honey> and a pinch of cinnamon.

This version maintains the crunch while offering a completely different flavor profile. The honey adds natural sweetness that balances the savory nuts beautifully. I've tested this with both walnuts and almonds—both work wonderfully. 🌰

Nutrition facts

Servings 12
Amount Per Serving
Calories 380kcal
% Daily Value *
Total Fat 14g18%
Saturated Fat 9g45%
Cholesterol 115mg38%
Sodium 180mg8%
Total Carbohydrate 60g22%
Dietary Fiber 1g4%
Sugars 32g
Protein 7g14%
* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

Frequently asked questions

1

Can I make these rice bars without eggs?

Yes! For a vegan version, replace the eggs with a flax egg (1 tbsp ground flaxseed + 3 tbsp water per egg) and use coconut oil instead of butter. Add 1 extra tbsp cornstarch to help bind the mixture. The texture will be slightly denser but still delicious.

2

Why do my rice bars turn out gummy?

Gummy texture usually means the rice absorbed too much liquid or the custard wasn't properly cooked. Make sure to fluff the rice well after cooking and don't overmix the custard mixture. Also, bake until a toothpick comes out clean—35-40 minutes at 350°F should do it. If it's still gummy, try baking 5-10 minutes longer.

3

How do I store and slice these rice bars?

Store in an airtight container at room temperature for up to 3 days or refrigerate for 1 week. For perfect slices, chill completely (at least 2 hours) before cutting with a sharp knife. Warm slightly before serving if you prefer them soft. The coconut topping stays crisp for days if stored properly.

4

Can I make this recipe in a smaller baking dish?

For a 9x9-inch dish, reduce all ingredients by about 25% (use 1.5 cups rice, 1 cup milk, etc.). The baking time stays the same, but check for doneness at 30 minutes. The layers will be thicker, so press down firmly during assembly to prevent crumbling.

5

What's the best way to make these gluten-free?

Use gluten-free white rice (like jasmine) and ensure your cornstarch is certified gluten-free. For the custard, use a gluten-free vanilla extract (some contain wheat). The recipe is naturally gluten-free as written, but always double-check ingredient labels for cross-contamination.

★★★★★4.8(2 reviews)
Categories Desserts