Zimt

Carrot Coconut Bars with Cream Cheese Frosting Recipe

· 6 min read · Cookies and Bars

In this article
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions

These carrot coconut bars combine the natural sweetness of grated carrots with the tropical flavor of shredded coconut, all held together by a tender crumb and finished with a silky cream cheese frosting. The result is a snack‑size dessert that feels indulgent yet stays moist, making it perfect for brunch spreads, after‑school treats, or a simple afternoon pick‑me‑up.

Ingredients

The batter relies on a balance of wet and dry components to achieve a moist, yet firm texture that can be sliced cleanly. Grated carrots provide moisture and a subtle earthy sweetness, while coconut adds a pleasant chew and a hint of nuttiness that pairs beautifully with the warm spices.

For the frosting, a classic cream cheese base is lightened with butter and sweetened with powdered sugar, then thinned just enough with coconut milk to spread easily over the warm bars without melting away.

  • 1 1/2 cups grated carrots (about 2 medium carrots)
  • 1 cup unsweetened shredded coconut
  • 1 cup all‑purpose flour
  • 1/2 cup brown sugar, packed
  • 1/2 cup granulated sugar
  • 1 tsp baking powder
  • 1/2 tsp baking soda
  • 1/2 tsp fine sea salt
  • 1 tsp ground cinnamon
  • 1/4 tsp ground nutmeg
  • 2 large eggs, at room temperature
  • 1/2 cup melted coconut oil (or melted unsalted butter)
  • 1 tsp pure vanilla extract
  • 1/2 cup chopped walnuts or pecans (optional)
  • 8 oz (225 g) cream cheese, softened
  • 1/4 cup unsalted butter, softened
  • 1 cup powdered sugar, sifted
  • 1 tsp vanilla extract (for frosting)
  • 2 tbsp coconut milk (or whole‑milk) for frosting
  • Pinch of salt (for frosting)

Instructions

Begin by preheating the oven to 350°F (175°C) and preparing a 9×13‑inch (23×33 cm) baking pan. Lining the pan with parchment paper, leaving an overhang on the sides, makes removal of the bars effortless and keeps the edges from drying out.

While the oven warms, whisk together the dry ingredients in a large bowl, then combine the wet ingredients in a separate bowl. The key to a tender crumb is to mix the wet and dry mixtures only until just combined; over‑mixing can develop gluten and produce a dense bar.

  1. Preheat oven to 350°F (175°C). Place a rack in the middle of the oven.
  2. Line a 9×13‑inch (23×33 cm) baking pan with parchment paper, allowing the paper to hang over the short sides.
  3. In a large mixing bowl, whisk together flour, brown sugar, granulated sugar, baking powder, baking soda, salt, cinnamon, and nutmeg.
  4. In another bowl, beat the eggs, melted coconut oil, and vanilla until smooth. Add the grated carrots and stir to coat evenly.
  5. Pour the wet carrot mixture into the dry ingredients. Gently fold with a rubber spatula until just combined; a few streaks of flour are fine.
  6. Fold in the shredded coconut and optional chopped nuts, distributing them throughout the batter.
  7. Transfer the batter to the prepared pan and spread it into an even layer using the back of a spoon or an offset spatula.
  8. Bake for 25–30 minutes, or until the top is lightly golden and a toothpick inserted into the center comes out clean. The internal temperature should reach at least 190°F (88°C) for a fully set crumb.
  9. Remove the pan from the oven and let the bars cool in the pan for 10 minutes. Then, using the parchment overhang, lift the bars onto a wire rack to cool completely.
  10. While the bars cool, prepare the frosting. In a medium bowl, beat the softened cream cheese and butter together until light and fluffy, about 2 minutes.
  11. Gradually add the sifted powdered sugar, beating on low speed until incorporated. Increase speed and beat for another minute.
  12. Stir in vanilla, a pinch of salt, and coconut milk a tablespoon at a time until the frosting reaches a spreadable consistency.
  13. Once the bars are completely cool, spread the frosting evenly over the top. Allow the frosting to set for 10 minutes before cutting.
  14. Using the parchment overhang, lift the slab out of the pan and cut into 24 equal squares or rectangles. Serve at room temperature.

Tips

For the best texture, grate the carrots finely using the small holes of a box grater; larger shreds can create pockets of moisture that make the bars soggy. If you prefer a dairy‑free version, substitute the cream cheese and butter with a vegan cream cheese alternative and use coconut oil for the frosting base.

Always use a kitchen scale for the flour and sugars if you have one; it reduces the chance of a dry or overly sweet bar caused by packed versus sifted measurements. Finally, remember that raw eggs are present in the batter; ensure they are fresh and have been stored properly, or use pasteurized eggs if you are serving the bars to vulnerable individuals.

Serving Suggestions

These bars shine when served slightly chilled, as the frosting firms up and the crumb stays moist. Pair them with a cup of chai tea or a cold glass of almond milk for a balanced flavor profile that highlights the warm spices and tropical coconut.

If you’re entertaining, arrange the squares on a decorative platter, drizzle a thin ribbon of melted dark chocolate over the frosting, and sprinkle toasted coconut flakes for added visual appeal. The bars also travel well in an airtight container, making them a convenient addition to picnic baskets or office snack drawers.

Variations

Swap the shredded coconut for toasted coconut flakes to introduce a deeper, caramelized flavor. For a burst of fruitiness, fold in 1/2 cup dried pineapple chunks or chopped dried apricots along with the nuts.

To make the bars gluten‑free, replace the all‑purpose flour with a 1‑to‑1 gluten‑free flour blend that contains xanthan gum. You can also experiment with different spices—adding a pinch of ground ginger or cardamom will give the bars an exotic twist without overwhelming the carrot base.

Storage and Reheating

Store the cooled, frosted bars in an airtight container in the refrigerator for up to 5 days. The frosting will keep the bars moist, but the chilled texture makes them firmer, which many people prefer.

To serve at room temperature, remove the desired number of bars from the fridge and let them sit for 20–30 minutes before eating. If you need to reheat a single portion, microwave it on medium power for 15–20 seconds; the bar will warm through without drying out, and the frosting will soften just enough to be creamy again.

Frequently Asked Questions

Can I use regular oil instead of coconut oil?

Yes, a neutral oil such as canola or vegetable oil works fine, though it will remove the subtle coconut flavor that the recipe highlights. If you replace coconut oil with butter, melt the butter and let it cool slightly before mixing it into the batter.

Do I need to blanch the carrots before grating?

No blanching is required. Fresh raw carrots provide the necessary moisture and sweetness. Just wash, peel, and grate them directly before adding to the wet mixture.

How can I make the frosting dairy‑free?

Use a plant‑based cream cheese (often made from cashews or coconut) and replace the butter with an equal amount of solid coconut oil or a vegan butter substitute. The texture will be slightly different but still spreadable.

What is the ideal internal temperature for these bars?

The bars are done when the center reaches at least 190°F (88°C). This temperature ensures the egg proteins have coagulated fully, making the crumb safe to eat and giving a firm, sliceable texture.

Can I freeze the bars?

Absolutely. Freeze the fully cooled, unfrosted bars wrapped tightly in plastic wrap and then placed in a freezer‑safe bag. When ready to use, thaw overnight in the refrigerator and frost as described. The bars retain quality for up to 2 months.

Why are my bars crumbling?

Crumbly bars often result from over‑mixing or using too much flour. Ensure you measure flour by weight or spoon‑and‑level it, and mix only until the wet and dry ingredients are just combined. Adding a tablespoon of melted butter or oil at the end of mixing can also improve cohesion.