Barfi: An Indian Sweet of Milk Solids, Cooked Down and Set
Warm the khoya gently and keep it from browning. After the sugar goes in, watch the pan rather than the clock. Stop when the mixture has thickened slightly and begins to pull away from the sides of the pan.
Warm khoya sits crumbly and pale in a heavy pan. Then the heat goes off and sugar is stirred in. Once the heat is back on, the sugar melts and the mixture briefly turns loose and glossy. A few minutes of low heat and steady stirring later, it starts to come away from the sides of the pan. That change is the heart of a plain khoya barfi. It is the moment the recipe in this article asks you to recognize.
Barfi is an Indian sweet usually cut into small squares or diamonds. Depending on what it is made from, its color, texture and shape can vary quite a lot. This article covers one specific form: a basic barfi made from unsweetened khoya, sugar, cardamom and nuts.
You will see it written both as barfi and burfi. These are two spellings of the same sweet's name. The recipe source explains the name as connected to barf, meaning snow, and links it to the sweet's white appearance. That is how the source describes it, not a settled etymology.
Khoya (also called mawa) is milk that has been cooked down into concentrated milk solids. It is not the same thing as milk powder. A teaching resource on Indian dairy technology describes barfi made from khoa and also notes that there are several types of khoa, each suited to different sweets. Because khoya carries the body and richness of this barfi, how you source it matters more than any other decision in the recipe.
The Version Made Here: A Basic Khoya Barfi in the North Indian Style
The recipe this article follows classifies its khoya barfi as North Indian. That label describes this particular recipe. It does not mean barfi as a whole belongs to the north. The same source, along with the dairy technology resource, mentions many other kinds of barfi made with coconut, besan (gram flour), fruit, nuts and more. They share a name, but they cannot be reduced to one formula. This article stays with the unsweetened khoya and sugar base.
To see how much one name can cover, look to Punjab. The District Administration of Faridkot presents Dodha burfi as a local specialty. Its page tells an origin story dated to 1912: a Punjabi wrestler created it, and it was carried on as a family tradition through the migration after Partition. This is the regional story as the district page tells it. It is not an account of where barfi in general began. Dodha burfi is also its own sweet with its own formula, and none of it is mixed into the recipe below.
For more dishes from the same country, see India.
Ingredients: Unsweetened Khoya at the Center

This batch makes 14 slices; the slice size has not been measured. This recipe has not been kitchen-tested for this article.
The photos in this article use almonds as the second nut.
Equipment
- A small heavy-bottomed pan or kadai
- A wooden spatula
- A fine grater, or a fork for crumbling
- A shallow tray that can be lined with parchment
- Parchment paper
- A small knife for cutting
- A mortar and pestle for the cardamom (optional)
Choosing and Substituting: What Can Change and What Cannot
Khoya. Look for unsweetened khoya (mawa) at Indian grocery stores or South Asian grocery shops online. Useful search terms are "khoya," "mawa" and "unsweetened." When you buy, check the label for whether it is sold chilled or frozen, and confirm that it is unsweetened.
Milk powder, condensed milk and fresh milk are not equivalents. Their moisture, sweetness and milk-solid content are different from khoya's. Swapping one in at the same weight will not give the same mixture or texture. If you cannot find khoya, look for a different recipe written for the ingredient you do have instead of adapting this one.
Sugar. If you use a particular sugar, the texture may differ.
Cardamom. Whole pods or ground cardamom can be found at Indian grocers and import food shops. Other spices such as cinnamon are not treated here as substitutes; they would change the sweet's aroma.
Nuts. Unsalted nuts are the better choice. Use either almonds or cashews alongside the pistachios, not both at once.
Ghee. Ghee only greases the tray. Unsalted butter would bring a different flavor.
This barfi contains dairy (khoya, ghee, and milk if used) and tree nuts (pistachios, plus almonds or cashews). The nuts are optional. Leaving them out does not by itself make the barfi safe for anyone with a nut allergy, so check khoya and other product labels for shared-facility or cross-contact statements.
Method: Warm, Sweeten, Reduce, Set
The minute ranges below are guides. Your pan's material and size and the strength of your burner will move them. The stop cue for the reduction is what you see: a slightly thicker mixture that starts pulling away from the sides of the pan.
Firmness Is Decided After the Sugar Goes In
The sugar is the reason the pan seems to go backwards in step 3. As it melts, the khoya that was crumbly a moment ago turns loose and glossy. Low heat and steady stirring then drive the moisture off until the mixture holds together and begins to leave the sides of the pan. That release is the cue to stop.
The source's 8–9 minutes is a guide, not a promise. The weight of your pan, the strength of your burner and the size of your batch can each shift it by a few minutes. If a batch disappoints, look at this stage before blaming the ingredients.
| Problem | Likely cause | What to do |
|---|---|---|
| It stays soft and will not set | Stopped before the mixture began to leave the sides of the pan | Do not force it out of the tray. Next time, keep cooking until the mixture thickens slightly and releases from the sides |
| Hard or very chewy | Cooked too long after the sugar went in | Stop as soon as the mixture starts pulling away from the sides |
| Browned or scorched spots | Heat too high, thin pan, or not enough stirring | Keep the heat low, use a heavy-bottomed pan, and stir often |
| Texture is off even though the timing matched | A different dairy product was used in place of khoya | Use unsweetened khoya; milk powder and similar products behave differently |
Variations Within the Recipe, and Barfi Beyond It
These options stay inside what the source allows:
- Pistachio-forward. Let the pistachios be the nut you notice, but keep the amounts as written.
- Without saffron. Saffron and its milk are optional. Simply skip both.
- Without nuts. The source treats the nuts as optional. See the allergen note above before assuming the result is nut-safe.
Coconut barfi and besan barfi are different sweets that share the name. They are not variations of this one. Do not carry this recipe's ingredients or method over to them; follow a recipe written for that type.
Serving

Barfi is served as it is, in small pieces, and is not reheated. A small plate goes a long way, because khoya is rich.
Keep barfi in an airtight container in the refrigerator, and eat it soon.
Frequently Asked Questions
What is khoya?
Khoya, also called mawa, is milk cooked down into concentrated milk solids. Indian dairy technology material describes several types of khoa, each used for different sweets. For this recipe, use unsweetened khoya.
Are barfi and burfi different sweets?
No. They are two spellings of the same name. What does vary a great deal is the barfi itself: khoya, coconut, besan, fruit and nut versions all exist.
Can I use milk powder if I can't find khoya?
Not as a like-for-like swap in this recipe. Milk powder differs from khoya in moisture and milk solids, so it will not give the same mixture or texture at the same amount. Look for a recipe written specifically for milk powder.
Why didn't my barfi set, or why is it too hard?
Both usually come from the reduction after the sugar is added. If you stop too early, the barfi stays soft. If you cook too long, it can turn hard and chewy. The stop cue is a slightly thicker mixture beginning to pull away from the sides of the pan.
Can I make it without saffron?
Yes. Saffron and the milk it soaks in are optional in the source recipe. Leave both out and the barfi still comes together.
Sources
- Dassana's Veg Recipes, "Barfi Recipe | Khoya Barfi | Mawa Barfi." The khoya barfi recipe followed here: ingredients and amounts, the low-heat method and the cue of the mixture leaving the sides of the pan, the 14-slice listing, the North Indian classification, the explanation of the name, and the types of barfi. https://www.vegrecipesofindia.com/barfi-recipe-quick-khoya-barfi/
- INFLIBNET Centre, "Traditional Indian dairy products – Khoa based sweetmeats," Technology of Milk and Milk Products. An outline of how barfi is made from khoa, the types of khoa and their uses, and how barfi differs from peda. https://ebooks.inflibnet.ac.in/ftp04/chapter/traditional-indian-dairy-products-khoa-based-sweetmeats/
- District Administration Faridkot, Government of Punjab / NIC, "Local Cuisine — Dodha Burfi." Dodha burfi as a local specialty of Faridkot and the district's account of its 1912 origin story. https://faridkot.nic.in/tourist-place/local-cuisine-2/














