Comma Rules: Essentials for Everyday Writing

Without commas, words run together and make it difficult to understand the writer's message. But when should you use a comma? Is there a comma before or after “but”? Check out these comma rules to learn when to use a comma, when you shouldn’t and when it depends on your writing style.

comma rules examples comma rules examples

1. Use Commas to Separate Independent Clauses

When you're writing a simple sentence, you're using only one independent clause. These sentences don't require commas.

  • Mark loves cars.

  • My sisters shopped all day.

  • The dog barked at me.

However, when you add another independent clause with a coordinating conjunction (for, and, nor, but, or, yet, so), separate them with a comma.

  • Mark loves cars, so he’s going to buy one.

  • My sisters shopped all day, and they are so tired.

  • The dog barked at me, but I kept walking.

These clauses have the same level of importance, and both are essential to the sentence. Without a comma, your sentence is a run-on.

2. Use Commas After Introductory Clauses and Phrases

Introductory clauses and phrases are groups of words that come before an independent clause in a sentence. When you start a sentence with a dependent clause, you follow it with a comma (just like that sentence!).

  • Because Mark loves cars, he’s going to buy one.

  • After my sisters shopped all day, they had lunch.

  • Even though the dog barked at me, I kept walking.

Commas also follow introductory phrases, which can include prepositional phrases, infinitive phrases and participial phrases.

  • Like everyone in his family, Mark loves cars. (prepositional phrase)

  • Having nothing else to do, my sisters shopped all day. (participial phrase)

  • To scare me away, the dog barked at me. (infinitive phrase)

If you add these phrases to the end of the sentence, they don’t require commas. For example, “The dog barked at me to scare me away” doesn’t need a comma to separate the infinitive phrase from the rest of the sentence.

3. Use Commas After Introductory Adverbs and Mild Interjections

You also need to add a comma after a conjunctive adverb, such as anyway, nevertheless or however. Commas also follow yes and no in the same context. Examples of sentences with introductory conjunctive adverbs include:

  • Anyway, Mark loves cars.

  • Nevertheless, my sisters shopped all day.

  • Yes, the dog barked at me.

Finally, if you’re starting a sentence with a mild interjection, you need to include a comma. (For stronger interjections, use an exclamation point.)

  • Yeah, I love dogs.

  • Wow, my sisters shopped all day.

  • Uh oh, the dog barked at me.

Unless you’re starting a sentence with an independent clause, it’s safe to assume that you need a comma. Otherwise, it’s difficult to know when your introductory clause or phrase ends and the rest of your sentence begins.


4. Don’t Use Commas Instead of Conjunctions

Commas are powerful, but they can’t function in the same way as conjunctions. Using a comma instead of a conjunction is known as a comma splice, and it’s a common grammatical error. It looks like this:

  • Mark loves cars, he wants to buy one. (Correct: Mark loves cars, so he wants to buy one.)

  • My sisters shopped all day, they're so tired. (Correct: Because my sisters shopped all day, they're so tired.)

  • The dog barked at me, I kept walking. (Correct: The dog barked at me, but I kept walking.)

Adding the proper conjunctions to these sentences can fix comma splices. You can also make them two individual sentences by turning the comma into a period.

5. Use Commas to Highlight Non-Defining Clauses

Non-defining clauses add more details about a noun in a sentence, but they’re not essential. The sentence still makes sense when you remove them. Use commas to separate non-defining relative clauses from the rest of your sentence.

  • Mark, who goes to school with my cousin, loves cars.

  • My sisters, whom I told to study, shopped all day.

  • The dog, which looked like a Golden Retriever, barked at me.

You also need to add commas around appositive phrases, which function like relative clauses but don’t include relative pronouns.

  • Mark, my cousin’s friend, loves cars.

  • My sisters, two girls with nothing to do, shopped all day.

  • The dog, a Golden Retriever, barked at me.

If you’re using a person’s name as an appositive (such as in My cousin’s friend Mark loves cars), you don’t always need to add commas. However, adding commas around non-defining clauses is a good way to clarify your meaning (My cousin’s friend, Mark, loves cars). It’s a style choice.


6. Don’t Use Commas Within Clauses and Phrases

Commas can separate clauses and phrases from other clauses and phrases. However, they shouldn’t appear within the clause or phrase. This includes subject-verb combinations, compound nouns, compound verbs, and other clauses and phrases. Examples of incorrect comma placement include:

  • Mark, loves dogs. (Correct: Mark loves dogs.)

  • Katie, and Marie, shopped all day. (Correct: Katie and Marie shopped all day.)

  • The dog barked at, Andrew and me. (Correct: The dog barked at Andrew and me.)

It’s difficult to understand where the emphasis is when there are unnecessary commas in a sentence. Be sure that your comma usage doesn’t break up important thoughts.

7. Use Commas to Separate Items in a Series

When you’re writing a list of nouns, verbs, or any other part of speech, you’ll need to include commas to separate them. The same goes for a list of phrases and clauses.

  • Mark loves cars, planes, trains, and boats.

  • My sisters shopped, went to the movies, and had lunch.

  • The dog barked at Andrew, Mike, Melissa, Tina, and me.

The final comma in these series is known as the Oxford or serial comma. Many people consider it correct to include the Oxford comma between the final two items in a list. Others include the comma in longer lists, but not in simple lists of three. The choice depends on personal preference and your style guide. However, you should always use an Oxford comma if it prevents confusion.


8. Use Commas to Separate Coordinate Adjectives

When two adjectives describe the same noun, they’re known as coordinate adjectives. You should separate these adjectives with a comma.

  • Mark loves fast, expensive cars.

  • My beautiful, funny sisters shopped all day.

  • The big, scary dog barked at me.

If a sentence has more than three coordinate adjectives (such as “The big, scary, and slobbering dog barked at me,” you can decide whether you want to use an Oxford comma. You can also omit the “and” for stylistic purposes, depending on your preference.

9. Use Commas When Quoting Someone

Use a comma when you’re quoting someone or when a character is speaking in dialogue. When the quote comes first in the sentence, put the comma inside the quotation marks.

  • “I love cars,” said Mark.

  • “We shopped all day,” explained my sisters.

  • “Stop barking,” I said to the dog.

Put the comma after the attribution when the quote comes second in the sentence. You also add a comma to both places when the attribution is in the middle of the quote.

  • Mark said, “I love cars.”

  • I asked my sisters, “Did you shop all day?”

  • “Spike,” I said to the dog, “stop barking.”

Note that this rule primarily applies to American English. In British writing conventions, commas (and periods) go outside the quotation marks.

10. Use Commas to Address Someone Directly

When you’re talking to someone in person, it’s obvious that you’re talking to them. But in writing, you need to directly address them — and you do so with a comma.

  • I know you love cars, Mark, but this one is too expensive.

  • Katie and Marie, you both spend too much time shopping.

  • Stop barking, Spike!

No matter where you put their names in the sentence, the comma follows. It indicates to the reader that you’re speaking directly to that person.


11. Use Commas When Indicating Negation

Commas are important when you’re adding a negative point to a complete sentence.

  • Mark loves cars, not trucks.

  • My sisters spent all day shopping, not studying.

  • The dog, not the cat, barked at me.

You can also use commas when the addition isn’t necessarily negative, but different. For example, “Mark loves cars, maybe more than trucks” should still include a comma.

12. Use Commas to Separate Cities and States

When listing a city and state in an address, add a comma to separate the two. The same rule applies for cities in countries that don’t have states.

  • Portland, Oregon

  • Nashville, Tennessee

  • Berlin, Germany

Include the comma whether you’re addressing the front of an envelope or referencing a city within a sentence. It’s especially important if more than one city shares the same name (such as Paris, France and Paris, Texas).

13. Use Commas for Dates

As for dates, a comma is required between the day of the month and the year. American dates follow the month/day/year pattern.

  • May 13, 2009

  • December 7, 1941

  • April 19, 1775

When you’re including dates in a sentence, you need to add commas after the year, as well as after the day of the week.

  • On Friday, May 13, 2009, I turned 12 years old.

  • President Roosevelt called December 7, 1941, a day that would live in infamy.

  • April 19, 1775, was the day that the American Revolution began.

Unlike American dates, the European date pattern follows day/month/year (13 December 2009). Notice that when writing dates in this way, no comma is needed.


14. Use Commas for Numbers Over 999

Large numbers also require a comma. Add a comma after every third digit from the right.

  • 1,000

  • 97,452

  • 475,632,606,385

Adding proper commas helps readers identify a number’s value more quickly. For example, 475632606385 seems like a jumble of numbers, but adding commas helps us see that it’s really four hundred and seventy-five billion, six hundred and thirty-two million, six hundred and six thousand, three hundred and eighty-five.

15. Use Commas in Letter Salutations and Closings

In the salutation of a letter, a comma is needed after the person's name. This rule is true for both written letters and emails.

  • Dear Aunt Carol,

  • My darling Mario,

  • Hi Edgar,

If you're writing a formal business letter, you might substitute a colon (:) for the comma in the greeting. However, if you’re writing an informal letter or email, you might use an exclamation mark. Closings also use a comma.

  • Sincerely,

  • All my love,

  • With deepest gratitude,

Less formal communication may include an exclamation mark instead of a comma, such as “Thanks a bunch!” or “Can’t wait to see you!” It depends on the person receiving the letter or email.

Comma Rules Help Clarify Your Meaning

If you can master these comma rules, your writing will be neater, clearer and perfectly acceptable to English teachers and grammar purists everywhere. You may also find that you understand more complex texts once you know how grammar rules work. For more practice with commas, check out these eight times that commas were important.