Recipe schema

On this page 7

Recipe schema is the Schema.org Recipe type used as structured data to describe a dish in machine-readable form: its name, image, ingredients, preparation steps, cooking times, yield, nutrition and ratings. In SEO, it is the markup that makes a recipe page eligible for recipe rich results, the visual search listings that show a photo, star rating, total time and sometimes calories directly on the results page.

The markup does not change what visitors see on the page. It restates visible content in a standardized vocabulary, most often as JSON-LD, so that search engines can parse the recipe reliably and present it in carousels, image results and other recipe features.

How Recipe schema describes a dish

Recipe schema works by mapping each visible element of a recipe to a defined property of the Recipe type. A search engine reading the page no longer has to guess which list contains ingredients or which number is the baking time; the markup states it explicitly. Recipe inherits from HowTo and CreativeWork, so it also accepts general properties such as author, datePublished and description.

Times are expressed as ISO 8601 durations, for example PT20M for twenty minutes or PT1H30M for ninety minutes. Instructions are best supplied as an ordered list of HowToStep objects, optionally grouped into HowToSection objects for multi-part recipes such as a cake with a separate frosting. Ingredients are plain text strings in recipeIngredient, one quantity and item per entry.

The table lists the properties that carry the most weight for search features.

PropertyExpected valueSearch role
nameTextRequired title of the dish
imageURL or ImageObjectRequired thumbnail for rich results
recipeIngredientList of text stringsIngredient display and matching
recipeInstructionsHowToStep or HowToSection listStep display and guided use
prepTime, cookTime, totalTimeISO 8601 durationTime shown in the listing
recipeYieldText or numberServings or quantity
nutrition.caloriesNutritionInformationCalorie figure in results
aggregateRatingAggregateRatingStar rating display
Core Recipe schema properties and their purpose

Google treats only name and image as required for recipe rich results; the remaining properties are recommended but strongly influence how complete and attractive the listing becomes. A page with just the two required fields is technically eligible yet often displays as a sparse result that competes poorly against fully marked-up recipes.

Images deserve particular care. Google advises high-resolution images in several aspect ratios, typically 16:9, 4:3 and 1:1, because different surfaces crop differently. The image must show the finished dish and be crawlable, which means it cannot be blocked by robots rules or served only after login.

TierExample propertiesEffect when present
Requiredname, imageBasic eligibility for recipe features
Strongly recommendedaggregateRating, totalTime, authorStars, time and attribution in listing
RecommendedrecipeIngredient, recipeInstructions, recipeYieldRicher detail and assistant use
Optional contextrecipeCuisine, recipeCategory, keywordsBetter topical classification
Mediavideo as VideoObjectPossible video badge or preview
Field tiers and their effect on presentation

Recipe schema is one specialized type among many in the structured data toolkit, and it is often combined with neighboring types rather than replacing them. Choosing the correct type matters because rich result eligibility is tied to specific types; marking a recipe as a generic article forfeits recipe features.

Markup typePrimary purposeRelationship to Recipe
HowTo schemaNon-food step-by-step tasksParent type; Recipe adds food properties
Article schemaNews and editorial contentCan coexist on a recipe blog post
VideoObject schemaVideo metadataNested in video property
Review snippetRatings and reviewsSupplies aggregateRating or review
ItemListLists of entitiesGroups recipes for host carousels
BreadcrumbListSite hierarchyComplements recipe pages in navigation
Recipe schema and neighboring structured data types

Syntax is a separate decision from vocabulary. The same Recipe properties can be expressed in JSON-LD, Microdata or RDFa, but JSON-LD is the format Google recommends because it sits in a single script block and is easier to maintain without touching the visible HTML.

Implementing and validating Recipe markup

Reliable implementation follows a generate, validate, monitor cycle. Most food sites output Recipe markup through a recipe card plugin or a template, which keeps the structured data synchronized with the visible card. Hand-written markup is workable for small sites but drifts easily when editors change quantities or times.

  1. Generate JSON-LD from the same data source that renders the visible recipe card.
  2. Test the URL in the Rich Results Test to confirm eligibility for recipe features.
  3. Check vocabulary conformance in the Schema Markup Validator for non-Google properties.
  4. Monitor the Recipes report in Search Console for errors and warnings after deployment.
  5. Retest after template changes, since theme updates frequently break nested objects.

For sites with many recipes on a category page, a host carousel can be enabled by adding an ItemList on the summary page that points to individual recipe URLs, each of which carries its own complete Recipe markup.

Common errors and policy risks

Most failures come from mismatch between markup and visible content or from malformed values. Google’s structured data guidelines require that marked-up information be visible to users on the page; hidden ratings or invented nutrition values can trigger a manual action that removes rich result eligibility for the whole site.

SymptomLikely causeFix
Time missing from listingDurations written as plain textUse ISO 8601 such as PT45M
No rich result despite valid markupLow image quality or blocked imageSupply crawlable high-resolution images
Stars not displayedSelf-serving or hidden ratingsShow genuine user ratings on the page
Steps merged into one blockInstructions as a single stringSplit into HowToStep objects
Manual action noticeMarkup describes content not shownAlign markup with visible recipe
Frequent Recipe schema problems and fixes

A final caution concerns expectations. Valid markup grants eligibility, not a guarantee; search engines decide case by case whether to show a rich result based on query, quality and layout.

Put simply

Think of Recipe schema as a neatly filled-in recipe card that a website hands to search engines alongside the normal page. People read the page with its photos and stories. Search engines read the card, which lists the dish name, the picture, the ingredients, the steps and how long everything takes.

Because the card follows a shared format, search engines can show a recipe with its photo, rating and cooking time right in the results. The main point is that the card must match what is really on the page, or the search engine stops trusting it.

In practice

A home cooking blog publishes a weeknight lentil soup. The visible recipe card lists eight ingredients, five steps, a prep time of 15 minutes, a cook time of 35 minutes, four servings and 310 calories per bowl. The recipe plugin outputs matching JSON-LD with prepTime set to PT15M, cookTime to PT35M, three images in 16:9, 4:3 and 1:1 ratios, and an aggregateRating drawn from 62 reader ratings displayed under the card.

The editor runs the page through the Rich Results Test, which reports one warning about a missing video property and no errors. Within a few weeks, the soup appears in the recipe carousel with its photo, a 4.7-star rating and 50-minute total time. The listing stands out against plain blue links, and the blog sees a noticeably higher click-through rate on lentil soup queries than its older, unmarked recipes achieve.