Java Chip Cookie Recipe: Rich, Chewy & Coffee-Forward

Updated November 7, 2026

Total time
1 hr 5 min
prep 20 min · cook 12 min
Serves
24
portions as written

Jump to recipe

Java Chip Cookie Recipe: Rich, Chewy & Coffee-Forward

Java chip cookies are a coffee lover’s dream: a soft, chewy chocolate chip cookie base infused with instant coffee and studded with chocolate chunks or chips. The coffee deepens the chocolate flavor rather than overpowering it, and the espresso powder adds a subtle warmth that makes these cookies taste like they came from a café. This recipe uses melted butter for extra chewiness and a mix of semisweet and dark chocolate for a balanced, not-too-sweet result.

Ingredients

  • 2 cups (250 g) all-purpose flour
  • 1 teaspoon baking soda
  • 1/2 teaspoon salt
  • 1 tablespoon (7 g) instant coffee granules or espresso powder
  • 1 tablespoon (15 ml) hot water
  • 3/4 cup (170 g) unsalted butter, melted and slightly cooled
  • 1 cup (200 g) packed light brown sugar
  • 1/2 cup (100 g) granulated sugar
  • 1 large egg, at room temperature
  • 1 large egg yolk, at room temperature
  • 2 teaspoons vanilla extract
  • 1 1/2 cups (255 g) semisweet chocolate chips
  • 1/2 cup (85 g) dark chocolate chunks (or extra chips)
  • Flaky sea salt, for topping (optional)

Instructions

  1. Preheat the oven to 350°F (175°C). Line two baking sheets with parchment paper.
  2. In a small bowl, dissolve the instant coffee granules in the hot water. Set aside to cool slightly.
  3. In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.
  4. In a large bowl, combine the melted butter, brown sugar, and granulated sugar. Whisk until smooth and no lumps remain.
  5. Add the egg, egg yolk, vanilla extract, and the dissolved coffee. Whisk vigorously until the mixture is well combined and slightly lighter in color, about 1 minute.
  6. Pour the dry ingredients into the wet mixture. Fold with a rubber spatula until just combined—do not overmix.
  7. Fold in the semisweet chocolate chips and dark chocolate chunks until evenly distributed.
  8. Cover the dough and refrigerate for at least 30 minutes (or up to 48 hours). This step is important for flavor and prevents spreading.
  9. When ready to bake, scoop the dough into 1.5-tablespoon balls (about 30 g each) and place them 2 inches (5 cm) apart on the prepared baking sheets.
  10. Bake for 11–13 minutes, until the edges are set and lightly golden but the centers still look slightly soft. The cookies will continue to set as they cool.
  11. Let the cookies cool on the baking sheet for 5 minutes, then sprinkle with flaky sea salt if desired. Transfer to a wire rack to cool completely.

Tips

  • Use instant coffee, not brewed coffee: Brewed coffee adds too much liquid and can make the dough sticky. Instant coffee or espresso powder dissolves easily and gives a concentrated flavor.
  • Chill the dough: The 30-minute chill is not optional. It solidifies the butter, which prevents the cookies from spreading too thin and helps develop a chewier texture.
  • Don’t overbake: Pull the cookies out when the centers look slightly underdone. They will finish baking on the hot sheet. Overbaking produces dry, crumbly cookies.
  • Substitute for coffee: If you don’t have instant coffee, you can use 1 tablespoon of finely ground espresso beans (not brewed) mixed into the flour. Or, omit the coffee and add 1 teaspoon of vanilla bean paste for a plain chocolate chip cookie.

Serving Suggestions

Serve these java chip cookies with a cold glass of milk or a hot latte. They’re also delicious crumbled over vanilla ice cream for an impromptu affogato-style dessert. For a coffee-shop vibe, sandwich two cookies with a scoop of coffee ice cream.

Variations

  • Mocha Nut: Add 1/2 cup (60 g) chopped toasted walnuts or pecans along with the chocolate.
  • White Chocolate Java: Swap the semisweet chips for white chocolate chips—the coffee pairs beautifully with white chocolate’s sweetness.
  • Gluten-Free: Substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. The dough may be slightly more fragile, so chill for 45 minutes.
  • Double Chocolate: Replace 2 tablespoons (15 g) of the flour with unsweetened cocoa powder for a richer, darker cookie.

Storage and Reheating

Store baked cookies in an airtight container at room temperature for up to 5 days. To keep them soft, add a slice of bread to the container—it absorbs excess air and keeps the cookies chewy. For longer storage, freeze the unbaked dough balls on a baking sheet, then transfer to a zip-top bag and freeze for up to 3 months. Bake directly from frozen, adding 2–3 minutes to the baking time. To reheat baked cookies, microwave for 10–15 seconds or warm in a 300°F (150°C) oven for 5 minutes.

Frequently Asked Questions

Can I skip the chilling step? You can, but the cookies will spread more and be flatter. Chilling also allows the coffee and vanilla flavors to meld, so the cookies taste better. If you’re in a hurry, at least chill for 15 minutes.

Why did my cookies turn out dry? Overbaking is the most common cause. Remove them from the oven when the centers look slightly underdone, and remember they continue to bake on the hot sheet. Also, measure flour correctly by spooning it into the cup and leveling off—too much flour makes cookies dry.

Can I use instant espresso powder instead of instant coffee? Yes, espresso powder is stronger and more concentrated. Use the same amount (1 tablespoon) for a more intense coffee flavor. If you prefer a milder coffee taste, use 2 teaspoons.

Can I make the dough ahead and freeze it? Absolutely. Shape the dough into balls, freeze on a baking sheet, then transfer to a zip-top bag. You can bake them straight from frozen, just add a few minutes to the baking time. The dough can be frozen for up to 3 months.

What if I don’t have dark chocolate chunks? Just use all semisweet chips, or substitute any chocolate you like—milk chocolate, bittersweet, or even chopped chocolate bars. The total amount of chocolate should be about 2 cups (340 g).

Can I use margarine or coconut oil instead of butter? Butter gives the best flavor and texture. Margarine will work but may produce a slightly different spread and taste. Coconut oil can be used in equal amounts, but the cookies may be more delicate and spread more—chill the dough longer (at least 1 hour) to compensate.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).