Recipe
🍰 DESSERT
Cajeta de Coco
A dense coconut-and-milk fudge cooked down to chewy squares, a traditional Costa Rican homemade candy.
Costa Rican · medium · serves 12
prep 10 min · cook 45 min
~365 cal · 5g protein · 51g carbs · 17g fat · 4g fiber · 48g sugars · 14g sat fat (estimated, per serving)
↓ Jump to Recipe
AI-generated illustration
In Costa Rica, cajeta means a firm milk fudge rather than the runny goat-milk caramel the word denotes in Mexico. Cajeta de coco is the coconut version, a homemade candy that grandmothers make in big batches and that turns up at fairs, church sales, and roadside stands.
It is cooked the patient old way: milk, sugar, and grated coconut stirred over low heat for a long time until the mixture thickens, catches colour, and pulls away from the pan in a single mass. Fresh coconut gives it texture; a little vanilla or lime zest lifts it.
Poured out, cooled, and cut into squares, it sets to a dense, chewy, intensely sweet candy. A small piece with a cup of coffee is a classic Costa Rican treat, and the smell of a batch cooking is pure nostalgia.
Saved recipes and passport stamps are kept on this device. Sign in to keep them across your devices and leave reviews.
Make it yours
✓ Naturally vegetarian and gluten-, egg- and pork-free. No swaps needed.
Toggle a diet and the ingredients rewrite themselves with regional substitutes.
🥕 Vegetarian
🌱 Vegan
🌾 Gluten-Free
🥛 Dairy-Free
🥜 Nut-Free
🥚 Egg-Free
🐖 Pork-Free
Dietary labels are a cooking guide, not allergen-safety advice. We track dairy, egg, gluten, tree nuts and peanuts (we count coconut as a tree nut, following FDA labeling), fish, and shellfish; we do not screen for sesame, soy, mustard, celery, or sulphites. If you have a food allergy, read the label on every product you use, and note that a kitchen can cross-contaminate in ways a recipe cannot control.
Ingredients
US
Metric
Serves 12
4 cups whole milk
2 cups grated coconut
2 cups sugar
1 cinnamon stick
1/2 cup sweetened condensed milk
1 tsp vanilla extract
1/4 tsp baking soda
Instructions
1
Combine the milk, sugar, grated coconut, cinnamon stick, and baking soda in a heavy pot and bring to a simmer.
2
Cook over low heat, stirring often, until it thickens and begins to turn pale gold, about 35 minutes.
✎ Chef’s note
The baking soda helps it colour and keeps it from graining. Stir more and more as it thickens so the bottom never catches.
3
Stir in the condensed milk and vanilla and keep cooking until the mixture pulls away from the pan in a mass; fish out the cinnamon stick.
4
Spread into a greased dish, cool completely, and cut into squares.
Costa Rican homemade-candy tradition.
Ratings & reviews
Cooked it? Rate this dish:
No account needed. Sign in to leave a full review with a comment.
Cooked it?
Kept on this device, no account needed. Sign in to leave a review and keep your passport across your devices.
No reviews yet, be the first to cook it.
🌏 While it simmers, know your destination
📍
San José. San Jose's soda kitchens serve the casado, a plate of rice, black beans, plantain, salad, and a protein whose name means "married" - some say for the married man fed like this at home, others for the way the dish marries so many things on one plate. Gallo pinto starts the day, and Costa Rican cooking stays fresh, mild, and vegetable-forward.
🗺️
Costa Rica. Costa Rican food is fresh and wholesome, built on the casado plate of rice, beans, plantain, and salad, and gallo pinto for breakfast. Tropical fruit and a 'pura vida' ease define its unfussy, produce-driven table.
🌍
North America. The most consequential technique on this continent is nixtamalisation, cooking maize with lime or wood ash. It loosens the skins, makes the dough that becomes tortillas and tamales, and frees up niacin the body cannot otherwise absorb, which is why maize spread around the world without the technique and took pellagra with it.
The story behind this dish is up top, worth a read while the pot works.
More from Costa Rica
CasadoThe soda-counter plate that "marries" rice, black beans, sweet plantains, salad, and a griddled protein.
Chorreadas con NatillaSweet-savory fresh corn pancakes, crisp at the edges, served with a dollop of cool natilla (sour cream), a Costa Rican country breakfast.
ChifrijoA layered bowl of rice, beans, crisp fried pork, and pico de gallo with tortilla chips, Costa Rica's favorite bar snack.
Browse all Costa Rica recipes →
Good to know
You’ll need: Pot or saucepan.
Storing it: Keep chilled and covered, and enjoy within 2 to 3 days.
Make it a Costa Rica meal
Olla de CarneDinner
Agua de SapoDrink
Similar dishes from around the world
Coconut Sugar CakeSaint Kitts and Nevis
Nouga Koko ek Bannann (Coconut and Banana Nougat)Seychelles
KashataTanzania
Puleleti (Coconut and Coconut Syrup Sweet)Tuvalu
Cocada AmarelaAngola
Sankhya LapovCambodia
Cuisine
Diet
Frequently asked questions
What is Cajeta de Coco?
A dense coconut-and-milk fudge cooked down to chewy squares, a traditional Costa Rican homemade candy.
Where does Cajeta de Coco come from?
Cajeta de Coco is a Costa Rican dish from San José, Costa Rica.
Can Cajeta de Coco be made vegan, gluten-free, or dairy-free?
This Cajeta de Coco recipe includes substitution suggestions for vegetarian, vegan, gluten-free, dairy-free, nut-free, egg-free, and pork-free versions, including several at once such as gluten-free and dairy-free together. Treat them as a starting guide rather than a guarantee, and see the allergen note below.
Is Cajeta de Coco safe for people with food allergies?
Our dietary labels and substitutions are a cooking guide, not medical or allergen-safety advice. We track dairy, egg, gluten, tree nuts and peanuts (we count coconut as a tree nut, following FDA labeling), fish, and shellfish, but we do not screen for sesame, soy, mustard, celery, or sulphites. If you have a food allergy, always read the label on every product you use, and remember a home or commercial kitchen can cross-contaminate ingredients in ways a recipe cannot control.
How long does Cajeta de Coco take to make?
About 55 minutes total (10 minutes prep, 45 minutes cooking), serving 12.
Get the Sunday Spin
One dish from somewhere in the world, in your inbox every Sunday. No spam, just dinner inspiration you can cook that day.