• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Nina Kneads to Bake
  • About
  • Recipes
  • Contact
  • Subscribe
  • Navigation Menu: Social Icons

    • Email
    • Facebook
    • Instagram
    • Pinterest
    • TikTok
menu icon
go to homepage
  • About
  • Recipes
  • Contact
  • Subscribe
    • Facebook
    • Instagram
    • Pinterest
  • subscribe
    search icon
    Homepage link
    • About
    • Recipes
    • Contact
    • Subscribe
    • Facebook
    • Instagram
    • Pinterest
  • ×
    Home » Recipes » Cakes and Cupcakes

    Coconut Cream Pie Cupcakes

    Published: Jun 21, 2024 Modified: October 26, 2025 by Nina

    • Share
    • Flipboard
    • X
    • Reddit
    Jump to Recipe Print Recipe
    A cupcake with some shredded coconut scattered around it.

    These coconut cream pie cupcakes are just like the pie, but in cupcake form! Coconut is found in the cake, frosting, and in the coconut custard filling. These cupcakes are full of coconut flavour!

    A cupcake with one behind it.  The rest of the cupcakes are on a cake stand in the back.

    Want to Save This Recipe?

    Enter your email & I'll send it to your inbox. Plus, get great new recipes from me every week!

    Save Recipe

    By submitting this form, you consent to receive emails from Nina Kneads to Bake.

    Jump To Recipe
    • 🥧A pie in a cupcake form
    • 🥘Ingredients
    • 🔪Instructions
    • ✔️Expert tips
    • 💭FAQs
    • 🔖Related recipes
    • 📋 Recipe

    🥧A pie in a cupcake form

    I love coconut cream pie and was so excited to try and make a cupcake taste just like the pie. I did it! These coconut cream pie cupcakes are so fun to make and have so much coconut taste throughout them.

    You can easily make these cupcakes over several days. The coconut custard filling can be made up to 3 days in advance. You can also toast the shredded coconut a day ahead. Looking to save more time? Use a boxed vanilla cupcake instead and follow along with the rest of my recipe!

    For more cupcake recipes, try my peach bellini cupakes, cranberry mimosa cupcakes, pink lemonade cupcakes or Harry Potter butterbeer cupcakes!

    🥘Ingredients

    Ingredients needed to make coconut cream pie cupcakes.

    Ingredient notes

    • Vegetable shortening - you can make all butter frosting if you prefer. Remove the shortening and use 1 cup of butter.
    • Shredded coconut - Make sure you use sweetened flaked coconut. You want big chunks of coconut for this recipe.
    • Plain Greek yogurt - I suggest using Greek yogurt over regular yogurt because it's a thicker consistency.
    A cupcake cut in half and the custard coconut filling is seen.

    🔪Instructions

    Coconut Custard Filling

    Add egg yolks to a small bowl, saving the egg whites for the cupcake part of the recipe. In a medium saucepan combine sugar and cornstarch. Heat over medium heat until sugar has dissolved. Add coconut milk and continue heating until the mixture is hot, but not boiling.

    While whisking constantly, pour a ¼ of the hot milk mixture into the egg yolks. This helps the eggs get to the same temperature as the milk mixture, without cooking the eggs. Pour the egg mixture into the saucepan with the other ingredients, and heat over medium heat. Whisk constantly until the mixture thickens and coats the back of a wooden spoon.

    Instruction group 2 for this recipe.

    Remove from heat and pour mixture into a medium bowl. Strain with a fine mesh strainer if you prefer. Mix in cold butter and salt. Then mix in shredded coconut. Place plastic wrap directly on the surface of the custard, and let chill in the refrigerator until cold, about 2 hours.

    Coconut Cupcakes

    Preheat oven to 350°F (177°C). Line 12-cup muffin pan with cupcake liners. In a medium bowl whisk flour, baking powder, baking soda, and salt together. Set aside.

    Combine sugar and melted butter. The mixture will be grainy. Add yogurt, coconut milk, egg whites, and vanilla. Mix until combined.

    Instruction group 1 for this recipe.

    Mix dry ingredients into wet ingredients and mix until just combined. Divide batter in 12-14 cupcake liners, filling each liner ¾ of the way with batter. Bake for 18-20 minutes or until a toothpick inserted in the center of a cupcake comes out clean.

    Coconut Buttercream Frosting

    When cupcakes have cooled, use a spoon or a cupcake corer to remove the center of the cupcake. Fill with coconut custard.

    Before making the frosting, toast the shredded coconut. Preheat oven to 350°F (177°C). Place coconut on a parchment lined baking tray. Cook for 4 minutes. Remove, stir, and then cook for another 4 minutes. Remove from oven and let cool at room temperature while you make the frosting.

    Instruction group 3 for this recipe.

    To make the frosting, cream butter and shortening together in a large bowl. Add powdered sugar and mix until combined. Add 2-3 tablespoons of coconut milk until the buttercream is at a piping consistency.

    Pipe frosting on to cupcakes. Decorate with toasted shredded coconut. Leftover cupcakes should be stored in the refrigerator for up to 3 days.

    ✔️Expert tips

    • These cupcakes have a few steps to them, so break it up and do some steps the day before! The shredded coconut can be toasted the day before, and the coconut custard can be made up to 3 days in advance!
    • Don't overmix the cupcake batter. Mix until the dry ingredients are just mixed in. I use a mixer and I like to hand mix the dry ingredients in so I don't accidently overmix the batter.
    • Shake the coconut milk every time before measuring it out. It separates as it sits. If it separates in the measuring cup, stir it together before adding it to the batter.
    • Don't have a piping bag and tip? Cut a large corner off the end of a zip lock bag. Use the zip lock bag like a piping bag, and pipe mounds of frosting on top of the cupcakes.

    💭FAQs

    How do I store these cupcakes?

    Because the cupcakes are filled with a custard filling, they need to be refrigerated.

    Can I freeze these cupcakes?

    You can freeze the cupcakes without the filling in them, and without frosting. Store in an airtight container and freeze for up to 3 months.

    A few cupcakes with shredded coconut around. The rest of the cupcakes are in the background on a cake stand.

    🔖Related recipes

    • A single cupcake on a wooden surface. More cupcakes are in the background.
      Harry Potter Butterbeer Cupcakes
    • A slice of cake on a white plate. The rest of the cake sits in the background.
      Strawberry Lemonade Pound Cake
    • A slice of cake on a white plate.
      Lemon Blueberry Cheesecake Cake
    • A scone on a white plate.
      Blackberry Earl Grey Scones

    📋 Recipe

    Want to Save This Recipe?

    Enter your email & I'll send it to your inbox. Plus, get great new recipes from me every week!

    Save Recipe

    By submitting this form, you consent to receive emails from Nina Kneads to Bake.

    A cupcake with some shredded coconut scattered around.

    Coconut Cream Pie Cupcakes

    Nina
    These coconut cream pie cupcakes are just like the pie, but in cupcake form! Coconut is found in the cake, frosting, and in the coconut custard filling. These cupcakes are full of coconut flavour!
    No ratings yet
    Print Recipe
    Prevent your screen from going dark
    Prep Time 30 minutes mins
    Cook Time 18 minutes mins
    Chilling Time 2 hours hrs
    Course Dessert
    Cuisine North American
    Servings 12 -14 cupcakes
    Calories 645 kcal

    Ingredients
     
     

    Coconut Custard Filling

    • 2 large egg yolks keep egg whites for cupcake recipe
    • 6 tablespoons granulated sugar
    • 1 tablespoon cornstarch
    • ¾ cup coconut milk
    • 1 tablespoon unsalted butter cold
    • ¼ teaspoon salt
    • ½ cup sweetened shredded coconut

    Coconut Cupcakes

    • 1 ⅔ cups all purpose flour
    • ½ teaspoon baking powder
    • ¼ teaspoon baking soda
    • ½ teaspoon salt
    • 1 cup granulated sugar
    • ½ cup unsalted butter melted
    • ¼ cup plain Greek yogurt room temperature
    • ¾ cup coconut milk room tempertature
    • 2 large egg whites room temperature
    • 1 teaspoon vanilla extract

    Coconut Buttercream Frosting

    • ¼ cup sweetened shredded coconut
    • ½ cup unsalted butter room temperature
    • ½ cup vegetable shortening room temperature
    • 4 cups powdered sugar
    • 3-4 tablespoons coconut milk

    Instructions
     

    Coconut Custard Filling

    • Add egg yolks to a small bowl, saving the egg whites for the cupcake part of the recipe.
    • In a medium saucepan combine sugar and cornstarch. Heat over medium heat until sugar has dissolved. Add coconut milk and continue heating until the mixture is hot, but not boiling.
    • While whisking constantly, pour a ¼ of the hot milk mixture into the egg yolks. This helps the eggs get to the same temperature as the milk mixture, without cooking the eggs.
    • Pour the egg mixture into the saucepan with the other ingredients, and heat over medium heat. Whisk constantly until the mixture thickens and coats the back of a wooden spoon.
    • Remove from heat and pour mixture into a medium bowl. Strain with a fine mesh strainer if you prefer. Mix in cold butter and salt. Then mix in shredded coconut.
    • Place plastic wrap directly on the surface of the custard, and let chill in the refrigerator until cold, about 2 hours.

    Coconut Cupcakes

    • Preheat oven to 350°F (177°C). Line 12-cup muffin pan with cupcake liners.
    • In a medium bowl whisk flour, baking powder, baking soda, and salt together.
    • Combine sugar and melted butter. The mixture will be grainy. Add yogurt, coconut milk, egg whites, and vanilla. Mix until combined.
    • Mix dry ingredients into wet ingredients and mix until just combined. Divide batter in 12-14 cupcake liners, filling each liner ¾ of the way with batter.
    • Bake for 18-20 minutes or until a toothpick inserted in the center of a cupcake comes out clean.
    • When cupcakes have cooled, use a spoon or a cupcake corer to remove the center of the cupcake. Fill with coconut custard.

    Coconut Buttercream Frosting

    • Before making the frosting, toast the shredded coconut. Preheat oven to 350°F (177°C). Place coconut on a parchment lined baking tray.
    • Cook for 4 minutes. Remove, stir, and then cook for another 4 minutes. Remove from oven and let cool at room temperature while you make the frosting.
    • In a large mixing bowl, cream butter and shortening together. Add powdered sugar and mix until combined.
    • Add 2-3 tablespoons of coconut milk until the buttercream is at a piping consistency.
    • Pipe frosting on to cupcakes. Decorate with toasted shredded coconut. Leftover cupcakes should be stored in the refrigerator for up to 3 days.

    YOUR OWN NOTES

    Click here to add your own private notes

    Nutrition

    Calories: 645kcalCarbohydrates: 81gProtein: 4gFat: 35gSaturated Fat: 21gPolyunsaturated Fat: 3gMonounsaturated Fat: 9gTrans Fat: 2gCholesterol: 76mgSodium: 221mgPotassium: 128mgFiber: 1gSugar: 65gVitamin A: 555IUVitamin C: 0.4mgCalcium: 35mgIron: 2mg
    Tried this recipe? Follow me on Instagram!Mention @ninakneadstobake or tag #ninakneadstobake!

    More Cake & Cupcake Recipes

    • A muffin with a bite out of so you can see the meringue filling in it.
      Lemon Poppy Seed Muffins
    • A full cheesecake on a white cake stand. Some mini eggs are in a white bowl in the background.
      Easter Swirl Cheesecake
    • One mini cheesecake on a piece of parchment paper. More mini cheesecakes are in the background.
      Mini Baileys Cheesecakes
    • A slice of cake on a white plate. The rest of the cake is seen partially in the background.
      Irish Whisky Cake

    Reader Interactions

    Did you try this recipe? Comment below to let me know ☺️ Cancel reply

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

    Recipe Rating




    Primary Sidebar

    Hi, I'm Nina! I am a self-taught baker and have a love for baking and trying new techniques. Here you will find easy step-by-step sweet and savoury recipes, with lots of tips.

    More about me →

    Popular Recipes

    • A vanilla custard square on a white plate. The rest of them are in a baking pan in the background.
      Vanilla Custard Cream Squares
    • A slice of focaccia on a white plate. The rest is in the background on a white cake stand
      Apple Fritter Focaccia
    • Cruffins on a wire rack.
      Apple Pie Cruffins
    • A slice of cake on a white plate. The rest of the cake is in the background on a cake table.
      Raspberry Champagne Cake
    • Three mini cheesecakes, on top of each other. Two apples sit in the background.
      Mini Apple Crisp Cheesecakes
    • A cinnamon roll on a white plate with a forkful from it. You can see the apple filling inside.
      Apple Crumble Cinnamon Rolls

    Fall Recipes

    • A pumpkin cheesecake bar on a white plate. More bars are in the background.
      Double Layer Pumpkin Cheesecake Bars
    • Butter tarts on a wire cooling rack.
      Bourbon Pecan Butter Tarts
    • A stack of five cookies with another cookie leaning on the stack of cookies. It has a bite out of it.
      Maple Pecan Shortbread
    • A cinnamon roll that has a bite out of it on a white plate. A clear baking pan with the rest of the cinnamon rolls in it, sits behind the plate.
      Caramel Apple Cinnamon Rolls
    • A single cinnamon roll cheesecake bar on a white plate.
      Cinnamon Roll Cheesecake Bars
    • A stack of four cookies. An orange yarn pumpkin sits in the back.
      Coffee Cake Cookies

    Game Day Recipes

    • The bread bowl dip on a white platter with various vegetables and chips around it. A hand is holding a chip with some dip on it.
      Football Bread Bowl Dip
    • A dip with pretzels around it in a 9-inch round baking pan.
      Homemade Pretzel Ring Beer Cheese Dip
    • A dip with a person's hand dipping a pita chip into it.
      Nashville Hot Chicken Dip
    • Four slices of stromboli on a rectangular white plate.
      Easy Pepperoni Stromboli
    • Five pretzels scattered on a table. The front pretzel has a piece torn from it, to show it's fluffy interior.
      Buttery Soft Pretzels
    • An above view of a homemade pizza.
      Homemade Pizza Dough

    Footer

    ↑ back to top

    About

    • Privacy Policy & Terms of Conditions
    • Accessibility Policy

    Newsletter

    • Sign Up! for emails and updates

    Contact

    • Contact

    Rate This Recipe

    Your vote:




    A rating is required
    A name is required
    An email is required