cookTime
cookTime · Recommended
Appears in
What is it?
cookTime records how long a dish spends actively cooking after preparation is complete. It covers oven time, stovetop time, grill time, or any other active cooking phase. The value uses ISO 8601 duration format.
Why this matters for AEO
When a user asks "how long does banana bread take to bake," AI answer engines pull cookTime directly from Recipe schema to give a specific number. Without it, the engine has to parse free text from instruction steps, which is less reliable and less likely to surface your recipe as the answer.
What the specs say
Schema.org:Duration. The time it takes to actually cook the dish, in ISO 8601 duration format. Source
Google: Recommended. "The time it takes to actually cook the dish in ISO 8601 format, if applicable." Source
Google notes "if applicable" because not all recipes involve cooking. Salads, no-bake desserts, and cold preparations do not need cookTime.
How to find your value
- Recipe card — The "Cook" or "Bake" time listed separately from prep
- Kitchen timer — Actual measured time from heat on to heat off
- Cookbook — The time range given in the method section
Convert to ISO 8601: 45 minutes = PT45M. 1 hour 10 minutes = PT1H10M. 2 hours = PT2H.
Format and code
Type: Duration (ISO 8601)
Pattern:PT[hours]H[minutes]M where components are optional.
{
"@type": "Recipe",
"name": "Banana Bread",
"cookTime": "PT1H10M"
}
PT30M— 30 minutesPT1H— 1 hourPT1H10M— 1 hour 10 minutesPT2H30M— 2 hours 30 minutes
Do not include prep time or resting time in cookTime. Those belong in prepTime and can be reflected in totalTime.
Webflow implementation
Static pages
Add to Page Settings > Custom Code (Before