Inside or Outside? Where Punctuation Goes in Quotation Marks

example sentence using a comma inside quotation marks and example sentence using a period inside quotation marks from the article
    woman talking in cellphone illustration with punctuation that goes inside quotation marks example sentence
    adekvat / iStock / Getty Images Plus
    Used under Getty Images license

Wasn’t it Eleanor Roosevelt who said, “Be confident, not certain?” Wait a second — putting that question mark inside the quotation marks makes it sound like Mrs. Roosevelt was asking a question (and therefore neither confident nor certain). Believe it or not, punctuation placement within quotation marks is a big deal in writing, and doing it incorrectly can ruin an otherwise legendary quote.

Punctuation That Always Goes Inside Quotation Marks

When debating whether to put a period inside or outside quotes, the correct choice is almost always inside. In American English, we use punctuation marks such as periods and commas to signal that a quote is finished.

six sentence examples from the article showing when punctuation goes inside or outside parentheses
    does punctuation go inside or outside quotation marks infographic
    Created by Karina Goto for YourDictionary
    Owned by YourDictionary, Copyright YourDictionary 

Commas Go Inside Quotation Marks

When the quote falls at the beginning or middle of a sentence, use a comma before the quotation mark before adding more words to the sentence. 

  • Call me when you get there,” said Melissa.
  • Let’s get coffee sometime,” offered Saul.
  • "Don't be late for class," the teacher advised.
  • "I am never talking to him again," my sister said angrily.

Periods Go Inside Quotation Marks

When the sentence ends with a quote, finish both the quote and the sentence with a period (no extra punctuation needed).

  • Anne called the boys "mean and nasty."
  • Mike stated, "I never give up."
  • "I'll be going to the party later." Ivan smiled at Pearl. Hope to see you there.”
  • Alan's assignment is to read Wordsworth's "Daffodils."

Punctuation That Sometimes Goes Inside Quotation Marks

Some punctuation marks go inside quotes only when they belong to the quote itself. Unlike periods and commas, these punctuation marks can change the tone of a quote if they end up in the wrong place. They may belong to the sentence, not the quote.

Question Marks Sometimes Go Inside Quotation Marks

If the quoted material is a question, the question mark should be inside the quotation marks. It doesn’t matter where the quotation falls in the sentence.

  • Anthony asked, "Can we have pizza again for dinner?"
  • “When will it stop raining?” complained Vera.

However, if the question mark is not directly part of the quote, then the punctuation should go outside the quotation marks.

  • Who said the line, "I'm the king of the world"?
  • How did the coach know it was me who said, "I don't want to be on this team"?

Exclamation Points Sometimes Go Inside Quotation Marks

The same rule applies to exclamation points. When the quote is an exclamation, the exclamation point goes inside the quotes — no matter where it is in the sentence.

  • Mom shouted, "Don't throw the ball in the house!"
  • "Watch for the ice!" I cried out.

But sometimes, the exclamation point belongs to the sentence, not the quote. Then the exclamation point goes outside the quotation marks.

  • I love the song “Take Me Home, Country Roads”!
  • You have to read the article "UFOs Are Real"!

Punctuation That Never Goes Inside Quotation Marks

When you’re adding other punctuation marks to the sentence after a quotation mark, they always go outside the quotes. Unlike terminal punctuation marks, such as periods, exclamation points, and question marks, you’d never end a sentence with these punctuation marks.


Colons Go Outside Quotation Marks

When a quote comes right before a colon, the colon stays outside the quotation marks.

  • The speaker listed three "secrets of success": confidence, perseverance, and passion.
  • Three people volunteered to sing “Don’t Stop Believing”: Andrew, Marian, and Naya.

Semicolons Go Outside Quotation Marks

The same rule applies to semicolons. If the quote comes before the semicolon, it doesn’t include the semicolon.

  • George’s favorite poem is “Harlem”; he recited it at his graduation.
  • I don’t know what the teacher means by “sometime next week”; which day should I turn the homework in?

Dashes Go Outside Quotation Marks

Like colons and semicolons, dashes also go outside quotation marks if they’re part of the sentence around the quote. 

  • She laughed and said, "I don't think he will pass his driving test" — right before he pulled up in front of the house.
  • Pierre wrote an article called “The Hidden Secrets of Wyoming” — his publisher immediately asked him to expand it into a book.

There is an exception to this rule in fiction: If the speaker suddenly stops speaking, you can use a dash to show the interruption.

  • “I can’t hear you! Please speak —” Manny yelled before the phone died.
  • “Class, turn in your —” Mrs. Taylor suddenly stopped talking.

What About Passwords in Quotes?

In technical writing or daily life, you may find situations where someone needs to input a specific word or phrase into a computer. If you include the punctuation in the quoted section, this may cause the user to input the punctuation as well as the actual word or phrase. 

In this case, put the punctuation outside the quotes, as in these examples:

  • My user ID is “IM47g”.
  • Did you try the password “mycatisawesome”?
  • The mouse walking across the keyboard accidentally entered the code to launch the missile, “KaBoom35*”.

The British Exceptions to Quotation Marks

While commas and periods at the end of quotes always go inside the quotation marks in American usage, British English is different. Commas and periods that aren’t part of the quoted material go outside the quotation marks in British English.

  • American English - Anne called the boys "mean and nasty."
  • British English - Anne called the boys "mean and nasty”.

In both American English and British English, when it’s part of the quote, all punctuation goes inside the closing quotation marks. This includes commas, periods, question marks, and exclamation points. Punctuation that belongs to the sentence goes outside the quotation marks.


How To Remember if Punctuation Goes Inside Quotes

Remember which punctuation marks go where with this tip: Think of your warm, cozy home. Some animals, like your pets, are always welcome inside, but other, wilder animals (bears or crocodiles, for example) should probably stay outside. 

Now think of quotation marks as the walls to your cozy house, and other punctuation marks as those different types of animals.

  • Commas and periods are small, helpless animals; they go inside.
  • Exclamation points and question marks are larger animals; they sometimes go inside.
  • Colons, semicolons, and dashes are irregular, wild animals; they stay outside.