Q&A Page Structured Data: Question, Answer, Comments, and Rich Results
How to mark up single-question Q&A pages with QAPage, Question, Answer, acceptedAnswer, suggestedAnswer, and Comment for rich results.
This page summarises Google Search Central guidance on Q&A page structured data, together with related Schema.org definitions for Question, Answer, and Comment. It also covers when to use Discussion forum (DiscussionForumPosting) structured data instead, and how Education Q&A (Quiz) structured data differs from QAPage questions.
QAPage structured data: what it is and when to use it
Section titled “QAPage structured data: what it is and when to use it”QAPage markup tells search systems that a URL is centred on one question and its answers. Google uses QAPage, nested Question, and Answer types from the schema.org vocabulary, but eligibility and property rules come from Google’s Q&A documentation, not from schema.org alone.
Q&A pages are web pages that contain data in a question and answer format, which is one question followed by its answers. For content that represents a question and its answers, you can mark up your data with the schema.org QAPage, Question, and Answer types.
— Google, Q&A ( QAPage ) structured data
Use it only when the page really is one question followed by answers that users can contribute—not for site-written FAQ lists, blogs, or product pages with many unrelated Q&As on the same URL.
Valid and invalid QAPage content
Section titled “Valid and invalid QAPage content”Google’s content guidelines draw a sharp line between community Q&A and publisher-authored “answers”:
| Situation | Use QAPage? |
|---|---|
| Forum or support thread: one question, users can post answers | Yes |
| FAQ page written only by the site, no user-submitted alternatives | No |
| One page with many unrelated questions | No |
| How-to, blog post, or essay that happens to answer a question | No |
Users must be able to submit answers to the question. Don’t use QAPage markup for content that has only one answer for a given question with no way for users to add alternative answers.
— Google, Q&A ( QAPage ) structured data
Don’t use QAPage markup for FAQ pages or pages where there are multiple questions per page. QAPage markup is for pages where the focus of the page is a single question and its answers.
— Google, Q&A ( QAPage ) structured data
Include the full text of each question and each answer in markup. For clarifications that are not answers, use comment and the Comment type (see below), not Answer.
Page structure: one QAPage, one Question, many answers
Section titled “Page structure: one QAPage, one Question, many answers”On each eligible URL:
- There must be only one
QAPageobject per page. - Exactly one
Questionbelongs undermainEntityon thatQAPage. - Answers live inside that
QuestionasacceptedAnswerand/orsuggestedAnswervalues.
The QAPage type indicates that the page is focused on a specific question and its answer(s). We will only use Question structured data from pages with QAPage markup. There must only be one QAPage type definition per page.
— Google, Q&A ( QAPage ) structured data
Exactly one Question type is expected on the page, nested under the mainEntity property of the schema.org/QAPage. There must only be one Question type definition per page.
— Google, Q&A ( QAPage ) structured data
For rich-result eligibility, the question needs at least one answer unless you explicitly mark it as unanswered:
To be eligible for the rich result, a question must have at least one answer – either an acceptedAnswer or a suggestedAnswer. However, questions may not have answers when they are first posted. For questions without answers, set the answerCount property to 0. Questions without answers aren’t eligible for the rich result.
— Google, Q&A ( QAPage ) structured data
Required fields on Answer objects include author information and the answer body via supported properties listed in the same guide; if a property does not exist on your site, omit it rather than fabricating values.
acceptedAnswer vs suggestedAnswer: top answers vs other replies
Section titled “acceptedAnswer vs suggestedAnswer: top answers vs other replies”Schema.org models community Q&A with two answer properties on Question:
| Property | Meaning on your site | Schema.org note |
|---|---|---|
acceptedAnswer |
Answer accepted as best (asker, moderator, votes—not “most recent”) | acceptedAnswer |
suggestedAnswer |
Other user answers not treated as top | suggestedAnswer |
Google:
A top answer to the question. There can be zero or more of these per question. This must represent answers that are accepted in some way on your site. For example, accepted as a top answer by question asker, a moderator, or a voting system. Other forms of sorting answers, such as most-recent, must not be used to identify top answers.
— Google, Q&A ( QAPage ) structured data
Schema.org:
The answer(s) that has been accepted as best, typically on a Question/Answer site. Sites vary in their selection mechanisms, e.g. drawing on community opinion and/or the view of the Question author.
— Schema.org, acceptedAnswer
An answer (possibly one of several, possibly incorrect) to a Question, e.g. on a Question/Answer site.
— Schema.org, suggestedAnswer
Common conclusion: map your product’s “accepted”, “best”, or “highlighted” answer logic to acceptedAnswer; put every other on-page reply in suggestedAnswer. Do not label the latest reply as accepted merely because it is newest.
On schema.org, an Answer is “perhaps correct, perhaps opinionated or wrong”; optional answerExplanation can hold a step-by-step or broader clarification of how an answer was reached. Google’s QAPage guide does not centre on answerExplanation for search rich results, but the property is valid on Answer in the vocabulary.
Comment markup: discussion that is not an answer
Section titled “Comment markup: discussion that is not an answer”Comments are for meta-discussion on the question or on an answer—not substitute answers.
Answer markup is for answers to the question, not for comments on the question or comments on other answers. Instead, use the comment property and Comment type for this type of content.
— Google, Q&A ( QAPage ) structured data
The Comment type can optionally be used to describe clarifications or discussions about the question or answer which are neither question nor answer.
— Google, Q&A ( QAPage ) structured data
Schema.org defines comment as “Comments, typically from users,” on creative works. Threaded replies use nested comment on Comment, matching patterns Google documents for forums.
When counts in markup do not list every reply, commentCount on Question or Answer helps; Google notes that answerCount + commentCount should reflect the total number of replies of any type on the question.
Author and profile markup on questions and answers
Section titled “Author and profile markup on questions and answers”Each Question, Answer, and Comment should identify its author as Person or Organization. Google points implementers to the same author practices as Article structured data and Profile page structured data:
Information about the author of the answer. To help Google best understand authors across various features, we recommend following the author markup best practices.
— Google, Q&A ( QAPage ) structured data
Practical rules from author markup best practices:
- List every visible author in markup; use separate
authorobjects for co-authors, not one merged name string. - Put only the person’s or organisation’s name in
author.name—not job title, honourifics, or “posted by” filler (usejobTitle,honorificPrefix, etc.). - Prefer
author.urlorsameAslinking to a stable profile; mark that profile page withProfilePagewhere possible.
Profile page structured data exists so Google can relate forum and Q&A authors to creators across the site.
QAPage vs DiscussionForumPosting vs education Quiz
Section titled “QAPage vs DiscussionForumPosting vs education Quiz”Choosing the wrong top-level type is a frequent implementation mistake.
| Pattern | Recommended markup |
|---|---|
| Single question URL with multiple user answers | QAPage → Question → Answer |
| General forum thread (not primarily one Q&A pair) | DiscussionForumPosting + Comment tree |
| Flashcard quiz with one known correct response per card | Quiz → Question with eduQuestionType: Flashcard and one acceptedAnswer per question |
| Homework-style page, expert-selected top answer (exception) | May qualify for Q&A carousel per education-related Q&A exception |
Google on forums:
Does your forum follow a question and answer pattern? Use Q&A markup instead.
— Google, Discussion forum ( DiscussionForumPosting ) structured data
Note that for most of Google’s use cases, a Q&A page is considered a special case of a discussion forum page. If the structure of the forum website is primarily questions with answers, we recommend that you use Q&A markup instead.
— Google, Discussion forum ( DiscussionForumPosting ) structured data
Do not use DiscussionForumPosting for publisher-written articles with a comment section, product reviews, or generic social posts that are not user-generated forum topics, as listed in the discussion forum content guidelines.
Education Quiz questions are not the same as QAPage Question objects: each flashcard requires eduQuestionType Flashcard, question text, and exactly one acceptedAnswer per Education Q&A structured data—a different rich result feature from community Q&A.
Machine-generated text and completeness
Section titled “Machine-generated text and completeness”For posts, answers, and comments, optional digitalSourceType distinguishes human from algorithmic content on forum and Q&A markup:
If this property is not specified, Google will assume the content is human-generated.
— Google, Q&A ( QAPage ) structured data
Supported values include TrainedAlgorithmicMediaDigitalSource (for example LLM output) and AlgorithmicMediaDigitalSource (for example reply bots), as documented on the same page for Question, Answer, and Comment.
Across all structured data types, Google’s general structured data guidelines and introduction to structured data stress completeness over stuffing optional fields:
Items that are missing required properties are not eligible for rich results.
— Google, General structured data guidelines
It is more important to supply fewer but complete and accurate recommended properties rather than trying to provide every possible recommended property with less complete, badly-formed, or inaccurate data.
— Google, Introduction to structured data markup in Google Search
For Google Search specifically, treat Google Search Central as definitive; schema.org may define additional properties useful to other consumers.
Recent Google documentation updates explicitly added properties for discussion and Q&A threading—see Latest documentation updates (“Added new supported properties for Discussion Forum and QA Page markup”)—so older templates may need revisiting if comment structure was incomplete.
Common mistakes
Section titled “Common mistakes”- Applying
QAPageto multi-question FAQ pages or site-written FAQs with no user answers. - Marking clarifications or argument threads as
Answerinstead ofComment. - Using “most recent” ordering to populate
acceptedAnswer. - Multiple
Questionentities on one URL, orQuestionmarkup withoutQAPage. - Duplicating large post bodies in JSON-LD on forum threads when Microdata would avoid repetition—Google recommends Microdata for
DiscussionForumPostingwhere practical, though JSON-LD remains supported.
How to check this on your site
Section titled “How to check this on your site”- Confirm each candidate URL is a single-question page with user-submittable answers, matching Google’s Q&A content guidelines.
- Validate markup with the Rich Results Test workflow described in Introduction to structured data markup in Google Search, and fix any missing required properties for
QAPage,Question, andAnswer. - Check that
acceptedAnswerreflects your site’s real “top answer” rules, not recency sorting, per Q&A ( QAPage ) structured data. - After deployment, monitor rich result validity using rich result status reporting mentioned in Introduction to structured data markup in Google Search.
- You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact passage you are asking about.