Punctuation in Compound and Complex Sentences (With Examples)

Punctuation in Compound and Complex Sentences cover image

Quick answer: In a compound sentence, put a comma before the coordinating conjunction (and, but, or, so, yet, for, nor) that joins two independent clauses, or use a semicolon if there is no conjunction. In a complex sentence, put a comma after a dependent clause that comes first (Because it rained, we stayed in), but usually no comma when it comes last (We stayed in because it rained).

Key takeaways

  • Independent clause + comma + FANBOYS + independent clause.
  • Two independent clauses with no conjunction need a semicolon or a period, not a comma.
  • Dependent clause first: comma. Dependent clause second: usually no comma.
  • Before a transition word like however or therefore that joins two clauses, use a semicolon, with a comma after the transition word.
  • Compound-complex sentences simply combine the two sets of rules.

First, two kinds of clauses

An independent clause has a subject and a verb and can stand alone as a sentence: the bus was late. A dependent clause also has a subject and a verb, but it starts with a word like because, although, when, if, since, while or after, so it cannot stand alone: because the bus was late.

Sentence typeMade ofExample
SimpleOne independent clauseThe bus was late.
CompoundTwo or more independent clausesThe bus was late, so I walked.
ComplexOne independent + at least one dependent clauseBecause the bus was late, I walked.
Compound-complexTwo or more independent + at least one dependentBecause the bus was late, I walked, and I still arrived on time.

Rule 1: Comma before FANBOYS in a compound sentence

The seven coordinating conjunctions are easy to remember as FANBOYS: for, and, nor, but, or, yet, so. When one of them joins two independent clauses, put a comma before it.

❌ I wanted to call you but my phone died.
✅ I wanted to call you, but my phone died.

❌ She studied hard and she passed the exam.
✅ She studied hard, and she passed the exam.

Exception: if the clauses are very short and closely linked, many writers leave the comma out: I came and I saw. Both are accepted.

Watch out: do not add a comma when the second part has no subject. That is a compound verb, not a compound sentence.

❌ She studied hard, and passed the exam.
✅ She studied hard and passed the exam.
“Passed the exam” has no subject of its own, so no comma.

Rule 2: No conjunction? Use a semicolon, not a comma

Two independent clauses joined only by a comma make a comma splice, one of the most common punctuation mistakes. Fix it in one of four ways:

❌ The store was closed, we went home.
✅ The store was closed; we went home.

  • Add a FANBOYS word: The store was closed, so we went home.
  • Use a semicolon: The store was closed; we went home.
  • Split into two sentences: The store was closed. We went home.
  • Make one clause dependent: Because the store was closed, we went home.

Read more in our guide to how to use a semicolon.

Rule 3: Transition words like “however” need a semicolon

Words such as however, therefore, moreover, otherwise, meanwhile and consequently are not conjunctions. When one of them starts the second independent clause, put a semicolon before it and a comma after it.

❌ It was expensive, however, we bought it.
✅ It was expensive; however, we bought it.

❌ He missed the train, therefore he was late.
✅ He missed the train; therefore, he was late.

Rule 4: Complex sentences depend on the order

When the dependent clause comes first, follow it with a comma.

❌ When the movie ended we went for dinner.
✅ When the movie ended, we went for dinner.

❌ If you need help call me.
✅ If you need help, call me.

When the dependent clause comes second, you usually need no comma.

❌ We went for dinner, when the movie ended.
✅ We went for dinner when the movie ended.

Exception: clauses that show contrast, starting with although, though, even though or whereas, often take a comma even at the end: I like the city, although I would not live there.

Compound-complex sentences

Apply both sets of rules. Put a comma after an opening dependent clause, and a comma before the FANBOYS word that joins the independent clauses.

❌ Although it was late we kept talking and nobody wanted to leave.
✅ Although it was late, we kept talking, and nobody wanted to leave.

Quick reference

PatternPunctuationExample
IC + FANBOYS + ICComma before FANBOYSI ran, but I missed it.
IC + IC (no conjunction)Semicolon or periodI ran; I missed it.
IC + however + ICSemicolon before, comma afterI ran; however, I missed it.
DC + ICComma after DCAlthough I ran, I missed it.
IC + DCUsually no commaI missed it although I ran.

IC = independent clause, DC = dependent clause.

Not sure about a sentence? Paste it into our punctuation checker or the run-on sentence checker, which flags comma splices and missing commas.

Related tools and guides

Frequently asked questions

Do you always need a comma in a compound sentence?

Usually, yes, before the conjunction. Very short, closely linked clauses can skip it: “I came and I saw.”

Does a complex sentence need a comma?

Only when the dependent clause comes first, or when an ending clause shows contrast, such as one starting with “although”.

What is a comma splice?

Two independent clauses joined only by a comma. Fix it with a conjunction, a semicolon or a period.

Is “because” a FANBOYS word?

No. “Because” starts a dependent clause, so a sentence with it is complex, not compound.

Can I start a sentence with “and” or “but”?

Yes. It is fine in most writing, though some teachers prefer you avoid it in formal essays.

Check your writing in seconds

Paste your text into the free SpellMistake grammar checker to catch spelling, grammar and punctuation mistakes instantly.

← Back to the blog