Sub topic 7
Clause order and commas
This chapter covers where the if-clause can go in a conditional sentence and how to punctuate each order. It assumes you already know the basic structure of a conditional (an if-clause plus a main clause) and the present simple, past simple, and past perfect tenses. You should also recognize the modal verbs will, would, could, and might.
Two clauses, two possible orders
A conditional sentence has an if-clause, which states the condition, and a main clause, which states the result. The if-clause can come first or second. The meaning stays the same, and only the punctuation changes.
| Order | Pattern | Example |
|---|---|---|
| If-clause first | If + condition, result | If it rains, we will stay home. |
| Main clause first | Result + if + condition | We will stay home if it rains. |
The rule in standard written English is simple:
- If the if-clause comes first, put a comma after it.
- If the main clause comes first, usually write no comma before if.
If you heat ice, it melts.
Ice melts if you heat it.
If I had more time, I would learn the piano.
I would learn the piano if I had more time.
If she had left earlier, she would have caught the train.
She would have caught the train if she had left earlier.The same rule applies to all four conditional types. The verb forms in each clause do not change when you swap the order. Only the comma changes.
Why the comma appears in one order only
The if-clause is a subordinate clause. It cannot stand alone as a sentence. When a subordinate clause opens a sentence, writers separate it from the main clause with a comma. When it closes the sentence, the main clause has already established the sentence, and the if-clause attaches to it without a pause.
You can think of the comma as a signal to the reader. The sentence says "the condition is finished, and the main point starts now."
Worked examples for each type
The next examples show both orders for every type. Check that the verb forms are the same in each pair.
Zero conditional
When you mix red and blue, you get purple.
You get purple when you mix red and blue.First conditional
If you finish early, call me.
Call me if you finish early.An imperative main clause works in either order. When the imperative comes first, there is still no comma before if.
Second conditional
If I were you, I would apply for the job.
I would apply for the job if I were you.Third conditional
If we had booked earlier, we would have found a cheaper flight.
We would have found a cheaper flight if we had booked earlier.Choosing an order for emphasis
Both orders are correct, so the choice is about emphasis and flow. English tends to put the information it wants the reader to focus on at the end of a sentence.
- Put the if-clause first when the condition is the main topic or sets the scene. "If the test results are negative, you can return to work on Monday."
- Put the main clause first when the result is the main point and the condition is an add-on. "You can return to work on Monday if the test results are negative."
In instructions and rules, writers often put the condition first so that the reader knows whether the instruction applies before reading it. "If the light is red, stop." is easier to follow than "Stop if the light is red" when the reader is scanning a list of rules.
Commas with when, unless, and similar words
The same pattern applies to other words that introduce a condition. You will meet these in detail in a later chapter, but the punctuation rule is the same.
Unless you hurry, you will miss the bus.
You will miss the bus unless you hurry.
As long as you call first, you can visit any time.
You can visit any time as long as you call first.
Provided that everyone agrees, we will start on Monday.
We will start on Monday provided that everyone agrees.When a comma can appear before if
The "no comma" rule has exceptions. Some writers add a comma before a final if-clause in these situations.
- The if-clause is an afterthought. "We will stay home, if that is all right with you." The comma creates a pause that makes the condition sound like a polite addition.
- The sentence is long and the comma helps the reader. A comma can mark the boundary when the main clause is long or contains its own commas.
- The if-clause adds a comment rather than a true condition. "It was a good film, if a little long." Here if means "although" and is not a real conditional.
In everyday writing, leaving out the comma before a final if-clause is the safe default. Add one only when you want a pause or when it prevents confusion.
Commas inside the if-clause
A comma sometimes appears inside a clause because of another element, such as a list or an interrupting phrase. Keep these commas separate from the clause-boundary comma.
If you bring your passport, your ticket, and a printed receipt, the agent will check you in.The first two commas separate items in the list. The final comma, after receipt, marks the end of the if-clause. Do not remove it because the sentence already has commas.
An interrupting phrase can also add commas inside the main clause:
If the weather is good, we will, of course, eat outside.Spoken English and punctuation
In speech, a rise or pause in intonation takes the place of the comma. A speaker who starts with the if-clause usually pauses briefly after it. A speaker who puts the if-clause last usually runs it straight on from the main clause. The written rules reflect this pattern, so listening to how you pause can help you decide where a comma belongs.
Common errors with clause order and commas
The following table lists the mistakes learners make most often.
| Error | Why it is wrong | Correction |
|---|---|---|
| If it rains we will stay home. | A fronted if-clause needs a comma in standard writing. | If it rains, we will stay home. |
| We will stay home, if it rains. | The comma is unnecessary before a final if-clause in standard usage. | We will stay home if it rains. |
| If it rains, then, we will stay home, | Extra commas break the sentence into pieces. | If it rains, we will stay home. |
| We will stay home. If it rains. | The if-clause is cut off as a fragment. | We will stay home if it rains. |
| We would have won if we had played better, | A sentence ends with a full stop, not a comma. | We would have won if we had played better. |
Two further points are worth remembering:
- Changing the order does not change which tense goes in which clause. In "We will cancel the picnic if it rains", the present simple still belongs to the if-clause, even though that clause comes second. "We will cancel the picnic if it will rain" is wrong for the same reason that "If it will rain, we will cancel the picnic" is wrong.
- Moving the if-clause never turns a conditional into a different type. Check the verb forms, not the position, to identify the type.
Edge case: then in the main clause
You can add then to the main clause of a sentence that begins with an if-clause. It emphasizes the link between condition and result.
If prices rise, then fewer people will buy the product.Do not add then when the main clause comes first. "We will stay home then if it rains" has a different meaning, because then refers to a time rather than a consequence.
Edge case: inverted conditionals
Formal conditionals that drop if follow the same punctuation rule. When the inverted clause comes first, a comma follows it.
Had I known, I would have called you.
Should you need help, please contact us.
Were I you, I would accept the offer.Inversion is usually found with the if-clause first. A version with the main clause first, such as "I would have called you had I known", is possible in formal writing and takes no comma. Inversion is covered in a later chapter.
Quick checklist
Before you finish a conditional sentence, check these points:
- Is the if-clause first? If so, add a comma after it.
- Is the if-clause last? If so, leave out the comma unless you want an afterthought pause.
- Are the verb forms correct for the type of conditional you chose?
- Does the if-clause contain will or would where it should not? Keep will out of the if-clause of a first conditional, and keep would out of the if-clause of a second or third conditional.
- Is each clause part of one complete sentence, with no fragment left over?
Exercise
Add or remove commas so that each sentence follows standard punctuation. Write "correct" if no change is needed. 1. If you press this button the machine stops. 2. The machine stops, if you press this button. 3. I would have helped you if I had known. 4. If I had known, I would have helped you.
Show answer
1. If you press this button, the machine stops. (Add a comma after the fronted if-clause.) 2. The machine stops if you press this button. (Remove the comma before the final if-clause.) 3. Correct. (The if-clause is last, so no comma is needed.) 4. Correct. (The if-clause is first and is followed by a comma.)
Exercise
Rewrite each sentence with the other clause order, and punctuate it correctly: (a) "She will pass the exam if she studies." (b) "If I were taller, I would play basketball."
Show answer
(a) If she studies, she will pass the exam. (b) I would play basketball if I were taller. The verb forms stay the same, the comma is added when the if-clause moves to the front, and the comma is removed when the if-clause moves to the end.
Exercise
A learner writes "We will cancel the picnic if it will rain." Explain why this is wrong and whether moving the if-clause to the front would fix it.
Show answer
The if-clause of a first conditional uses the present simple, not will. Moving the clause to the front does not fix the tense, because clause order does not affect verb forms. The correct sentence is "We will cancel the picnic if it rains", or "If it rains, we will cancel the picnic."