A comma before "but" is required when it connects two independent clauses-complete thoughts that can stand alone as sentences. This rule applies only when "but" joins two independent clauses, not when it links parts of a single clause.
Independent clauses are complete ideas with a subject and verb. When "but" appears between them, a comma is necessary to clarify the pause and prevent confusion. For example: "I wanted to go hiking, but the weather turned rainy." Here, both "I wanted to go hiking" and "the weather turned rainy" are independent clauses, so the comma is correct.
When "but" connects a dependent clause to an independent one-or links elements within a single clause-the comma is unnecessary. For instance: "She left early but still missed the meeting." Both parts share the same subject ("she"), so no comma is needed. The comma before "but" exists only to separate distinct, complete thoughts.
The comma before "but" functions as a punctuation signal that two independent clauses are being joined. Without it, readers may misread the sentence's structure. Consider: "He studied hard but failed the test." This is correct without a comma because both clauses share the same subject and action flow logically.
Now compare: "He studied hard, but he failed the test." The comma clarifies that two separate events are being contrasted. The pause allows the reader to process each idea independently. This is standard in formal writing, including academic papers and business communications.
Some writers omit the comma in casual speech or informal writing, but in formal contexts, the comma is expected. Style guides such as the Chicago Manual of Style and the Associated Press Stylebook require the comma when joining independent clauses with coordinating conjunctions like "but," "and," "or," "nor," "for," "so," and "yet."
Understanding comma usage before "but" depends on recognizing clause types. An independent clause contains a subject and a finite verb and expresses a complete thought. A dependent clause lacks one or both and cannot stand alone.
Use a comma before "but" only when both sides are independent. If one side is dependent, no comma is needed. Examples:
When "but" appears in a list, the comma is not placed before it unless it separates two independent clauses. For example: "The team arrived late, but they still won the game." The comma is justified because both clauses are complete. But in: "She brought snacks, drinks, and butterscotch." The "but" is not a conjunction-it's part of a noun phrase, so no comma is used.
Many people assume a comma is always needed before "but" because it signals contrast. That's incorrect. The comma is not about meaning-it's about syntax. The presence of "but" doesn't trigger a comma; the independence of the clauses does.
A frequent error is adding a comma before "but" in compound predicates. For example: "He ran quickly but tripped." No comma is needed because "ran quickly" and "tripped" share the same subject and are part of a single action sequence. Adding a comma here creates a false pause and disrupts clarity.
Another mistake is using a comma before "but" when it introduces a dependent clause. Example: "But since the train was delayed, we missed the connection." This sentence starts with "But," which is acceptable in narrative writing, but no comma follows it because "since the train was delayed" is a dependent clause. The comma comes after the dependent clause, not before "but."
Use a table to clarify the different cases:
| Sentence Type | Comma Before "But"? | Example |
|---|---|---|
| Two independent clauses | Yes | "I called her, but she didn't answer." |
| Dependent + independent clause | No | "I stayed home but felt lonely." |
| Compound predicate (same subject) | No | "She spoke loudly but quietly." |
| Starting sentence with "But" | Yes, if followed by independent clause | "But the bus never came, so we walked." |
When "but" begins a sentence, the comma is still required if it's followed by an independent clause. Starting with "But" is common in creative writing and dialogue but less formal in academic work. Still, the comma rule remains unchanged.
Consider this sentence: "The project was approved, but the budget was cut." This is correct. "The project was approved" and "the budget was cut" are both independent clauses. The comma before "but" separates them.
Now revise it: "The project was approved but the budget was cut." This version is missing the comma. While some style guides allow omission in very short sentences, most recommend the comma for consistency and readability. The Chicago Manual of Style states: "A comma is generally used before a coordinating conjunction joining two independent clauses."
I once reviewed a student paper where the sentence "She finished the assignment but forgot to submit it" appeared without a comma. The instructor marked it as unclear. After adding the comma-"She finished the assignment, but forgot to submit it"-the sentence became unambiguous. The pause emphasized the contrast between completion and failure to act.
People often confuse the function of "but" as a contrastive word with the punctuation rule. The word "but" signals opposition, but the comma is about grammatical structure. You can have contrast without a comma, and a comma without contrast.
For example: "I like coffee, but I don't drink it after 6 PM." The comma is needed because both clauses are independent. Now: "I like coffee but don't drink it after 6 PM." The comma is absent, but the sentence is still correct because the second part is dependent on the first subject. The meaning is preserved.
As noted in the Publication Manual of the American Psychological Association (7th ed.), "Punctuation should reflect syntactic relationships, not emotional tone or intent."
When in doubt, apply the same rule to other coordinating conjunctions. If you'd use a comma before "and" or "or" in a similar construction, do the same for "but." This consistency improves readability across writing.
Remember: the comma before "but" is not optional in formal writing when joining independent clauses. It's a structural necessity, not a stylistic choice.