Writers often insert a comma before so, but, or and out of habit. That comma is usually unnecessary - and sometimes incorrect - when the conjunction is followed by a modal construction: a modal verb + pronoun + verb (for example: so I could, but she couldn't, and we would).
Don't use a comma before so, but, or and when what follows is a modal construction that continues the same clause (e.g., "so I could", "but we couldn't", "and she would").
A comma normally separates two independent clauses joined by a coordinating conjunction. If the clause after the conjunction contains a modal verb plus subject and verb but cannot stand alone, it's usually a continuation, not a separate clause, so no comma is needed.
Look for a modal (could, would, might, can't, shouldn't, etc.) immediately after the pronoun. If the phrase reads as one combined idea - I wanted to go so I could see her - omit the comma. If it can stand alone - I wanted to go, and I left at midnight - keep the comma.
Independent clauses have their own subject and finite verb and can be standalone sentences. A modal construction is modal + pronoun + base verb (could I go, can she come, wouldn't he say). When that construction continues the same idea, it functions as part of the same clause.
Formal writing follows the same clause rules. Avoid adding commas for emphasis; they can make prose seem unsure. Keep sentences clean: The team approved the plan but couldn't start until funding arrived.
In casual writing (messages, chat), writers sometimes insert commas for a pause effect. That's acceptable informally, but avoid it in workplace or academic documents where clarity matters.
Below are grouped templates. Each "Wrong" sentence uses an unnecessary comma before so, but, or and when followed by a modal construction; each "Right" sentence fixes punctuation and, where helpful, tense.
Test the whole sentence, not the phrase in isolation. Context makes the correct choice clearer.
Checklist: 1) Locate the conjunction (so/but/and). 2) Check whether the next words form modal + pronoun + verb (could I, might she, can't we). 3) If they do, remove the comma and check tense.
If the second clause can stand alone, keep the comma. If not, remove it. Read the sentence aloud: if the second half feels like a direct continuation, no comma.
Use the "Can-it-stand-alone?" test. If the part after the conjunction is a complete sentence by itself, keep the comma. If it's a modal continuation, drop the comma.
Another quick cue: if you see a modal right after the pronoun (I could, she would, we can't), default to removing the comma unless you intentionally created two sentences.
Don't confuse this with comma splices, where two independent clauses are joined only by a comma. Also watch introductory adverbials, commas before which/that clauses, and reduced clauses where the subject is omitted. Those follow different rules.
Spacing: Use a single space after a comma. Whether you remove or keep a comma, spacing rules stay the same.
Hyphenation: Hyphens are unrelated to this rule; they belong to compound modifiers (well-known author) and don't affect commas before conjunctions.
Almost always remove it if "but" is followed by a modal construction that continues the same clause (e.g., "but couldn't finish"). Keep the comma only when "but" joins two full independent clauses.
It's grammatically awkward: the comma splits the idea and the tenses clash (wanted = past, can = present). Better: "I wanted to go so I could see them," or "I want to go so I can see them."
Keep it when "and" joins two independent clauses (each with its own subject and finite verb): "I left early, and I avoided the storm." If the second part is a modal continuation ("and could", "and would"), you usually omit the comma.
Remove the comma: "She apologized but couldn't change the decision." For stronger contrast, use a semicolon or add an adverb: "She apologized; however, she couldn't change the decision."
Many checkers catch the pattern, but some miss tense mismatches (can vs could) or context. Use a checker to flag the comma and then confirm tense and tone yourself.
Paste a sentence into a grammar checker that understands context. Combine its suggestions with the quick checklist above to spot and fix comma errors reliably.
Try a couple of tricky sentences now - the combination of automatic suggestions and the short tests here will sharpen your punctuation.