# Coconut Barfi

> To make coconut barfi, toast 200 g desiccated coconut in 1 tbsp ghee for 2-3 minutes, then add a can of sweetened condensed milk and a splash of milk. Stir over medium-low heat for 10-12 minutes until it pulls away from the pan. Add cardamom, press into a lined 20 cm (8 inch) pan, top with pistachios and let it set for 1 hour.

Source: https://savourrecipes.com/recipe/coconut-barfi
Author: Hannah Whitfield | Published: Oct 6, 2026
Categories: Dessert Recipes, Indian Recipes
Collections: Diwali Recipes
Tags: Diwali, Vegetarian, Gluten Free, Indian, Make Ahead

Coconut barfi is one of the quickest Indian sweets to make at home. Desiccated coconut and condensed milk cook down together in one pan until thick, then set into soft, fudgy squares scented with cardamom. It needs no sugar syrup and no special equipment, which helps when you are making several sweets for Diwali.

## Key facts

- Prep time: 5 mins
- Cook time: 15 mins
- Set: 1 hr
- Total time: 1 hr 20 mins
- Yield: 16 pieces
- Difficulty: Easy
- Cuisine: Indian
- Method: Stovetop
- Calories: 180 per serving

## Ingredients

- 1 tbsp ghee, plus extra for the pan
- 200 g unsweetened desiccated coconut, about 2 1/2 cups
- 395 g sweetened condensed milk, 1 can (300 ml / 14 oz)
- 60 ml whole milk, 1/4 cup
- saffron threads, a pinch, crushed (optional)
- 1/2 tsp ground cardamom
- 2 tbsp pistachios, finely chopped

## Equipment

- 20 cm (8 inch) square pan
- Parchment paper
- Non-stick or heavy-bottomed pan
- Silicone spatula

## Instructions

1. **Prepare the pan.** Grease a 20 cm (8 inch) square pan with ghee and line it with parchment, leaving some overhang so you can lift the barfi out.
2. **Toast the coconut.** Melt the ghee in a non-stick or heavy-bottomed pan over low heat. Add the coconut and stir for 2-3 minutes, until it smells fragrant. Do not let it brown.
3. **Cook with the condensed milk.** Pour in the condensed milk and milk, add the saffron if using, and stir well. Cook over medium-low heat, stirring constantly and scraping the bottom, for 10-12 minutes, until the mixture thickens, stops sticking to the pan and gathers into one soft mass that follows the spatula. Stir in the cardamom and take the pan off the heat.
4. **Press into the pan.** Scrape the mixture into the lined pan and spread it into an even layer about 1.5 cm (1/2 inch) thick, pressing it down with a greased spatula. Scatter the pistachios over the top and press them in lightly. While it is still warm, score the top into 16 squares with a knife.
5. **Set and cut.** Let the barfi cool at room temperature for 1 hour, or chill it for 30 minutes, until firm. Lift it out with the parchment and cut along the scored lines.

## Tips

- Use unsweetened desiccated coconut. Sweetened flaked coconut makes the barfi much sweeter, and the long shreds give it a stringy texture.
- Keep stirring and scrape the bottom of the pan often, because condensed milk catches and scorches quickly.
- To test, cool a small piece for a few seconds and roll it between your fingers. If it forms a ball without sticking, it is ready. If it is still sticky, cook for 1-2 minutes more.

## Variations

- Use 300 g freshly grated coconut instead of desiccated. Cook for 15-20 minutes to drive off the extra moisture, and keep the barfi in the fridge.
- Press half the mixture into the pan, stir 1-2 drops of pink food colouring into the rest and spread it on top for a two-layer barfi.
- Swap the pistachios for slivered almonds, or add a pinch of saffron to the condensed milk.

## Storage

- Fridge: Keep in an airtight container at room temperature for up to 3 days, or in the fridge for up to 1 week.
- Freezer: Freeze in layers separated by parchment for up to 1 month and thaw in the fridge.

## Nutrition per serving (estimate)

| Calories | Protein | Carbohydrates | Fat |
|---|---|---|---|
| 180 | 3 g | 17 g | 11.5 g |

## Frequently asked questions

### Can I use fresh coconut for barfi?

Yes. Use about 300 g freshly grated coconut and cook it for 15-20 minutes so the extra moisture evaporates. Fresh coconut barfi is softer and moister, and it keeps for only 3-4 days in the fridge.

### Why is my coconut barfi not setting?

It was not cooked long enough. Scrape it back into the pan and stir over medium-low heat for a few more minutes, until the mixture leaves the sides of the pan and holds together in one mass, then press it into the pan again.

### Why is my barfi hard or dry?

It cooked for too long. Take it off the heat as soon as it gathers into a soft mass, because it firms up a lot as it cools. Next time, add an extra splash of milk with the condensed milk.

### Is coconut barfi gluten-free?

Yes. Coconut, condensed milk, ghee, cardamom and pistachios contain no gluten. If you are cooking for someone with celiac disease, check the condensed milk and coconut labels for cross-contact warnings.

## Disclaimer

- Nutrition information is an estimate based on the listed ingredients. It changes with the brands, portion sizes and swaps you use.
- Read ingredient labels for allergens and for diet claims such as gluten-free or vegan. Products and their ingredients can change.
- Cooking times are a guide, since ovens, air fryers and slow cookers all run differently. Use a food thermometer and cook meat, poultry and fish to the safe internal temperatures in government food safety guidance.
- This recipe is general information, not medical or nutrition advice. If you have an allergy, a health condition or a special diet, check with a qualified health professional.
