# Coconut Cake with Pineapple Filling

A from-scratch coconut cake with a fruity pineapple filling.

- Prep time: 75 minutes
- Servings: 8
- Category: Canned Foods
- By: Chef Uncook
- Recipe page: https://uncook.xyz/recipe/80733/coconut-cake-with-pineapple-filling

## Ingredients

- 1 cup white sugar
- ½ cup unsalted butter, softened
- 2 large eggs
- 2 teaspoons clear vanilla extract
- 1 ½ cups all-purpose flour
- 1 ¾ teaspoons baking powder
- ½ cup coconut milk
- ¾ cup crushed pineapple with juice
- 2 tablespoons cornstarch
- 3 ¾ cups confectioners' sugar
- ¾ cup shortening
- 1 teaspoon clear vanilla extract
- ⅓ cup coconut milk, or as needed
- 1 ½ cups flaked coconut, or to taste

## Steps

1. Preheat the oven to 350 degrees F (175 degrees C)
2. Grease and flour a 9-inch square pan
3. Cream butter and sugar together in a large bowl
4. Beat in eggs, one at a time; stir in vanilla extract
5. Combine flour and baking powder in a separate bowl; add to the creamed mixture and mix well
6. Mix in the coconut milk until batter is smooth
7. Scrape into the prepared pan and smooth the top flat
8. Bake in the preheated oven until the top springs back when lightly touched, 30 to 40 minutes
9. Cool on a wire rack for 5 minutes
10. Run a table knife around the edges to loosen
11. Invert carefully onto a cooling rack
12. Let cool, about 30 minutes
13. Meanwhile, combine crushed pineapple, juice, and cornstarch in a saucepan
14. Whisk until cornstarch is smooth
15. Heat over medium heat, stirring constantly, until filling has thickened and just barely starts to boil
16. Remove and set aside to cool
17. Cream confectioners' sugar and shortening together in a large bowl until light and fluffy
18. Beat in vanilla extract
19. Gradually add coconut milk, beating until smooth; you may need to use more or less milk depending on the desired thickness of the icing
20. Cut the cooled cake in half to form two 4 1/2x9-inch pieces
21. Spread pineapple filling on top of one half
22. Place the other half, top-side down, on top of the filling
23. Frost the sides and top with icing, then sprinkle coconut all over icing, pressing gently so it sticks

## Nutrition per serving

- Calories: 561 calories
- Protein: 5 g
- Carbohydrates: 66 g
- Fat: 33 g
- Sugar: 42 g
- Sodium: 114 mg

---

https://uncook.xyz/recipe/80733/coconut-cake-with-pineapple-filling
