Focus on the quick test: can the clause after the conjunction stand alone as a sentence? If it can, use a comma before and, but, or so. If it cannot, skip the comma. Below are clear rules, common pitfalls, and many ready-to-copy corrections for work, school, and casual contexts.
Quick answer
Use a comma before and, but, or so only when the conjunction joins two independent clauses (each with its own subject and verb). If the second part shares the subject or is a phrase, no comma.
- Comma needed: I finished the report, so I emailed the team. (two independent clauses)
- No comma: I finished the report and emailed the team. (shared subject; compound predicate)
- Short, closely linked clauses: many writers omit the comma for a faster rhythm - I packed up and left - but a comma is still correct if both sides are independent.
Core explanation
An independent clause has a subject and a verb and can stand alone as a sentence. When two independent clauses are joined by a coordinating conjunction (for, and, nor, but, or, yet, so), standard punctuation calls for a comma before the conjunction.
- Correct: She wanted coffee, but the machine was broken.
- Incorrect (comma splice): She wanted coffee the machine was broken.
- Alternative: Use a semicolon instead of a comma + conjunction when you prefer tighter connection: She wanted coffee; the machine was broken.
Exceptions and notes:
- If the conjunction links words or phrases (not clauses), don't use a comma: red and yellow flowers.
- If so means "in order that" (purpose), it's a subordinating conjunction and usually doesn't take a comma: I paused so I could think. (no comma when the clause is subordinate)
- When clauses are short and closely related, many writers omit the comma for flow; this is a stylistic choice, not a new grammar rule.
When to use a comma before each conjunction
- Before and: Use a comma when it joins two independent clauses. No comma when it joins verbs, objects, or coordinated adjectives.
- Before but: Use a comma when it joins two independent clauses or sets up a clear contrast.
- Before so: Use a comma when it means "therefore" and joins two independent clauses. Do not use a comma when it means "so that" (purpose) and introduces a dependent clause.
Real usage: quick examples by context
- Work: The server finished the backup, so I restarted the service. (two independent clauses - comma)
- Work: I configured the server and restarted the service. (shared subject - no comma)
- School: She studied all night, but she still felt unprepared. (comma before but)
- School: She wrote the introduction and revised the conclusion. (compound predicate - no comma)
- Casual: I was tired, so I took a nap. (comma before so)
- Casual: I was tired and went to bed early. (no comma)
Wrong vs right examples you can copy
Each pair shows the incorrect punctuation and a clean correction you can paste into messages or papers.
- Wrong: I finished my notes so I could leave early.
Right: I finished my notes, so I could leave early. - Wrong: The team approved the draft but we need one more review.
Right: The team approved the draft, but we need one more review. - Wrong: She ordered lunch and picked up coffee.
Right: She ordered lunch and picked up coffee. (no comma - shared subject) - Wrong: He called the client so he could explain the changes.
Right: He called the client so he could explain the changes. (no comma - purpose clause) - Wrong: I read the chapter, and wrote a summary.
Right: I read the chapter and wrote a summary. (no comma - compound predicate) - Wrong: It started to rain but we kept working.
Right: It started to rain, but we kept working.
How to fix your own sentence
Repair sentences by checking clause independence and then choosing the clearest rhythm.
- Identify the conjunction and the clause that follows it.
- Ask: Does that clause have its own subject and verb and stand alone? If yes, add a comma before the conjunction.
- Reread and decide whether a comma or no comma sounds more natural for the sentence's pace and formality.
Rewrites:
- Original: The report was ready so I submitted it.
Rewrite: The report was ready, so I submitted it. - Original: We updated the figures and sent the email.
Rewrite: We updated the figures and sent the email. (no comma needed) - Original: She practiced the speech but still felt nervous.
Rewrite: She practiced the speech, but still felt nervous.
Spacing and hyphenation notes
- No space before a comma; use a single space after it.
- Do not insert a comma just to mark a pause in speech; punctuation should reflect structure, not breath.
- Hyphenation: when a compound adjective appears before a noun, use a hyphen (well-known result). That's separate from comma rules but often gets mixed up in quick edits.
A simple memory trick
Ask this quick question: "Can the second half stand alone?" If yes, put a comma before the conjunction. Visualize splitting the sentence at the conjunction - if both sides look like sentences, use the comma.
- Practice by scanning your drafts for sentences with and/but/so and applying the split test.
- When in doubt, try both forms aloud; clarity often shows which punctuation works best.
Similar mistakes to watch for
Fixing comma placement often reveals other nearby errors. Check for these while you edit.
- Comma splices: two independent clauses with only a comma but no conjunction.
- Missing commas with introductory phrases: After the meeting we left → After the meeting, we left.
- Unnecessary commas between subject and verb or between a verb and its object.
- Misplaced hyphens in compound adjectives.
FAQ
When can I omit the comma before and, but, or so?
Omit the comma when the conjunction joins verbs, objects, or phrases rather than two independent clauses. You may also omit it for very short, tightly linked independent clauses for style, but this is optional.
Is "so" always followed by a comma when it means "therefore"?
Not always. If it joins two independent clauses, a comma is standard. If it introduces a purpose clause (so that / so + verb) that's subordinate, don't use a comma.
What's a comma splice and how do I fix it?
A comma splice joins two independent clauses with only a comma. Fix it by adding a coordinating conjunction, replacing the comma with a semicolon, or splitting into two sentences.
Can style guides differ on these rules?
Yes. Guides vary on optional commas for short clauses and on rhythm vs. strict punctuation. When writing professionally, follow your organization's style; otherwise follow the split test above.
How can I practice this quickly?
Scan ten sentences in your recent writing for and/but/so and apply the split test. Correct each sentence and note patterns you repeat.
Want a second pair of eyes?
If you're unsure about a sentence, paste it into a grammar checker that explains whether a comma belongs before and/but/so rather than just changing punctuation. Understanding the reason helps you avoid the same mistake next time.
A tool that flags when the clause after and/but/so is independent will save time and stop repeated errors.