Easy Appetizers

Simple appetizers, snacks and home cooking answers

Can You Make Cookies Dairy Free? Yes—Here’s How

· 6 min read · Baking and Desserts

In this article
  1. Dairy Ingredients to Replace in Cookies
  2. Best Dairy-Free Butter Substitutes
  3. Non-Dairy Milk Choices and Adjustments
  4. Recipe Formula: Basic Dairy-Free Chocolate Chip Cookies
  5. Why Cookies Spread Too Much or Fall Flat
  6. Storage and Shelf Life
  7. Common Substitution Errors and Fixes
  8. How to Verify a Product Is Truly Dairy Free

Yes, you can make cookies dairy free by swapping dairy ingredients with plant-based alternatives—typically using non-dairy milk, oil or solid fats like coconut oil, and dairy-free chocolate chips. The key rule to remember is: replace butter 1:1 with solid fat at the same weight or volume (1 cup butter = 1 cup coconut oil or vegan margarine), and use unsweetened non-dairy milk in equal measure to cow’s milk.

Serves 24 · Prep 15 min · Cook 12 min · Total 1 hr 15 min

Dairy Ingredients to Replace in Cookies

Butter and milk are the main dairy components in most cookie recipes. Butter provides fat, flavor, and structure; milk adds moisture and helps activate leavening. In dairy-free baking, butter substitutes must be solid at room temperature (like coconut oil or vegan butter) to cream properly with sugar and trap air for lift. Liquid non-dairy milks (almond, soy, oat, or coconut) work in equal volumes, but avoid sweetened or flavored versions unless the recipe calls for added sweetness.

Some recipes include dairy-based extracts (like vanilla extract, which can contain milk derivatives) or乳清蛋白 (whey) in chocolate chips. Always check labels: certified dairy-free chocolate chips use cocoa butter and soy lecithin instead of milk solids. Vanilla extract is generally dairy free, but if uncertain, use alcohol-based pure vanilla or omit and add 1/4 teaspoon almond extract for depth.

Best Dairy-Free Butter Substitutes

Use a solid fat at room temperature that mimics butter’s texture and melting point (around 90–95°F / 32–35°C). Coconut oil is the most accessible—it firms below 76°F (24°C) and works well in chewy or crisp cookies. Vegan butter sticks (like Earth Balance) are formulated to replace butter 1:1 and often contain less water than homemade blends, reducing spread. Shortening (like Crisco) gives a taller, softer cookie but lacks flavor; pair it with 1/2 teaspoon salt per 1/2 cup if using unsalted shortening in a salty-butter recipe.

Avoid liquid oils (olive, canola, avocado) in creamed cookie doughs—they cause excessive spread and greasiness. If you must use them, reduce the oil by 25% and add 1 tablespoon cornstarch per 1/2 cup oil to stiffen the dough. For example, in a recipe calling for 1 cup (227 g) butter, use 3/4 cup (170 g) oil + 1 tablespoon cornstarch.

Non-Dairy Milk Choices and Adjustments

Unsweetened almond, soy, oat, or coconut milk all work in a 1:1 ratio for cow’s milk. Soy milk has the closest protein content to dairy milk, which helps with browning and structure. Oat milk adds natural sweetness and may require reducing added sugar by 1–2 tablespoons per batch. Coconut milk (canned, full-fat) is rich but can impart flavor—use refined (flavorless) coconut oil and light coconut milk if you want neutrality.

If the recipe uses buttermilk, make a dairy-free version by adding 1 tablespoon lemon juice or vinegar to 1 cup non-dairy milk and letting it sit for 5 minutes before using. This adds acidity to react with baking soda, just like traditional buttermilk.

Recipe Formula: Basic Dairy-Free Chocolate Chip Cookies

Here’s a tested formula yielding 24 cookies, each about 2 inches (5 cm) wide:

  • 1 cup (227 g) dairy-free butter (solid), softened to room temperature
  • 3/4 cup (150 g) packed light brown sugar
  • 1/4 cup (50 g) granulated sugar
  • 1 large pasteurised egg (or 1 flax egg: 1 tablespoon ground flax + 3 tablespoons water, rested 5 minutes)
  • 1 teaspoon pure vanilla extract
  • 2 1/4 cups (280 g) all-purpose flour
  • 1 teaspoon baking soda
  • 1/2 teaspoon baking powder
  • 1 teaspoon salt
  • 1 1/2 cups (255 g) dairy-free chocolate chips (certified dairy free)

Preheat oven to 375°F (190°C). Line two baking sheets with parchment. In a large bowl, beat softened butter and sugars with a hand mixer for 2–3 minutes until light and fluffy. Beat in egg and vanilla until just combined. In a separate bowl, whisk flour, baking soda, baking powder, and salt. Gradually add dry ingredients to wet, mixing on low until no flour streaks remain. Fold in chocolate chips with a spatula.

Scoop 2-tablespoon portions (about 30 g each) onto prepared sheets, spacing 2 inches (5 cm) apart. Bake one sheet at a time in the center rack for 10–12 minutes, until edges are golden and centers look set but soft. Rotate the sheet halfway through. Cool on the sheet for 5 minutes, then transfer to a wire rack to cool completely.

Why Cookies Spread Too Much or Fall Flat

Dairy-free cookies often spread excessively due to fat temperature or moisture content. If the butter substitute is too warm (above 70°F / 21°C), it melts too quickly in the oven, causing flat, greasy cookies. Chill the dough for 30 minutes before baking to firm the fat. If cookies spread and brown too fast, reduce oven temperature to 350°F (175°C) and increase bake time by 2–3 minutes.

Flat, dense cookies usually signal insufficient leavening or overmixing. Baking soda loses potency after 6 months—test it by mixing 1/4 teaspoon with 2 tablespoons hot water; it should fizz vigorously. Overmixing develops gluten, making cookies tough. Mix just until the flour disappears after adding dry ingredients. Also, measure flour by spooning into a cup and leveling—it should weigh 4 1/4 ounces (120 g) per cup. Scooping packs it down, adding up to 20% extra flour and drying out cookies.

Storage and Shelf Life

Cool cookies completely before storing to prevent sogginess. Keep in an airtight container at room temperature for up to 5 days. Layer with parchment paper to avoid sticking. For longer storage, freeze baked cookies in a single layer on a sheet until firm, then transfer to a freezer bag for up to 3 months. Thaw at room temperature for 20 minutes.

Dough can be refrigerated for up to 3 days or frozen for up to 3 months. For frozen dough, bake straight from the freezer—add 2–3 minutes to the bake time. Thawed dough may need an extra 1–2 minutes if refrigerated. Always check doneness by visual cues (golden edges, set center) rather than time alone, as oven temperatures vary.

Common Substitution Errors and Fixes

Using melted coconut oil instead of solid causes spread: chill the dough 30 minutes before baking to reset the fat structure. If cookies taste overly sweet or gummy, reduce sugar by 1–2 tablespoons and add 1/4 teaspoon xanthan gum to improve texture. Using sweetened non-dairy milk without adjusting sugar leads to cloying cookies—stick to unsweetened varieties unless the recipe specifies otherwise.

Flax eggs can make cookies denser and grainier than real eggs. For a closer texture, use 1 tablespoon applesauce + 1/4 teaspoon baking powder per egg, or a commercial egg replacer like Bob’s Red Mill. If your cookies crack or collapse after baking, the oven may be too hot—use an oven thermometer to verify accuracy. Most home ovens run 25°F (14°C) off-target.

How to Verify a Product Is Truly Dairy Free

Check labels for both milk-derived ingredients and cross-contamination warnings. Ingredients to avoid: whey, casein, lactose, milk solids, sodium lactate, curd, and any “may contain milk” advisory. Certified dairy-free labels (like the GFCF symbol) are safest, but not all products carry them. Look for “plant-based” or “vegan” certifications on chocolate chips and butter substitutes—they often exclude dairy but confirm with the ingredient list.

For homemade recipes, ensure tools and surfaces are free of dairy residue. Wash bowls, beaters, and spatulas in hot, soapy water before use. If sharing kitchen space with dairy users, dedicate one set of baking tools to dairy-free tasks. Even trace amounts can trigger reactions in highly sensitive individuals.