DOI vs. URL: What to Include in Your APA References
You spend twenty minutes getting one reference entry perfect, the author, the year, the title, the journal name, all locked into place. Then you hit the very last piece and freeze. DOI, URL, or nothing at all?
That last decision is where a clean reference list quietly falls apart, and it repeats on every single source you cite. Almost every writer stalls at exactly this spot, well past the point where the rest of the entry looked finished. APA 7 (the Publication Manual, Sections 9.34 through 9.36) gives you a fixed answer for the correct APA DOI format and for when a URL replaces it or disappears entirely. Once you know the order to check things in, you can run any source through it in seconds.
The three-question decision path
The mistake: deciding what to put at the end of a reference based on where you personally found the source, then applying that same choice to every entry in the list regardless of what each source actually has.
Run each source through three questions, in order.
First: does the work have a DOI? If yes, that DOI goes at the end. Full stop. This applies whether the source is a print journal article you read as a PDF, an ebook, or something pulled from an online database (Section 9.34). A DOI is never optional once it exists. Print and online sources follow the exact same rule here.
Second: if there is no DOI, did you find the work freely available on the open web, a news article, a government report, a nonprofit's published PDF? Then the URL goes at the end instead (Section 9.36). The same conventions that govern how to cite a website in APA 7 apply to this URL.
Third: if there is no DOI and you retrieved the work through an academic research database, a subscription journal archive your library pays for, put nothing at the end. Format the reference exactly like a print source, no URL, no database name. APA 7 dropped the database-name requirement entirely, even though a lot of students still add it out of habit (Section 9.36). For the full pattern across every source type, our guide to what goes at the end of an APA reference for every source type walks through books, datasets, and reports as well.
Why it matters: the wrong choice here costs more than one formatting point. It makes the entry look like a different kind of source than it is. A database-sourced journal article with a URL tacked on the end reads like a webpage citation to anyone who checks closely, and reference lists get checked closely.
APA DOI format: the exact syntax
Once you know a DOI belongs in the reference, the format is fixed. Write it as a complete, live link that starts with https://doi.org/, for example https://doi.org/10.1037/amp0000151.
Two habits trip people up here. The old style, "doi:10.1037/amp0000151," is retired. APA 7 replaced the doi: prefix with the full https://doi.org/ link across the board (Section 9.35). And a DOI never sits behind the words "Retrieved from." It stands on its own the same way a URL does.
Correct: Author, A. A. (2020). Title of the article. Journal Name, 12(3), 45-60. https://doi.org/10.1037/amp0000151
That is the whole rule. No retrieval date, no "accessed on," no database name, just the entry followed by the live link.
When "Retrieved from" and a retrieval date actually belong
The mistake: stapling "Retrieved from" and today's date onto every URL in the reference list, a habit APA 6 trained into a lot of writers.
APA 7 keeps the retrieval date phrase for one narrow case: content designed to change over time that isn't archived, a live wiki entry, a dictionary definition, an active social media profile, a webpage with no version history behind it (Section 9.36). A stable source, a journal article, a report, a book chapter, never needs one, even though the file lives at a URL. That page will look the same next year, so a retrieval date adds nothing.
When you do need it, the format is exact: Retrieved July 6, 2026, from https://www.example.com/page (Section 9.36).
Wrong for a journal article: Author, A. A. (2020). Title of the article. Journal Name, 12(3), 45-60. Retrieved March 3, 2026, from https://doi.org/10.1037/amp0000151
Right: Author, A. A. (2020). Title of the article. Journal Name, 12(3), 45-60. https://doi.org/10.1037/amp0000151
Why it matters: a retrieval date sitting next to a journal article is one of the fastest signals to a grader that the reference list was built from an old handout. It is a small detail, and small details are exactly what a reference check is measuring.
The fix: ask one question before adding a retrieval date. Will this exact page look the same a year from now? If yes, skip the date. If it is a page that updates without keeping a version history, a live dictionary entry, an active profile, keep it.
Two habits that give away an outdated reference list
The doi: prefix and the reflexive "Retrieved from" are worth breaking on purpose, because they are also the two fastest tells that a paper is following APA 6 rules five years after the manual changed. We wrote a full breakdown of the DOI formatting mistake that shows up most often in reference lists if you want the complete pattern with more examples.
The short version holds for any source: a DOI is always the full https://doi.org/ link, never the doi: shorthand, and it never follows "Retrieved from," whether you accessed it as a print journal PDF or an online-only article. Fix the habit once and every entry that used it is fixed at the same time, because the mistake is never isolated to a single reference.
Watch for one more variation: some publisher databases still display an older link format, something like dx.doi.org or a doi: label buried in the citation export. Whatever the source shows you, the reference itself needs the current https://doi.org/ link. Copy the numbers after "doi:" or "dx.doi.org/" and rebuild the link in the correct format rather than pasting whatever the database handed you.
Skip the guessing on every entry
You can run this decision path against every source in a long reference list by hand, checking each one twice as you second-guess yourself near the end. We did that same work when we built StyleMyPaper: upload the draft and it goes through your reference list looking for DOIs you aren't using, URLs that shouldn't be there, and stray "Retrieved from" language. See how the APA formatting tool handles the reference list, DOIs, URLs, and the entries that need neither.