AsanTool blog · Oct 18, 2026 · 6 min read

How to Cite ChatGPT in APA and MLA (With Examples)

Millions of students now use AI tools while writing papers — and a whole new citation question came with them. Here are the exact formats APA and MLA expect, plus the one thing that matters more than the punctuation.

Before the format: check your school's AI policy first

This comes before everything else, because no citation format protects you from a policy violation. Schools handle AI tools very differently: some allow them freely, many require you to disclose AI assistance in your paper, and some treat undeclared AI-generated text as academic misconduct — no matter how carefully you cite it.

Check your syllabus and your school's academic integrity policy before submitting anything that AI helped produce. If the policy is unclear, ask the professor directly — it takes one email and can save your grade. The formats below tell you how to cite an AI tool; your school's rules tell you whether you may use one.

APA 7: Cite the company as the author

In APA 7th edition, the author of AI-generated text is the organization that built the tool — for ChatGPT, that is OpenAI. The format looks like this:

OpenAI. (2026). ChatGPT (Mar 20 version) [Large language model]. https://chat.openai.com/chat

The pieces: the company name, the year, the tool name in italics, the model or version in parentheses, a bracketed description like [Large language model], and the URL where the reader could access the same tool. The in-text citation uses the normal author-year form:

(OpenAI, 2026)

There are no page numbers in an AI response, but you can still help the reader find the passage. APA allows you to point to a section heading or a paragraph number, so a long generated answer can be cited like this: (OpenAI, 2026, para. 3).

MLA 9: Your prompt becomes the title

MLA takes a different approach: the words you typed into the AI tool become the “title” of the source. Suppose you asked: “Explain how photosynthesis works in simple terms.” The entry looks like this:

“Explain how photosynthesis works in simple terms.” prompt. ChatGPT, Mar 20 version, OpenAI, 20 Mar. 2026, chat.openai.com/chat.

Breaking it down: your prompt in quotation marks, the word “prompt” as the title of container element, the tool name in italics, the version, the company, the date you generated the text, and the URL. The in-text citation uses a shortened title:

(“Explain how photosynthesis”)

Note the difference from APA: MLA wants to see the actual question you asked, while APA treats the prompt as something you describe in your paper's text rather than in the reference list.

Harvard: closest to APA

Harvard referencing follows the same author-date logic as APA:

OpenAI (2026) ChatGPT (Mar 20 version). Available at: https://chat.openai.com/chat.

The in-text citation is (OpenAI, 2026), with a paragraph or section number added for direct quotes from long responses.

Document the prompt — citations are supposed to be reproducible

Here is the deeper issue that both style guides are solving. A citation exists so the reader can retrieve the source. But AI output is not reproducible: ask the same question tomorrow and you get a different answer. The same prompt, run twice, gives two different texts.

That is why both guides insist on the details: the model version, the date you ran it, and — in MLA's case — the exact prompt. For longer papers, go one step further and save the full AI response as an appendix or a supplemental file. Paste the prompt and the complete generated text there, then reference it in your paper. A grader who wants to verify your work can read the appendix instead of trying to recreate a conversation with a tool that will never repeat itself.

Three mistakes students make with AI citations

1. Citing AI as a fact source

Cite the AI tool only for the ideas or wording it produced. The facts inside an AI answer still need citations to real, verifiable sources — because AI tools confidently invent statistics, quotations, and even entire references that do not exist. If an AI answer gave you a useful claim, verify it and cite the real source.

2. Omitting the version and date

“ChatGPT” is not enough. Models change constantly, and the March version and the October version can disagree with each other. The version and the date you generated the text are the only things that let a reader understand which snapshot of the tool you used.

3. Letting the citation replace disclosure

A citation and a disclosure do different jobs. The citation tells the reader where the text came from; the disclosure tells them you used an AI tool to write part of your paper. Many schools require a short statement — “I used ChatGPT to brainstorm the essay outline” — on the title page or in a footnote. Citing the tool without disclosing the use still violates those policies.

The honest workflow

Used properly, AI tools are research assistants, not co-authors: brainstorm with them, let them explain concepts, use them to check your argument — then write the paper yourself and verify every fact against real sources. When AI output does appear in your paper, build the reference-list entry with a free citation generator and check the result against your style guide before submitting.

Citing AI tools: FAQs

Who is the author when I cite ChatGPT?

APA lists the company that owns the tool (for example, OpenAI) as the author. MLA uses your prompt text as the title and names the tool in the container position. You are never listed as the author of AI-generated text.

Do I need to cite AI-generated text at all?

If AI produced ideas, arguments, or wording that went into your paper, yes — citing it is the honest move. But citing alone does not make undeclared AI use acceptable: if your school's policy bans AI-generated work, disclosure is required regardless of citation.

How do I do an in-text citation for ChatGPT in APA?

Use the standard author-year form: (OpenAI, 2026). There are no page numbers, so for long AI responses add a section heading or paragraph number to help the reader find the passage — for example, (OpenAI, 2026, para. 3).

Should I cite the prompt I typed into the AI tool?

MLA requires it — the prompt text becomes the title of your source. In APA, the prompt goes in your paper's text or an appendix rather than the reference list, so the reader can see exactly what you asked and what the tool returned.

Copied