Skip to content

How to Add FAQ Schema in 2026: JSON-LD and WordPress Guide

Code editor with curly braces linked to question and answer cards, illustrating how to add FAQ schema

You can still add FAQ schema to any page in about ten minutes, but the reason to do it has changed. Google stopped showing FAQ rich results in Search in May 2026, so the markup no longer earns those dropdowns under your listing.

This guide shows how to add FAQ schema the right way today. You will get a copy-and-paste JSON-LD template, the WordPress route with Yoast, a way to test the code and the mistakes that break it.

What is FAQ schema?

Short answer: FAQ schema is a small block of code that labels the questions and answers on a page. It uses the FAQPage type from Schema.org, so search engines and other tools can read each question and its answer as a separate pair.

The code does not change what visitors see. It sits in the page source and describes content that is already visible. Most sites write it in JSON-LD, a format that keeps the markup apart from the HTML layout and makes it easy to edit.

Does Google still show FAQ rich results?

Short answer: No. Google stopped showing FAQ rich results on May 7, 2026, for every type of site. Government and health sites, which kept them after a 2023 restriction, lost them too.

The note sits at the top of Google’s FAQ structured data page. Google also removed FAQ support from the Rich Results Test and the Search Console reports in June 2026, and API support ends in August 2026. Search Engine Land covered the change the day after Google posted it.

Should you still add FAQ schema to your pages?

Short answer: Yes, when the page has a real FAQ. The markup does not hurt rankings and still tells machines exactly where each question and answer sits. However, do not add FAQ schema expecting extra space in Google results, because that benefit is gone.

Think of it as a label, not a growth hack. It helps when the questions are genuine and the answers are useful on their own. Still, the visible text does most of the work, since search engines and AI tools read that text first.

How to add FAQ schema with JSON-LD, step by step

Short answer: Write the FAQ on the page and copy the template below. Swap in your own questions and answers, then paste the block into the page HTML. Finally, run it through a validator before you publish.

Step 1: Write a visible FAQ first

Put each question in a heading and each answer in a paragraph below it. Keep the FAQ open on the page instead of hiding answers inside an accordion. That way every reader and every crawler sees the same text that your markup describes.

Step 2: Copy the FAQ schema template

Each question becomes one item inside mainEntity. Add a new item for every question, and separate the items with a comma.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Can I change my plan later?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. You can switch plans at any time from your account settings."
      }
    },
    {
      "@type": "Question",
      "name": "Do you offer support by chat?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. Our team answers chat messages during business hours."
      }
    }
  ]
}
</script>

Step 3: Add FAQ schema code to the page

Place the script in the page head or anywhere in the body. In a custom site, a developer can add it to the page template. In a site builder, look for a “custom code” or “HTML” field for that single page, so the markup does not appear on every URL.

Step 4: Validate before you publish

Paste the page URL or the code into the Schema Markup Validator. It checks the FAQPage structure and flags missing fields or broken commas. Google’s Rich Results Test no longer reports on FAQ markup, so use this validator instead.

How to add FAQ schema in WordPress with Yoast

Short answer: Use the FAQ block that comes with Yoast SEO. You type the questions and answers in the block editor, and Yoast creates the FAQ schema for you, with no code to write.

  1. Open the post or page in the WordPress block editor.
  2. Click the plus icon and search for “FAQ”.
  3. Choose the Yoast FAQ block.
  4. Type each question and its answer, then add more questions as needed.
  5. Update the page and check the result in the Schema Markup Validator.

The Yoast FAQ block keeps the markup tied to the visible text. So when you edit an answer, the code updates too. That beats a hand-written script, which can drift out of sync after a few edits.

Can you add FAQ schema with Google Tag Manager?

Short answer: It works, but it is the weakest option. Tag Manager adds the code with JavaScript after the page loads, and some crawlers never run that script.

Use it only when you cannot edit the page or install a plugin. Even then, keep the questions in the tag identical to the ones on the page. As soon as you can, move the script into the HTML itself.

What mistakes break FAQ schema when you add it?

Short answer: Most errors come from markup that does not match the page. A few small syntax slips cause the rest. Check this list before you publish:

  • Questions in the code that do not appear on the page
  • Answers in the code that differ from the visible answers
  • Two FAQPage blocks on the same URL, for example one from a plugin and one by hand
  • A missing comma between questions, which breaks the whole block
  • Curly quotes pasted from a word processor instead of straight quotes
  • Sales copy or ads written as fake questions

For example, if Yoast already adds FAQ schema to a page, do not paste a second script on top of it. Pick one method per page.

Frequently asked questions

Does it still help SEO to add FAQ schema in 2026?

Not as a ranking boost or a visual feature in Google. It still describes your content clearly, which helps search engines and other tools read your questions and answers. Treat it as good housekeeping on pages that have a real FAQ.

Will old FAQ schema hurt my site now?

No. Google says the markup can stay in place without causing problems. It simply no longer produces a visible result in Search. Remove it only if it no longer matches the page.

Where should I add FAQ schema code?

Anywhere in the page head or body works. Most people add it to the head through a plugin, a theme setting or a page-level custom code field. Only add it to the page that shows the FAQ.

How many questions should one FAQ page have?

There is no fixed number. Add the questions your customers actually ask, and stop there. Four to eight clear questions usually read better than twenty thin ones.

How do I check that my FAQ schema works?

Run the page through the Schema Markup Validator after you publish. Then view the page source and search for “FAQPage” to confirm there is only one block on the page.

Next step

Pick one page with a real FAQ, make sure the answers are visible, and add FAQ schema with the template or the Yoast block. Then validate it and move on to the next page.

For more on writing answers that AI tools can quote, read our guide to AEO for B2B SaaS. Need help with SEO and structured data? See our services or use the “Request a quote” button in our contact section to talk to us on WhatsApp.

See all articles