Baking ingredients and additives

Coconut

The fruit of the coconut palm, used in desserts as shredded or flaked dried coconut, coconut milk, coconut cream and coconut oil.

Also called shredded coconut, desiccated coconut

Coconut: A halved fresh coconut showing the white flesh next to a bowl of shredded coconut

At a glance

What it is
Coconut palm fruit, dried or pressed for baking
Role in baking
Flavor, chew, richness and dairy-free fat
Common forms
Flaked, shredded, desiccated, milk, cream, oil
Storage
Dried: airtight and cool; opened milk: refrigerated
Swap for
Chopped nuts, or dairy milk for coconut milk

Overview

Sweetened flaked coconut is moist and used in macaroons and coconut cream pies; unsweetened desiccated coconut is drier and finer. Toasting coconut at about 325°F (165°C) for a few minutes, stirring often, makes it nutty and crisp.

Coconut milk and coconut cream are made by pressing grated coconut flesh and add richness to dairy-free puddings, ice creams and curries.

What it does in baking

Dried coconut brings chew, texture and a sweet, tropical flavor to cookies, cakes, pie fillings and toppings. Sweetened flakes hold extra moisture and sugar, so they stay tender inside a batter, while fine unsweetened coconut soaks up liquid and gives a drier, more even crumb. Toasted, it turns nutty and crisp, which makes it a good finish for frosted cakes and cream pies.

Coconut milk and coconut cream do the job dairy usually does: they add fat, body and a smooth mouthfeel to puddings, panna cotta and ice cream. Coconut oil works as a plant-based fat in place of butter in many dairy-free bakes, firming when cool and melting when warm.

Forms you'll find

  • Sweetened flaked coconut, soft and moist, for macaroons, cream pie toppings and cake coatings
  • Unsweetened shredded coconut, for granola, cookies and recipes where you control the sugar
  • Desiccated coconut, very dry and finely grated, for even texture in cakes, fillings and coatings
  • Canned coconut milk and coconut cream, for dairy-free custards, puddings and frozen desserts
  • Coconut oil, solid when cool, used as a dairy-free fat in doughs, crusts and batters

How to use it

  • Measure dried coconut lightly packed in a cup unless the recipe says otherwise
  • Toast it on a sheet pan in a moderate oven, stirring often, because the edges brown quickly
  • Shake or stir canned coconut milk well before measuring, since the cream rises and separates
  • Chill a can of coconut cream and scoop off the firm top when you want to whip it
  • Melt coconut oil gently for batters, or use it cold and solid when a recipe cuts fat into flour

Substitutes

SwapHowNote
Chopped nutsUse about the same volume as the dried coconutCrunch instead of chew; flavor changes
Sweetened for unsweetened coconutSwap equal amounts and trim the recipe's sugar a littleMoister, sweeter result; may brown faster
Dairy milk or cream for coconut milkSwap one for one in puddings and custardsLoses coconut flavor and is no longer dairy-free

Storage and shelf life

Keep dried coconut in an airtight container or well-sealed bag in a cool, dark cupboard; its natural oils can turn rancid with heat and air, so smell it before you bake. For longer keeping, refrigerate or freeze it. Unopened canned coconut milk and cream keep in the pantry for a long time, but once opened they belong in a covered container in the refrigerator for only a few days. Coconut oil keeps well at cool room temperature.

Good to know

  • Coconut macaroons are chewy mounds of coconut, not the same as almond-meringue macarons
  • Watch toasting coconut closely; it goes from golden to burnt in moments
  • Light coconut milk is thinner and sets softer, so it is not a swap for coconut cream
  • Desiccated coconut absorbs liquid, so a batter may need a touch more moisture if you substitute it for flakes
  • Coconut oil hardens when chilled, so cold ingredients can make a batter seize into lumps

Recipes that use it

Common questions

Can you freeze shredded coconut?

Yes. Seal it airtight in a freezer bag or container and it keeps well for months. It thaws quickly at room temperature and needs no special handling before baking.

What is the difference between coconut milk and coconut cream?

Both come from pressed coconut flesh, but coconut cream is the thicker, richer part with more fat and less water. Use cream for whipped toppings and very rich desserts, and milk for puddings and lighter custards.

Why is my canned coconut milk separated?

That is normal: the fat rises and firms on top, especially in a cool place. Shake the can or whisk the contents smooth before measuring, unless you want the thick top for whipping.