Guide

Adapting peanut butter cookies for diabetics — why raw vs. roasted peanuts changes the answer

"How many carbs are in a diabetic peanut butter cookie" sounds like it should have one clean answer. It doesn't: the peanut butter itself carb-counts differently depending on how the peanuts were prepared, and most recipes never say which one they mean. This guide lays out both figures, names the gap between them, and shows how to check your own jar.

Database v0.0.1 (draft) — updated 2026-07-21

In the repair

sugar (by sweetness)sweetener (by bulk)
A slice of layered chocolate cake with berry glaze on top, cut open to show its texture

How many carbs are actually in the peanut butter?

This is the one place in this guide where RecipeMend's own database admits it doesn't have a single clean answer, and that part is worth reading closely rather than skimming past. Database v0.1's draft entry for peanuts carries a carb figure of roughly 21.5-21.7g per 100g, sourced to USDA for dry-roasted peanuts. The same verification pass flagged that USDA's figure for RAW peanuts runs closer to 16.1g per 100g: a real, prep-dependent gap of about 5.5g per 100g. A recipe (or a jar) that just says "peanut butter" doesn't tell you which peanut it started from. Most commercial peanut butter is made from roasted peanuts, so the higher figure is the safer default assumption, though the only way to know for certain is to check what's actually in front of you.

Source: data/diabetic.json "peanuts" entry (carbs_g_per_100g 21.5-21.7, dry-roasted, USDA FDC via nuthealth.org SR-Legacy chart) and data/SOURCES.md verification-pass note: "peanuts — draft 21.5-21.7 = dry-roasted; USDA raw = ~16.1. Prep-dependent; low-impact either way. NOT edited (prep unspecified)."

How do I resolve it for my own jar?

Three checks, in order of how much they actually move the number. First, roasted vs. raw: the label or ingredient list usually says "roasted peanuts" or "dry-roasted peanuts" explicitly, and if it doesn't say raw, assume roasted (21.5-21.7g/100g is the safer default). Second, added sugar: many commercial peanut butters list sugar, or occasionally corn syrup, as a separate ingredient for spreadability. That's carbohydrate on top of the peanut figure rather than folded into it, and RecipeMend's database doesn't carry a distinct "commercial peanut butter" entry, precisely because that number varies brand to brand. Third, natural vs. no-stir: an oil-separating "natural" peanut butter with just peanuts and salt is closer to the plain peanuts figure than a shelf-stable spread with added sweeteners. Read the label once, and you've resolved more uncertainty than either raw-vs-roasted figure alone would.

Source: data/diabetic.json "peanuts" entry and its sourcing note (USDA FDC, prep-dependent). Commercial peanut butter as a distinct product is not in Database v0.1 — no figure is asserted for it here.

Does the raw-vs-roasted gap actually change whether the cookie is diabetic-friendly?

Less than you'd think, for a different reason than the sweetener swap. Peanuts sit in RecipeMend's low-impact bucket under both the roasted and raw figures. The database's own reasoning is that peanuts are a legume with high fiber and protein content that blunts glycemic relevance, to the point that GI isn't considered clinically meaningful for whole peanuts at all (confidence: none, no value assigned). So the roasted-vs-raw gap matters if you're counting grams of carbohydrate precisely, for a diabetic-specific meal plan, say, but it doesn't flip peanut butter into a different risk category either way. The sweetener you swap into the cookie dough does far more work on blood sugar impact than the peanut-carb figure you pick.

Source: data/diabetic.json "peanuts" entry — bucket: "low-impact", gi.confidence: "none", why: "legume with high fiber+protein blunting glycemic relevance; GI not clinically meaningful for whole peanuts."

Why peanut butter cookies are unusually forgiving of a sugar swap

Most sugar-free baking failures come from a batter or dough that depended on sugar for structure as much as sweetness: sugar holds moisture, tenderizes gluten, and in a meringue it IS the structure. Peanut butter cookies start from a different place. The dough is fat- and protein-structured: the peanut butter itself (mostly fat and protein) plus the egg do the load-bearing work that flour's gluten network or whipped sugar-and-egg-white would do elsewhere. Sugar in a standard peanut butter cookie recipe works more like one input among several, in the same structural category as the fat-dependent, butter-forward doughs (chocolate chip, oatmeal, shortbread-style drop cookies) that Database v0.1's cookie-context swap guidance treats as the most forgiving group for a sweetener swap, rather than the scaffolding the whole thing depends on. This is a structural, mechanistic point about how the dough holds together. It isn't a Database v0.1 figure specific to peanut butter, but it explains why the classic flourless version works at all.

The flourless 3-ingredient version (peanut butter, egg, sweetener, with no flour and no leavening) makes this most visible. With gluten out of the picture entirely, the peanut butter's own fat/protein structure and the egg's binding carry the whole cookie, and a sugar swap changes surface texture and browning more than it changes whether the cookie holds together. Swapping erythritol in tends to make the flourless version firmer and drier, more crumbly at the edges, the same direction Database v0.1's cookie-context guidance documents for erythritol generally. Allulose's faster, darker Maillard browning, meanwhile, means a flourless cookie's characteristic crosshatch top can look done well before the center has set, since there's no flour structure underneath to visually signal "not baked through" the way a risen cookie would.

  1. 1. Check whether your peanut butter is roasted or raw before counting carbs.

    Most jars are roasted; if the label doesn't say raw, assume the higher figure (roughly 21.5-21.7g carbs/100g). Raw peanuts run closer to 16.1g/100g. This is a real prep-dependent gap, not database imprecision: Database v0.1 flags it explicitly rather than picking one number and hiding the disagreement.

    Source: data/diabetic.json "peanuts" entry; data/SOURCES.md UNRESOLVED note on peanuts (roasted 21.5-21.7 vs. raw ~16.1).
  2. 2. Read the ingredient list for added sugar or corn syrup.

    Commercial peanut butter often adds sugar for spreadability, and that carbohydrate sits outside the "peanuts" figure entirely and varies by brand. A jar listing only peanuts and salt is the cleanest match to the database figure; anything else needs its own label check.

    Source: no Database v0.1 entry exists for commercial peanut butter as a distinct product — flagged here as a gap, not asserted.
  3. 3. Swap the recipe's sugar by bulk, not by sweetness: same rule as any dough.

    Match the volume the original sugar occupied, not an amount that "tastes about as sweet." Erythritol and allulose are both less sweet than sugar by weight, so an undersized swap under-delivers the bulk that shapes spread and crumb even in a fat-structured dough like this one.

    Source: Database v0.1 substitution_ratio_vs_sugar fields, erythritol and allulose.
  4. 4. Erythritol: expect a drier, more crumbly cookie, especially in the flourless version.

    Swap 1:1 by volume. Without flour's gluten network to hold moisture, a flourless peanut butter cookie already leans dry, and erythritol's own drying, recrystallizing behavior compounds that. Cool completely before judging texture.

    Source: Database v0.1 white-sugar→erythritol swap_rule (context: cookies).
  5. 5. Allulose: drop the oven temperature and check the center, not the classic fork crosshatch.

    Use roughly 1⅓ cups allulose per cup of sugar and reduce oven temperature about 25-35°F. Allulose's faster browning can make the fork-marked top look fully baked before the center has actually set, especially in the flourless version, where there's no risen crumb to signal underbaking.

    Source: Database v0.1 white-sugar→allulose swap_rule (context: cookies).
Educational, not medical advice. If you manage diabetes with insulin or another clinical protocol, confirm any recipe or sweetener change with your clinician or dietitian.

Don't want to work out the bulk-vs-sweetness math, or the roasted-vs-raw peanut question, by hand? Paste your peanut butter cookie recipe, and for each ingredient RecipeMend flags what to swap it for, how much to use, and where the number came from, all in one pass.

 Paste your cookie recipe into the tool 

FAQ

How many carbs are in diabetic-friendly peanut butter cookies?

It depends on more than the sweetener swap — the peanuts themselves carb out differently depending on how they were prepared. Database v0.1's own entry for peanuts is flagged unresolved for exactly this reason: the draft figure of roughly 21.5-21.7g carbs per 100g is for dry-roasted peanuts, while USDA's raw-peanut figure runs closer to 16.1g per 100g. A recipe or a jar that just says "peanut butter" doesn't tell you which peanut you're getting, and neither number is wrong — they're measuring different foods. Either way, peanuts land in RecipeMend's low-impact bucket: even at the higher figure, the fat and protein in a typical serving blunt the glycemic relevance enough that the sweetener swap in the recipe matters far more than which peanut-carb number you use.

Does it matter if my peanut butter is raw or roasted?

For carb-counting precision, yes — that's the roughly 5.5g-per-100g gap between Database v0.1's dry-roasted draft figure (21.5-21.7g) and USDA's raw-peanut figure (16.1g). For blood sugar impact in a cookie, less so: peanuts sit in the low-impact bucket either way, since the fat/protein structure (not the carbs) dominates how the food behaves. The bigger practical variable is what ELSE is in the jar — many commercial peanut butters add sugar or corn syrup that isn't accounted for in a plain "peanuts" figure at all, which is a separate ingredient your own label needs to disclose.

Why are peanut butter cookies more forgiving of a sugar swap than other cookies?

Because peanut butter itself is doing structural work that sugar usually does elsewhere. A standard peanut butter cookie dough is fat- and protein-heavy (the peanut butter plus the egg) rather than sugar-structured, so it sits closer to the fat-dependent side of the spread/browning behavior Database v0.1 documents for chocolate chip and shortbread-style doughs than to a meringue, where sugar itself is load-bearing. That's a structural, mechanistic point, not a Database v0.1 figure specific to peanut butter — but it's why the classic flourless 3-ingredient version (peanut butter, egg, sweetener) holds together at all without flour's gluten network to fall back on.

Does commercial peanut butter have hidden sugar?

Often, yes — and it's not captured by a plain "peanuts" carb figure. Many commercial peanut butters add sugar, and sometimes corn syrup, as separate ingredients for spreadability and shelf stability. RecipeMend's database doesn't carry a verified carb figure for commercial peanut butter as a distinct product (only for peanuts themselves), so the only reliable check is the jar's own nutrition label and ingredient list: does it say "peanuts" and "salt" only, or does sugar appear on the ingredient list? That answer changes the carb math more than the raw-vs-roasted question does.

Want this same rigor applied to your own recipe?

19 one-time

Paste your peanut butter cookie recipe and get, for every ingredient, what to swap it with, how much to use, and where the figure comes from, in one printable report.

 Repair your own recipe