How to Cite AI in an Essay: APA, MLA and Harvard

How to Cite AI in an Essay: APA, MLA and Harvard

To cite AI in an essay, first check that your teacher or course allows AI use, then record the tool, the company that makes it, the date you used it and, if possible, a shareable link to the chat. Add an in-text citation where you use the AI's words or ideas and a matching entry in your reference list, following the style your course uses. If you used AI only to brainstorm or polish your own writing, a short note saying so is often expected too.

This guide is for students and anyone writing reports who wants to be open about using AI. It explains when a citation is needed, gives current APA, MLA and Harvard formats with examples and shares a simple routine that makes citing painless. It is practical guidance, not a replacement for your institution's own rules, which always come first.

Why citing AI matters

An essay is supposed to show your thinking. When a chatbot supplies a definition, a summary or a line of argument, your reader deserves to know where that came from, just as they would for a book or a website. Being open about what you used also protects you from any suggestion that you passed off machine text as your own.

The style guides agree on this. The APA Style team, in its guidance on citing generative AI, says it is still not a good idea to submit AI generated work as though you did it yourself. It encourages writers to err on the side of thoroughness and transparency.

Before you start: check the rules

Every school, university and publisher sets its own policy on AI. Some allow it for brainstorming but not drafting, some ban it in certain assessments and some require the full chat as an appendix. Read your course handbook or assignment brief and ask your teacher if anything is unclear. Ulster University's Harvard referencing guide for AI tools gives exactly this advice: check with your lecturer that using AI is appropriate, because it can differ across modules.

A citation does not make banned AI use acceptable. If AI is allowed, citing it properly shows you used it fairly.

When do you need to cite AI?

A useful rule comes from the MLA Style Center: cite an AI tool whenever you paraphrase, quote or include any content it created, whether that is text, an image or data. The situations below cover most essays.

  • You quote the AI's exact words. Put them in quotation marks and cite, exactly as you would a book.
  • You paraphrase or summarise its answer. Cite it, even though the wording is now yours.
  • You use an AI generated image, table or chart. Cite it in the caption or a note.
  • You used AI to brainstorm, outline, edit or translate. You may not need a formal citation for every chat, but most guides expect you to acknowledge the use in a note, your method section or an AI statement.

One exception: if the AI points you to a real source, such as a journal article, read that source and cite it directly rather than citing the chatbot for facts. Our guide on how to fact-check AI answers shows how to confirm a claim before it goes anywhere near your essay.

How to cite AI in APA style

APA updated its advice in 2025. Since most chat tools now offer share links, APA suggests citing the specific chat when that helps your reader. The company that made the tool is treated as the author, because AI cannot take responsibility for a work.

Citing a specific chat

The template is: Company. (Year, Month Day). Title of chat [Generative AI chat]. Tool name or model. URL of the shared chat. The title of the chat goes in italics in your finished essay.

Example reference: OpenAI. (2026, November 20). Causes of the First World War [Generative AI chat]. ChatGPT. https://chatgpt.com/share/your-chat-link

In-text citation: (OpenAI, 2026) or OpenAI (2026).

Citing the tool in general

If you used AI to edit your writing or check grammar, APA suggests citing the tool rather than every chat. The template is: Company. (Year). Tool Name [Large language model]. URL of the tool.

Example reference: OpenAI. (2025). ChatGPT [Large language model]. https://chatgpt.com/

Then describe what you did in your text, for example: "I used ChatGPT (OpenAI, 2025) to suggest edits for clarity and flow." APA does not put the prompt inside the reference. If the prompt matters, describe it in the text or an appendix.

How to cite AI in MLA style

The MLA Style Center revised its guidance in August 2025 in a post titled How do I cite generative AI in MLA style? MLA does not treat the AI as an author. Instead, the entry starts with a description of what you asked for.

The elements, in order, are: a description of the prompt as the title of the source, the tool name as the container, the model as the version, the company as publisher, the date the content was generated and a shareable link to the chat. If the tool has no share link, give the general web address of the tool.

Example works cited entry: "Explain the main causes of the First World War" prompt. ChatGPT, model GPT-4o, OpenAI, 20 Nov. 2026, chatgpt.com/share/your-chat-link.

In-text citation: use a shortened form of the title, for example ("Explain the main causes").

How to cite AI in Harvard style

Harvard is a family of author and date styles rather than one fixed rulebook, so universities publish their own versions. Always follow your institution's guide. The format below follows Ulster University's guide, which is typical of many UK library guides.

If the chat has a shareable link

Reference list: Name of AI (Year) Medium of communication, Receiver of communication, Day Month of communication. Available at: URL [Accessed date].

Example: OpenAI ChatGPT (2026) ChatGPT response to Amina Bello, 20 November. Available at: https://chatgpt.com/share/your-chat-link [Accessed 21 November 2026].

In-text citation: (OpenAI ChatGPT, 2026).

If only you can see the chat

When the reader cannot retrieve the conversation, Harvard guides usually treat it as a personal communication. You describe the AI material in your text, cite it as above without a link and often attach a copy of your prompt and the response as an appendix.

Example in your text: When prompted by the author, ChatGPT suggested three causes of the war (OpenAI ChatGPT, 2026). A copy of the response is in Appendix 1.

A simple routine that makes citing easy

The hardest part is remembering the details weeks later, so build these habits from the first chat.

  1. Start a fresh chat for each task. One topic per chat makes the reference and the appendix much cleaner.
  2. Name the chat clearly. "Essay 2: causes of WW1 brainstorm" beats an automatic title.
  3. Log the details as you go. Keep a small table in your notes: tool, model, company, date, link and what you used it for.
  4. Save a copy of the conversation. Copy the prompt and the answer into a document in case the link stops working or your course asks for an appendix.
  5. Mark AI material in your draft. Highlight anything shaped by AI so you know what to cite.
  6. Write a short AI statement. Add one or two sentences on how you used AI if your course asks for it.

Here is an example AI statement you can adapt: "I used an AI chat tool to brainstorm possible essay structures and to check my grammar. All arguments, research and final wording are my own. AI generated content is cited where used."

Using TextPixAI tools honestly in your work

The same principles apply to any AI tool, including ours. If you use TextPixAI AI Chat to talk through ideas or test your understanding of a topic, note the date and save the conversation so you can cite or attach it later. If you use the AI Writer templates to build an outline or rephrase a paragraph, keep your original draft alongside so you can show what changed. If an essay or presentation includes a picture from the AI Image Generator, credit it in the caption.

For assignments, use these tools as a study partner rather than a ghostwriter: ask the AI to quiz you or explain a hard idea, then write the essay yourself. Our guides on AI tools for students and writing better AI chat prompts show how to get useful help without handing over your thinking. Where drafting with AI is allowed, see how to edit AI writing so it sounds like you. For published content, our article on how to label AI generated content covers disclosure. You can compare what each plan includes on our pricing section.

Common mistakes to avoid

  • Listing the AI as an author. APA uses the company and MLA uses a description of the prompt. Neither names the chatbot as a person.
  • Citing the AI for facts. Find and cite the original source instead.
  • Forgetting the date. AI answers change over time, so the date you generated the content is part of the reference.

FAQ

Do I need to cite AI if I only used it for ideas?

Often not with a full reference, but many courses expect you to acknowledge brainstorming, editing or translation. If in doubt, add a short AI statement.

Can I cite ChatGPT as a source?

You can cite it as the origin of words or ideas you used, but it is a weak source for facts. Use it to find leads, then cite the original books, articles or reports you checked.

What if my AI tool has no share link?

MLA suggests giving the general web address of the tool. Harvard guides usually treat the chat as a personal communication and recommend adding a copy of the prompt and response as an appendix.

Which style should I use?

Use whatever your teacher, course or publisher asks for. If nothing is specified, choose one style and use it consistently throughout the essay.

Citing AI takes a few extra minutes, but it keeps your work honest. Set up the habit now and every essay after this one becomes easier.