This homemade Oreo cookie recipe is my version of the classic treat. With dense, dark cocoa cookies and a thick vanilla creme filling, these cookies capture all the familiar flavor with a fresher, richer taste. I set out to match the ingredients of the originals as closely as possible, so these are also egg-free, dairy-free, and completely vegan.
Satisfy your urge for these iconic cookies with this straightforward version, created entirely from scratch using familiar ingredients.
I’ve included a handy chart so you can customize the filling amount to suit your taste. Plus, I've provided variations with easy instructions to make four different filling flavors.

After developing a recipe for chocolate wafer cookies with their signature black cocoa color and flavor, I was eager to create an Oreo cookie recipe. I knew it would be a challenge to recreate a commercial cookie favorite, but I didn't anticipate it taking three full weeks of recipe testing. However, all that effort paid off. I'm SO happy with the results - I can't wait to for you to make these!
With only the Oreo cookie ingredients from the back of the package as a guide, I made 14 different versions of the Oreo cookies in order to hone in on just the right color, texture and flavor, down to the sound of the cookie as it snaps. The Oreo filling recipe took me 11 tries to perfect. I wanted it to have the same taste, feel and thick consistency as the store-bought version.
I also wanted the cookies and filling to be egg free, dairy free and vegan, just like Oreos. There are plenty of butter-based recipes out there, but my goal was to closely mimic the original. Butter in the cookies and filling, while delicious, changes the flavor.
These have palm shortening in both the cookie and the filling. It's solid at room temperature and has a pure white color and neutral taste. Palm shortening is not hydrogenated and contains no trans fats.
Needless to say, we've eaten a LOT of homemade Oreos. I thought I'd tire of them, but I'm still happily reaching for the cookie jar. They're fresher and more flavorful all around, but similar enough in look, feel and taste to the packaged variety to satisfy picky eaters.
I scraped the filling off a real Oreo and replaced it with my own version; my kids couldn't tell the difference. (This from girls who know when I've used store brand condiments). My cookie version, while lacking the classic pattern, shares the unique combination of dense snap, light crunch, and dark cocoa flavor.
In the ingredient notes below, I share why each ingredient is important, and what it contributes to the recipe.
As with all my recipes (but this one especially), I highly recommend you use a digital scale to measure your ingredients. In my recipe tests, I frequently made minimal changes (like adding a Tablespoon of flour, which is 7.5 grams) that had a significant impact on the outcome.
For more chocolate sandwich cookies, try these chocolate coffee mascarpone cookies or chocolate hazelnut Baci di Alassio. And for another cookie recipe inspired by a store brand, try these Nutella Biscuits!
More of a vanilla cookie person? Check out my recipe for Golden Oreos!
Jump to:
Yield
- This homemade Oreo recipe makes 44 filled sandwich cookies.
- That's 88 cookies that are 1¾ inches (2 cm) in diameter.
- The Oreo filling recipe makes about 250 grams of filling.
- My Oreo sandwich recipe uses 5 grams of filling per cookie, which is enough to fill 50 cookies.
- For comparison, a standard pack of Oreos contains 36 cookies, and a family pack has 48 cookies.
Ingredients
I've very thoroughly tested this recipe using the ingredients below. Each one plays a critical role in making sure these cookies turn out similar to Oreos!
* See recipe card for full list of ingredients and quantities.
All purpose flour - Sift your flour to avoid white lumps in the dark chocolate dough.
Shortening - This recipe specifically calls for room temperature palm shortening. I use Spectrum brand, which is sustainably sourced and ethically harvested.
Shortening is 100% fat (no water content, unlike butter), which is key to achieving a crisp, snappy cookie and a thicker cookie filling with less powdered sugar.
Its neutral flavor and bright white color creates a filling where the vanilla flavor plays center stage. It also has a higher melting point than butter so the filling doesn't need refrigeration to stay firm.
Granulated sugar - I like to use granulated sugar for the cookies as it's always in my pantry. Powdered sugar can create a smoother but slightly more dense dough. I like the texture of granulated sugar here.
Powdered sugar - Powdered sugar sweetens and thickens the homemade Oreo filling.
Corn starch - Corn starch add lightness and a more powdery texture to the cookies. In the filling, it's a key ingredient for achieving that thick Oreo filling consistency without contributing additional sweetness.
Light corn syrup - Clear, light corn syrup adds moisture (to help bind) and density to the cookies. In the filling, corn syrup adds slight chew and shine. It also helps reduce sugar crystal formation so that the filling stays soft longer rather than drying out.
Dutch cocoa powder - Dutch cocoa has been alkalized, which creates a darker, smoother flavored cocoa with less acidity. It's a critical ingredient in this recipe as it provides the majority of the rich chocolate flavor. Don't use natural cocoa, which will react with the leaveners and change the texture.
Black cocoa powder - Black cocoa has been highly alkalized and is very dark - almost black in color. It has less chocolate flavor than Dutch cocoa, so I’ve used just enough to achieve the signature dark Oreo color and taste while still letting the rich taste of Dutch cocoa shine through.
I tried plenty of versions without black cocoa, but found it was a critical ingredient (in my opinion*). If you substitute Dutch cocoa, you'll have a great cookie, but it won't be an Oreo copycat.
Black cocoa is an ingredient you'll likely have to purchase online, but it's worth it and will last you a long while! I recommend Cocoa Trader, King Arthur Flour and Modern Mountain brands.
* Stella Parks' Oreo cookie recipe uses only Dutch cocoa and calls for heavily dusting the exterior of the cookies with Dutch cocoa when rolling. The cocoa-dusted cookies turns black when baking.
This is a genius shortcut method, but in my recipe tests didn't provide a traditional "Oreo" flavor to my cookies. And while the exterior of the cookie baked up black, the interior was still a much paler brown.
Kosher salt - Desserts taste better with a bit of salt! I use Diamond Crystal kosher salt. Salt enhances the chocolate cookie flavor, and helps temper the sweetness of the filling.
Imitation vanilla flavoring - To best mimic the sweet, bakery style, vanilla-forward flavor of Oreo cookies, it's important to use artificial vanilla, which has a very specific flavor.
I feel strange even writing that, since 99% of the time I use pure vanilla extract in my baking. This is one exception. Feel free to substitute with pure vanilla, but understand that it will change the taste, especially in the filling!
Baking soda - Baking soda provides a bit of leavening.
Cream of tartar - Cream of tartar is a powdered acidic leavening agent. Without the cream of tartar, the cookies don't have enough acidic ingredients to activate the baking soda. It's an important ingredient that gives just enough lift to create a lighter cookie that's not too dense or hard.
Instructions
These photos provide basic visual cues. Find detailed instructions in the recipe card.
Combine sifted flour, corn starch, cocoa powders, baking soda, salt and cream of tartar in a medium bowl.
Whisk until fully combined and set aside.
Add shortening and granulated sugar to a large mixing bowl.
Mix well until combined.
Add corn syrup and vanilla, and mix until fully incorporated. Scrape bowl as needed.
Add dry ingredients and mix on low speed for about 1 minute.
Scrape bowl and paddle well, and mix on low until dough comes together, about 30 seconds to 1 minute.
Divide dough into 2 even pieces.
Roll one piece between two sheets of parchment paper to a thickness of ⅛ inch (3 mm).
Cut out circles using a 1¾ inch (4.5 cm) round cookie cutter.
If dough cutouts are still cool enough to be workable, proceed. If dough is sticky and warm, place in fridge on a baking sheet 2-3 minutes before moving on to next step.
Slide a small offset spatula under the base of each cookie cutout to loosen it from the parchment. Using the spatula, transfer cutouts to a parchment lined baking sheet. Cookies can be placed quite close together. Repeat rolling and cutting with second portion of dough and any leftover scraps.
Bake one pan at a time on center rack of oven for 11 minutes at 350 degrees Fahrenheit (177° Celsius, Gas mark 4).
For filling, add shortening, corn syrup, vanilla and salt to a large mixing bowl.
Mix well until fully blended together.
Add sifted powdered sugar and corn starch to wet ingredients.
Start mixer on low speed and then increase to medium speed for about 1 minute. Filling should begin to come together.
Scrape sides and bottom of bowl well. Continue mixing on medium speed until filling pulls together into a ball.
Scoop filling into 1 teaspoon (5 gram) portions. Roll between your hands to form a round ball. Place ball on bottom side of a cookie, and top with another. Press down gently to stick together, stopping before filling reaches edges of cookies.
Rolling each scoops of filling between your hands will warm it slightly, making it softer and easier to press the cookies together without breakage.
Filling options
Modify the amount of filling depending on your preference. Use this handy chart to recreate your favorite kind!
Flavor variations
Create different Oreo filling flavors by making the following modifications to the base filling recipe:
Coffee Oreo Filling - Dissolve 2 teaspoons instant espresso powder in the vanilla and corn syrup before adding to the shortening. For an extra boost, stir in another 1 teaspoon espresso powder with the dry ingredients.
Chocolate Oreo Filling - Add 2 tablespoons (10 grams) sifted Dutch-process cocoa powder along with the dry ingredients. This gives the filling a rich, chocolatey flavor that doubles down on the classic combo.
Mocha Oreo Filling - Make the coffee Oreo filling as above, then add 2 tablespoons (10 grams) sifted Dutch-process cocoa powder with the dry ingredients.
Orange Oreo Filling - Perfect for Halloween or citrus lovers! Replace the vanilla extract with orange oil (not extract) in the same amount. Add a small amount of orange gel food coloring if you’d like a festive look.
Note: I recommend Simply Organic, Frontier Co-op or LorAnn orange oils—they're oil-based and have a more natural, concentrated flavor than standard orange extract.
For lemon, lemon poppy seed and matcha creme fillings, check out the Flavor Variations section in my homemade Golden Oreo cookie recipe.
Half and Half Filling Method - Scoop a teaspoon (5g) of each filling and slice each scoop in half. Press one half of each flavor together side by side and gently roll to smooth the seam. Place the combined filling ball on one cookie with the seam facing up so each flavor stays evenly divided, then top with the second cookie to sandwich.
Love this recipe? Please leave a comment and star rating. ★★★★★ Your feedback, suggestions, and adaptations are very helpful to other bakers!
📖 Recipe
Oreo Cookies
INGREDIENTS
Oreo Cookies
- 165 grams (1⅓ cups + 1 teaspoon) all purpose flour, sifted
- 48 grams (¼ cup + 2 Tablespoons) corn starch, sifted
- 20 grams (¼ cup) cocoa powder, Dutch process, sifted
- 10 grams (1 Tablespoon + 1 teaspoon) black cocoa powder, sifted (*see notes below)
- ½ teaspoon baking soda, sifted
- ½ teaspoon kosher salt, Diamond Crystal
- ½ teaspoon cream of tartar, sifted
- 96 grams (½ cup) palm shortening, room temperature (I use Spectrum brand)
- 125 grams (½ cup + 2 Tablespoons) granulated sugar
- 26 grams (20 mL, 1 tablespoon + 1 teaspoon) corn syrup, light
- 20 mL (1 Tablespoon + 1 teaspoon) imitation vanilla extract, for authentic Oreo flavor
Oreo Creme Filling
- 96 grams (½ cup] palm shortening, room temperature (I use Spectrum brand)
- 13 grams (10 mL, 2 teaspoons) corn syrup, light
- 2.5 mL (½ teaspoon) imitation vanilla extract, for authentic Oreo flavor
- ⅛ teaspoon kosher salt, Diamond Crystal, rubbed between fingers until powdery
- 150 grams (1¼ cups) powdered sugar, sifted
- 8 grams (1 Tablespoon) corn starch, sifted
INSTRUCTIONS
Oreo Cookies
- Preheat oven to 350 degrees Fahrenheit (177° Celsius, Gas mark 4) with a rack in the center of the oven.
- In a medium bowl, whisk together flour, corn starch, cocoa powders, baking soda, salt and cream of tartar. Set aside.165 grams (1⅓ cups + 1 teaspoon) all purpose flour, 20 grams (¼ cup) cocoa powder, 10 grams (1 Tablespoon + 1 teaspoon) black cocoa powder, 48 grams (¼ cup + 2 Tablespoons) corn starch, ½ teaspoon baking soda, ½ teaspoon kosher salt, ½ teaspoon cream of tartar
- In the bowl of a stand mixer fitted with the paddle attachment, beat palm shortening and sugar together on medium-low until well combined. Scrape bowl down several times between mixing to fully incorporate ingredients.96 grams (½ cup) palm shortening, 125 grams (½ cup + 2 Tablespoons) granulated sugar
- Add corn syrup and vanilla. Mix on medium speed until fully incorporated. Scrape bowl.26 grams (20 mL, 1 tablespoon + 1 teaspoon) corn syrup, 20 mL (1 Tablespoon + 1 teaspoon) imitation vanilla extract
- Add dry ingredients and mix on low speed for about 1 minute. Scrape bowl and paddle well, and mix on low until dough comes together, about 30 seconds to 1 minute.
- Gather dough together and divide into 2 equal portions. Working with smaller portions of dough means you’ll extract more usable cutouts from each roll. This reduces re-rolling, which can activate more gluten and make the dough tougher. It can also lead to air in the dough, which creates bubbles when baked.
- Roll one portion between two sheets of parchment paper until ⅛ inch (3 mm) thick. I use pastry guides to ensure precise thickness. Remove top layer of parchment.
- Use a round cookie cutter to cut cookies into 1¾ inch (4.5 cm) circles. Use a small offset spatula to transfer cutouts to parchment lined baking sheet.The cookies will not spread - they can be placed quite close together. I can fit about 30-35 cookies on a half sheet pan.
- Bake one pan at a time for 11 minutes. Fully cool cookies on baking sheet.If a few of the cookies have bubbly tops, gently press them down with the bottom of a measuring cup. Press gently, don't compress the cookies. They should flatten back out.
- Gather scraps into a ball and roll again until all dough has been used.
- Repeat with second portion of dough.
Oreo Filling
- To the bowl of a stand mixer fitted with the paddle attachment, add shortening, corn syrup, vanilla and salt.96 grams (½ cup] palm shortening, 13 grams (10 mL, 2 teaspoons) corn syrup, 2.5 mL (½ teaspoon) imitation vanilla extract, ⅛ teaspoon kosher salt
- Mix on medium speed until fully incorporated, scraping bowl as needed to ensure ingredients are well combined.
- Add powdered sugar and corn starch. Begin mixing at low speed, then increase speed to medium and mix until filling begins to form small clumps.8 grams (1 Tablespoon) corn starch, 150 grams (1¼ cups) powdered sugar
- Scrape bowl and paddle well. Continue mixing on low speed until filling pulls together into a ball.
Assembly
- Using a #110 scoop or a teaspoon, scoop a leveled amount of filling out of the bowl. Using your hands, roll it into a small ball. It should weigh 5 grams. Standard Oreo cookies have about 4 grams of filling per cookie. I prefer a bit more filling, so I've bumped it up to 5 grams per cookie.
- Turn a cookie upside down and place the ball of filling in the center. Place another cookie right-side-up on top of the filling and press gently.
- Pick the cookie up and turn it sideways so you can see the filling (this will help you press the filling evenly.) Gently press using both hands until the filling is the same thickness as one of the cookies. It won't quite extend to the edges.
- Repeat process until all cookies are filled.
EQUIPMENT
- Pastry dough guides (3 mm | ⅛ inch) — I use the Fat Daddio brand pack with 3 sizes
- 1¾ inch (4.5 cm) round cookie cutter
- #110 cookie scoop (1 teaspoon)
NOTES
- No mixer? You can mix the dough by hand with a spoon. The shortening / sugar mixture doesn't need to be creamed and fluffy, just very well combined.
- You can substitute Dutch cocoa for the black cocoa, but you won't achieve the signature Oreo color or taste without it.
- * Black cocoa weight AND volume measurements are correct - my black cocoa weighs more per teaspoon than Dutch cocoa.
- I use imitation vanilla extract here (I know, weird!) rather than pure vanilla extract in order to best mimic store bought Oreo flavor. You can use pure vanilla, but it won't give the same sweet bakery-like vanilla flavor, especially in the filling.
- I use a 1¾ inch (4.5 cm) round cookie cutter, which is almost exactly the same size as a real Oreo.
- If your rolled dough is beginning to soften up and the cutouts are too soft to transfer, place the dough on a baking sheet in the freezer for about 2 minutes - just long enough to firm it up a little.
- Dark cookies can be hard to judge by color alone. For these, trust your nose—in the last few minutes of baking, your kitchen should begin to smells like rich, dark chocolate. The cookies should no longer be glossy.
- The cookies are fragile straight from the oven and will firm up significantly as they cool. Resist the urge to move them too soon—let them cool completely on the baking sheet first.
- The dough can be made ahead. Wrap it well and store in an airtight container in the fridge for up to 1 week, or freeze for up to 3 months. When ready to use, defrost in the fridge, then let come to room temperature before rolling.
- The filling can also be made ahead. Store filling in an airtight container at room temperature for up to a week. Knead it well by hand or use paddle attachment on mixer for about 30 seconds to improve texture.
- When making the filling, be sure to add the imitation vanilla at the beginning with the shortening and corn syrup. If you try to add it with the dry ingredients, it will bind with the corn starch and form small grainy lumps that are impossible to remove.
- If you'd like to make other copycat Oreo cookie versions like Thins, Double Stuf, Mega Stuf or Most Stuf with a yield of 44 cookies, you'll need to change the quantity of filling you make. Thins = ¾x filling batch, Double = 1.5x filling batch, Mega = 2x filling batch, and Most = 2.5x filling batch. Refer to my customizable filling chart for a visual reference.
- For coffee, chocolate, mocha, and orange filling variations, see the Flavor Variations section above.
- Store filled cookies in an airtight container at room temperature for up to 1 week, or freeze for up to 3 months.
- While delicious served immediately, these cookies benefit from resting overnight. The filling firms up nicely, and the flavors deepen, creating a more balanced texture and taste without losing that classic twist-apart quality.
Comments
No Comments