All articles
How-To

How to Write FAQ Schema for AI Citations

September 12, 20268 min readIzajul HaqueIzajul Haque

Last verified: 2026-09-20. AI platform behavior changes frequently — verify current details on the respective platform's site.

FAQ schema uses Question and Answer types from schema.org to mark up Q&A content, making it machine-readable for search engines and AI engines — implement it with proper JSON-LD, validate with Google's Rich Results Test, and ensure each question maps to visible content on the page.

Key Takeaways

  • FAQ schema uses schema.org/FAQPage type with Question and acceptedAnswer properties for each Q&A pair.
  • Every question and answer must be visible on the page — schema must mirror on-page content, not contain hidden or different text.
  • Google has restricted FAQ rich results to authoritative sites, but AI engines like ChatGPT and Perplexity still use FAQ schema to understand and extract content.
  • Validate all FAQ schema with Google Rich Results Test or Schema.org Validator before deploying.
  • Avoid putting FAQ schema on pages that are not primarily Q&A content — misuse triggers Google manual actions.


FAQ schema is one of the highest-impact structured data types for AI visibility. It tells search engines and AI models exactly what questions your page answers and what the answers are — in a machine-readable format they can extract directly. This guide walks through writing valid FAQ schema that works for both traditional search and AI citation engines.

Step 1: Identify the questions your audience asks

Before writing any schema, you need the right questions. Use Google Search Console to find queries that trigger your page — look for question-based queries (how, what, why, when). Check People Also Ask boxes in Google for your target keywords. Use keyword research tools to find natural-language questions your audience searches.

Select 3-8 questions that are:

  • Directly relevant to the page topic
  • Questions people actually search for
  • Questions you can answer in 40-60 words

Do not invent questions no one asks. The value of FAQ schema is making real question-answer pairs machine-readable — not creating Q&A content for the sake of schema.

Step 2: Write concise question-answer pairs on the page

Write each question as a visible heading (H2 or H3) and each answer as a paragraph directly below it. The answers should be:

  • 40-60 words — concise enough to be extracted as a snippet
  • Self-contained — the answer makes sense without the question
  • Factual — not opinion or marketing copy
  • Quotable — this is the text AI engines will cite

Example on-page structure:

<h2>What is FAQ schema?</h2>
<p>FAQ schema is a type of structured data that uses schema.org vocabulary to mark up question-and-answer content on a web page. It helps search engines and AI models identify, understand, and extract Q&A pairs for use in featured snippets, voice answers, and AI-generated responses.</p>

Step 3: Create the FAQPage JSON-LD structure

Create a JSON-LD script block. The root type is FAQPage with a mainEntity array containing Question objects. Each Question has a name (the question text) and an acceptedAnswer containing an Answer object with a text property (the answer text).

Here is a complete, valid example:

{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What is FAQ schema?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "FAQ schema is a type of structured data that uses schema.org vocabulary to mark up question-and-answer content on a web page. It helps search engines and AI models identify, understand, and extract Q&A pairs for use in featured snippets, voice answers, and AI-generated responses."
      }
    },
    {
      "@type": "Question",
      "name": "How many questions should FAQ schema include?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Include 3 to 8 question-answer pairs per page. Each pair must be visible on the page and directly relevant to the page topic. Avoid stuffing dozens of questions, as excessive FAQ schema on non-Q&A pages can be considered spam."
      }
    },
    {
      "@type": "Question",
      "name": "Does FAQ schema help with AI citations?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. AI engines like ChatGPT, Perplexity, and Google AI Overviews use FAQ schema to identify and extract question-answer content. While Google has narrowed FAQ rich results to authoritative sites, the schema remains valuable for AI citation extraction and LLM readability."
      }
    }
  ]
}

Step 4: Match schema exactly to on-page content

This is the most critical requirement and the most common mistake. Every question and answer in your JSON-LD must appear word-for-word on the visible page. Google explicitly states this in their documentation. If your schema says one thing and your page says another, Google may issue a manual action.

Check each pair:

  • The question text in name matches the on-page heading exactly
  • The answer text in text matches the on-page paragraph exactly
  • No questions exist in schema that are not visible on the page
  • No answers are different from what the page displays

Step 5: Place the script tag in the page head or body

Add the JSON-LD as a <script> tag with type="application/ld+json". It can go in the <head> or at the end of the <body>:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [...]
}
</script>

Most CMS platforms support adding JSON-LD via custom HTML blocks, header injection plugins, or theme templates. If you use a tag manager, ensure the JSON-LD is rendered server-side or in the initial HTML — not injected after page load, because crawlers may not execute JavaScript reliably.

Step 6: Validate with Google Rich Results Test

Before deploying, test your page in Google Rich Results Test. Enter the URL or paste the HTML. The tool will show:

  • Whether the FAQ schema is detected
  • Any errors or warnings
  • How the rich result would appear

Fix all errors before deploying. Common validation errors include missing @context, incorrect @type values, and answer text that does not match on-page content. For more on structured data validation, see the technical SEO checklist. You can also use the free SEO tools to check related on-page elements.

Common mistakes

  • Hiding questions in schema that are not visible on the page — Google requires all Q&A pairs to be displayed on the page. Hidden schema is a violation and can trigger a manual action.
  • Using FAQ schema on non-Q&A pages — FAQ schema is for pages where Q&A is a primary content element. Adding it to a homepage, product page, or blog post without visible questions is misuse.
  • Including marketing copy as answers — Answers should be factual and informative. Promotional language reduces extractability and the likelihood of being cited by AI engines.
  • Not matching schema text to on-page text exactly — Even minor differences (a missing word, different punctuation) can cause validation errors or Google rejections.
  • Stuffing too many questions — Pages with 20+ FAQ entries look spammy. Keep it to 3-8 relevant, high-quality pairs. See AEO vs SEO for more on how FAQ schema fits into answer optimization.

For a comprehensive approach to AI visibility, explore AEO consulting and GEO consulting. The glossary covers related terminology including structured data, schema markup, and AEO.

Frequently Asked Questions

Google has narrowed FAQ rich results to authoritative government and health sites, but FAQ schema still helps AI engines like ChatGPT, Perplexity, and Google AI Overviews understand and extract your content. The visibility benefit has shifted from Google rich results to AI citation extraction.

Include 3-8 question-answer pairs per page. Each pair must be visible on the page and directly relevant to the page topic. Avoid stuffing dozens of questions — Google may consider excessive FAQ schema as spam if the page is not primarily a Q&A page.

No. FAQ schema should only be used on pages where the questions and answers are a primary content element. Using FAQ schema on pages where the Q&A is not visible or not the main content can trigger a Google manual action. See the schema markup guide for more context.

Izajul Haque

Izajul Haque

SEO, AEO & GEO consultant. I help businesses get discovered, understood, and cited across Google, AI Overviews, ChatGPT, and Perplexity. More about Izajul →

Let's talk

Your next customer might not click a blue link — they'll ask an AI. Be the answer.

Book a free strategy call and I'll audit your visibility across Google, AI Overviews, ChatGPT, and Perplexity — then map out exactly what it takes to be found and cited.