NEWAI Prompts Handbook: 200+ prompts and templates for better AI output.Get the book →
Structured data

What Is FAQ Schema? A Complete Guide to FAQPage Markup

What FAQ schema is, how FAQPage JSON-LD is structured, when Google shows it, and how FAQ sections help AI answer engines quote your content.

FAQ schema is FAQPage structured data: a JSON-LD block that lists the questions on a page and their accepted answers, so machines can read your FAQ as clean question-and-answer pairs. It's one of the simplest schema types to add, and FAQ sections are one of the most quotable formats for AI answer engines.

What FAQPage markup looks like

{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "How long does delivery take?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "UK orders arrive in 2 to 3 working days. Express delivery arrives the next working day if you order before 2pm."
      }
    },
    {
      "@type": "Question",
      "name": "Can I return an item?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. You can return unused items within 30 days for a full refund."
      }
    }
  ]
}

The structure is always the same: one FAQPage with a mainEntity array, where each item is a Question with a name and an acceptedAnswer containing text.

Does Google still show FAQ rich results?

Since 2023, Google shows FAQ rich results mainly for well-known, authoritative government and health websites. For most sites the expandable FAQ snippet no longer appears in standard results. That surprised many people who had added FAQ schema purely for the extra SERP space.

But FAQ content and markup still matter for AEO, for three reasons:

  1. Question-and-answer pairs are the native format of answer engines. A clearly labelled question followed by a concise answer is the easiest possible passage to quote.
  2. Markup confirms the structure. It tells parsers exactly where each question starts and ends.
  3. FAQs capture long-tail questions that your main copy doesn't cover, which is exactly where AI assistants get asked follow-ups.

FAQ schema rules to follow

  • The questions and answers must be visible on the page. Don't add markup for content users can't see.
  • One answer per question. If users can submit multiple answers, use QAPage instead.
  • No advertising in answers. Keep them informative.
  • Don't duplicate the same FAQ across many pages. Mark it up on the page where it lives.
  • Answers can include basic HTML such as links, lists and bold text, but plain text is safest.

How to write FAQs that get quoted

  • Use the real wording people search for. Check Google's "People also ask", Search Console queries, support tickets and sales calls.
  • Answer in the first sentence. Start with "Yes", "No", a number or a definition.
  • Keep most answers to 40 to 80 words. Long enough to be useful, short enough to lift.
  • Be specific: include prices, timeframes, conditions and units.
  • Update answers when facts change and show a last-updated date.

How to add FAQ schema to your site

  1. Write your questions and answers in the page content.
  2. Generate the JSON-LD with our free FAQ Schema Generator. It supports unlimited questions.
  3. Paste the output into the page <head> or before the closing </body> tag.
  4. Validate with the Schema Validator and Google's Rich Results Test.

If you prefer using an AI assistant, our guide on how to use ChatGPT to create an FAQ schema includes a tested prompt.

Adding FAQ schema in PHP

If your FAQs live in a MySQL table, generate the markup from the same data that renders the page so they never drift apart:

<?php
$faqs = $pdo->query("SELECT question, answer FROM faqs WHERE page_id = 12")->fetchAll();
$schema = [
  '@context' => 'https://schema.org',
  '@type' => 'FAQPage',
  'mainEntity' => array_map(fn($f) => [
    '@type' => 'Question',
    'name' => $f['question'],
    'acceptedAnswer' => ['@type' => 'Answer', 'text' => $f['answer']],
  ], $faqs),
];
echo '<script type="application/ld+json">' . json_encode($schema, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE) . '</script>';

Frequently asked questions

Is FAQ schema still worth adding in 2026?

Yes, if the page has a genuine FAQ section. Rich results are now limited for most sites, but the markup still clarifies your content's structure for search engines and AI systems at almost no cost.

Where should FAQ schema go on the page?

Anywhere in the HTML. Most sites put the JSON-LD script in the head or just before the closing body tag. Position doesn't affect how it's read.

How many questions should an FAQ have?

There's no fixed limit. Most effective FAQ sections have between four and ten questions that reflect what real users ask about that page's topic.

What's the difference between FAQPage and QAPage?

FAQPage is for a list of questions with one official answer each, written by the site. QAPage is for a single question with multiple user-submitted answers, such as a forum thread.