When to use a comma before or after but depends on the grammatical units that but connects. Use a comma before but when it joins two independent clauses, usually omit a comma before but when one subject controls both verbs, and place a comma after but only when an interrupter or parenthetical expression follows.
Key Facts at a Glance
- A comma normally precedes but when both sides contain independent clauses.
- A compound predicate usually takes no comma before but because one subject controls both verbs.
- A comma does not normally follow sentence-opening But.
- A comma can follow but when an interrupting expression begins immediately afterward.
- A comma before but is not required merely because a sentence is long.
- In short, closely connected independent clauses, some style guides permit omitting the comma.
What does “but” connect in a sentence?
The conjunction but connects grammatical units that contrast with each other, including words, phrases, and clauses. Comma placement depends first on the units’ structure, while the contrast meaning explains why but is the appropriate conjunction.
A coordinating conjunction joins elements of equal grammatical status. The traditional FANBOYS group is for, and, nor, but, or, yet, so. When but joins two complete clauses, the comma marks the boundary between two independent thoughts.
An independent clause contains a subject and a finite verb and can function as a complete sentence. In The forecast changed, forecast is the subject and changed is the verb. In the match continued, match is the subject and continued is the verb.
The comma does not belong to but because the word automatically requires punctuation. The comma belongs before the conjunction when the sentence contains two coordinated independent clauses.
The core pattern
The most reliable pattern is:
Independent clause, but independent clause.
Example:
The forecast changed, but the match continued.
Both clauses can stand alone:
- The forecast changed.
- The match continued.
The comma separates those complete thoughts before but introduces the contrast.
When should a comma come before “but”?
Place a comma before but when but joins two independent clauses. The second clause must have its own subject and verb, and it must be capable of standing alone as a sentence without relying on the first clause.
Examples:
- The report was concise, but the evidence was incomplete.
- Maya wanted to attend, but her flight was canceled.
- The battery reached 80 percent, but the device still displayed a warning.
- I checked the figures twice, but the total remained incorrect.
In each example, the material after but contains a new subject: the evidence, her flight, the device, or the total. That new subject performs or receives the action of the second clause.
The independent-clause test is more dependable than reading aloud. A pause may help a reader, but punctuation follows grammatical structure rather than personal breathing.
How do you apply the independent-clause test?
Use this four-step test:
- Locate but.
- Identify the subject and verb before but.
- Identify the subject and verb after but.
- Cover one side at a time and ask whether each side can stand as a sentence.
| Sentence | Clause before but | Clause after but | Result |
|---|---|---|---|
| The price rose, but demand fell. | The price rose | Demand fell | Comma required |
| Lena called but left a message. | Lena called | Left a message | No comma |
| The room is small, but it feels comfortable. | The room is small | It feels comfortable | Comma required |
| The engine started but stopped immediately. | The engine started | Stopped immediately | No comma |
| We expected delays, but the shipment arrived early. | We expected delays | The shipment arrived early | Comma required |
The test focuses on grammatical independence, not clause length. A short sentence can require a comma, and a long sentence can omit one.
Is the comma always mandatory between two independent clauses?
A comma is the standard choice before but when two independent clauses are joined, but short and tightly connected clauses may receive different treatment in some style systems. Formal business, academic, and legal writing should normally retain the comma because it makes the clause boundary visible.
Compare:
- The plan is simple, but the execution is difficult.
- I came but I saw nothing.
The first sentence benefits from the comma because the two assertions have separate subjects and a clear contrast. The second is short, familiar, and tightly connected, so some editors may omit the comma, although retaining it is also defensible in formal prose.
The Chicago Manual of Style, 18th edition, discusses the option of omitting a comma when independent clauses are short and closely related. That is a style choice, not permission to remove commas from every compound sentence.
When should you omit the comma before “but”?
Omit the comma before but when but connects parts of a single clause, especially two verbs sharing one subject. This structure is called a compound predicate.
Example:
The stock dropped sharply but recovered by noon.
The subject stock controls both verbs:
- The stock dropped sharply.
- The stock recovered by noon.
Although the second verb has an implied subject, the sentence presents one subject performing two coordinated actions. The absence of a comma keeps the actions connected.
More examples:
- The child opened the box but found no toy.
- The software installed correctly but failed during startup.
- The committee reviewed the proposal but requested more data.
- The dog barked but did not move.
A comma can make these sentences look as though they contain two separately balanced assertions. Without the comma, the compound predicate remains compact.
What is the difference between a compound predicate and two clauses?
A compound predicate has one grammatical subject shared by multiple verbs. Two independent clauses have separate subject-verb structures, even when the second subject is a pronoun or a repeated noun.
| Example | First subject | Second subject | Recommended punctuation |
|---|---|---|---|
| The server restarted but crashed again. | The server | Implied server | No comma |
| The server restarted, but it crashed again. | The server | It | Comma |
| Priya opened the file but edited nothing. | Priya | Implied Priya | No comma |
| Priya opened the file, but Omar edited nothing. | Priya | Omar | Comma |
| The plan looked practical but required funding. | The plan | Implied plan | No comma |
| The plan looked practical, but funding was unavailable. | The plan | Funding | Comma |
The repeated or newly introduced subject is the decisive clue. A pronoun counts as a subject, even when it refers to the noun in the first clause.
Can a comma appear before “but” when the subject is understood?
Yes, but the writer must distinguish an omitted subject from a genuinely independent clause. The manager approved the budget but delayed the announcement has one subject and no comma. The manager approved the budget, but the board delayed the announcement has two subjects and takes a comma.
Writers often insert a comma because the second verb introduces a major change in action. That semantic shift does not create a second independent clause. Grammar controls the punctuation.
When can a comma come after “but”?
A comma can follow but when an interrupter, parenthetical expression, or other removable element begins immediately after the conjunction. The comma belongs to the interruption, not to but itself.
Examples:
- The proposal was expensive, but, in my view, it was necessary.
- The train was late, but, fortunately, nobody missed the connection.
- The answer seems obvious, but, to be precise, the rule has an exception.
- The contract looked complete, but, according to counsel, one clause was missing.
Remove the parenthetical material and the underlying sentence remains grammatical:
- The proposal was expensive, but it was necessary.
- The train was late, but nobody missed the connection.
The paired commas identify an interruption inside the second clause. In many cases, rewriting produces cleaner prose:
The proposal was expensive, but I considered it necessary.
That version avoids the visually heavy sequence but, in my view,.
Which interrupters commonly follow “but”?
Common interrupters include sentence adverbs, brief opinion phrases, and attribution phrases. The surrounding punctuation depends on the expression’s position and length.
| Interrupter | Example after but | Comma pattern |
|---|---|---|
| Of course | But, of course, the risk remained. | Paired commas |
| In fact | The test passed, but, in fact, the result was invalid. | Paired commas |
| To be honest | We agreed, but, to be honest, I remained doubtful. | Paired commas |
| Fortunately | The road flooded, but, fortunately, traffic stopped early. | Paired commas |
| According to Lee | The date changed, but, according to Lee, the venue remained open. | Paired commas |
A short parenthetical may be integrated without the same punctuation in informal prose, but formal editing should make the interruption clear. When two commas make a sentence difficult to scan, move the parenthetical to the beginning or end.
Should you put a comma after “but” at the beginning of a sentence?
Normally, do not put a comma after sentence-opening But. But can begin a grammatically correct sentence, and the word does not require a pause after it.
Correct:
But the deal was already dead.
Incorrect in standard edited prose:
But, the deal was already dead.
Correct with an interrupter:
But, of course, the deal was already dead.
Beginning a sentence with But is accepted in modern formal English, including academic and professional writing, although some traditional teachers discourage it as a style preference. The comma rule does not change: place a comma after but only when an interrupter follows.
What happens with “But if”?
Do not normally write a comma directly after but in a but if construction. The word if introduces a dependent conditional clause, and the conjunction but connects that clause to the preceding thought.
Correct:
We will proceed, but if the inspection fails, we will withdraw.
The comma after fails closes the introductory conditional clause before the independent clause we will withdraw. The comma does not follow but.
Another example:
The room is available, but if the price increases, we will choose another venue.
The pattern is:
Independent clause, but if dependent clause, independent clause.
A comma after but in but, if the inspection fails, is usually unnecessary and can make the sentence harder to parse.
How does “but” work with phrases and single words?
No comma is normally used when but joins individual words or phrases rather than independent clauses. Coordinated elements must be grammatically parallel, and punctuation should not separate them from the conjunction without a special interruption.
Examples:
- Choose tea but not coffee.
- The repair is simple but expensive.
- She wanted accuracy but also speed.
- The package arrived late but undamaged.
- We need a larger but quieter room.
The contrast can be strong without a comma. A comma before but would incorrectly suggest that the second element is an independent clause.
A comma may appear elsewhere in the sentence for an unrelated reason:
The small, expensive device failed.
The comma separates adjectives, not the conjunction. Writers should identify which punctuation mark performs which grammatical job.
Can “but” join two nouns or objects?
Yes. When but joins nouns, pronouns, or objects, no comma is generally needed.
- Nobody but Elena knew the password.
- The kit includes cables but no adapter.
- The policy affects employees but not contractors.
- The room needs paint but no structural repairs.
In The kit includes cables but no adapter, but joins two objects of includes. Neither side is an independent clause, so a comma would be incorrect.
What punctuation replaces a comma before “but”?
A semicolon can precede but when the two independent clauses are long, internally punctuated, or especially complex. The semicolon is stronger than a comma and still allows but to express the relationship.
Example:
The first proposal included a detailed implementation schedule, staffing plan, and budget; but the second proposal offered a lower total cost.
Many style guides prefer either a comma or a semicolon according to sentence complexity, while some editors would remove but after the semicolon and use a transitional adverb instead:
The first proposal included a detailed implementation schedule, staffing plan, and budget; however, the second proposal offered a lower total cost.
A period is another valid alternative:
The first proposal included a detailed implementation schedule, staffing plan, and budget. But the second proposal offered a lower total cost.
Do not use a semicolon between a complete clause and a phrase:
Incorrect: The proposal was expensive; but necessary.
Necessary is not an independent clause. The correct version is:
The proposal was expensive but necessary.
When is a period better than a comma?
Use a period when the contrast deserves separate emphasis or when the first clause already contains several commas. A period prevents a long sentence from accumulating too many structural signals.
Compare:
- The audit was delayed, but the final report was still issued.
- The audit included interviews, source checks, regional comparisons, and revised calculations. But the final report was still issued.
The second version is easier to scan because the information is divided into two sentences. Sentence length alone does not determine comma placement, but length can justify a different sentence structure.
How do you fix comma errors before or after “but”?
Fix a comma error by identifying the grammatical unit on each side of but, then removing any comma that has no structural job. A reliable edit takes about 30-60 seconds for an ordinary sentence and should not depend solely on the ear.
Use this workflow:
- Circle each subject and verb.
Mark both sides of but, including pronouns and implied subjects. - Classify the connection.
Decide whether but joins clauses, predicates, phrases, objects, or an interrupter. - Apply the matching pattern.
Use clause, but clause for two independent clauses. Use subject verb but verb for a compound predicate. - Check the material after the conjunction.
If an interrupter begins there, pair its commas. If a dependent clause begins with if, when, or although, do not add a habitual comma after but. - Read for structure, not breath.
Speaking pauses can reveal emphasis, but they cannot override the clause analysis.
Common errors and corrections
| Error type | Incorrect sentence | Corrected sentence |
|---|---|---|
| Missing comma between clauses | The data is reliable but the sample is small. | The data is reliable, but the sample is small. |
| Extra comma in a predicate | The data is reliable, but limited. | The data is reliable but limited. |
| Habitual opening comma | But, the deadline passed. | But the deadline passed. |
| Misplaced comma in but if | We will stay, but, if costs rise, we will leave. | We will stay, but if costs rise, we will leave. |
| Unclosed interrupter | The plan failed, but in fact it was never tested. | The plan failed, but, in fact, it was never tested. |
| Comma based only on length | The engine ran for three hours but stopped at midnight. | The engine ran for three hours but stopped at midnight. |
The fourth example illustrates a common style preference rather than an absolute prohibition. Some writers use a comma after but to mark a long interruption, but most edited prose omits it before if because the conditional clause flows directly from the conjunction.
Which rules matter in professional and academic writing?
Professional and academic writers should use the independent-clause rule consistently, retain commas in formal compound sentences, and revise overloaded interrupters instead of relying on punctuation to rescue unclear syntax. Contracts and technical instructions deserve extra care because a clause boundary can affect interpretation.
For non-native English writers, identifying the second subject is a useful starting shortcut:
- New subject after but: usually comma before but.
- No new subject after but: usually no comma before but.
- Interrupter after but: comma pairs may be required.
- If, when, or although after but: usually no comma immediately after but.
The shortcut is not a complete grammar analysis. It can fail when the subject is omitted, when clauses are inverted, or when the apparent subject belongs to a phrase rather than the verb.
Creative writers may omit a conventional comma in dialogue or deliberately compressed narration, but the choice should communicate speed or fragmentation. Standard exposition should return to conventional punctuation so readers do not mistake an intentional effect for an editing error.
Grammar checkers can identify many comma-before-but patterns, but automated suggestions remain limited. Typical consumer subscriptions cost about $12-$30 per month, while free versions usually catch basic coordination errors; neither category reliably understands every stylistic choice involving short independent clauses.
What are the expert rules of thumb?
Three editing principles prevent most errors around but:
- Do not confuse contrast with clause separation.
A sentence can express a sharp contrast without needing a comma: The solution is simple but costly. Meaning does not create an independent clause. - Test the hidden subject.
In The device restarted but failed, the subject of failed is understood as device. In The device restarted, but it failed again, it makes the second clause explicit. - Treat the comma after “but” as marked punctuation.
A comma after but should make the reader expect an interruption, not merely a pause. If no parenthetical follows, delete the comma in most edited sentences.
A fourth principle helps with difficult prose: when a sentence requires several explanations about its commas, rewrite it. Clear syntax is usually more durable than increasingly elaborate punctuation.
FAQ
Is a comma needed before “but” in every sentence?
No. A comma is needed when but joins two independent clauses, such as The file opened, but the images were missing. No comma is normally needed when but joins two verbs sharing a subject, as in The file opened but displayed errors, or when it joins words and phrases.
Is “but” a coordinating conjunction?
Yes. But is one of the seven traditional coordinating conjunctions in the FANBOYS mnemonic: for, and, nor, but, or, yet, so. Its coordinating function allows it to join independent clauses, compound predicates, phrases, and words, but the punctuation depends on the units being connected.
Can a sentence start with “but” in formal English?
Yes. Sentence-opening But is grammatically acceptable in formal English, although some organizations may prefer however for a more conservative style. Do not add a comma after opening But unless an interrupter follows, as in But, of course, the evidence changed the conclusion.
Does a long sentence require a comma before “but”?
No. Sentence length does not determine whether a comma belongs before but. The machine operated continuously for six hours but stopped at midnight has one subject and a compound predicate, so no comma is required. A long sentence may need a rewrite for clarity, but not automatically a comma.
Should there be a comma before “but” in a list?
Usually no, when but connects items within a list or phrase. In The package was small, light, but durable, the comma before but may be used in some stylistic treatments of a three-adjective series, but it does not follow the independent-clause rule. Coordinate adjective style should be handled consistently.
Is a comma before “but” optional in short sentences?
Sometimes. A comma is standard when two independent clauses are joined, but style guides may allow omission when the clauses are very short and closely related. Formal writing should generally retain the comma because it visibly marks the boundary and reduces the chance of misreading.
The Bottom Line
When to use a comma before or after but becomes straightforward once the connected units are identified. Use comma + but for two independent clauses, omit the comma for a shared-subject compound predicate or phrase-level contrast, and place a comma after but only when an interrupter actually follows. Check the clause structure before trusting length, rhythm, or a grammar checker.


