Comma Before If: Rules and Clear Examples

By WritingTips.org
Published

Usually, skip the comma before if when the condition comes last. When the condition comes first, put a comma after the whole if clause.

Imagine you’re organizing a study group and the library room may be in use. Here’s a complete message you could send.

Hi, everyone. Please arrive at the library at six. Our first choice is the upstairs study room. If the room is free, we will meet there. Otherwise, we’ll use the tables by the entrance.

Here, if the room is free gives the condition, and we will meet there gives the result. You can also write We will meet there if it is free. Both versions make the same plan. The comma in the first version shows where the condition ends.

When the condition comes last

Keep the condition attached without a comma. In We will meet there if the room is free, the words if the room is free tell the group when the plan applies. If you leave those words out, We will meet there sounds like a confirmation. The grammar still works, but the message has changed. Purdue OWL’s comma guide gives the usual punctuation for a dependent clause that follows the main clause.

To adapt the message, fill in the details your group needs.

  • Where and when should everyone arrive?
  • What needs to be true before the group can use the room?
  • Where should everyone go if the room is unavailable? If that’s still undecided, say when you’ll confirm the location.

When the condition comes first

  • Condition first. If the room is free, we will meet there.
  • Result first. We will meet there if it is free.

The first version puts the point people need to check up front. The second leads with the proposed location. Either works when the group knows which room you mean. In the first version, the comma goes after free, where the condition ends and the main clause begins. The British Council’s lesson on conditionals shows this same change in punctuation when the clauses switch places. If you’re unsure which part gives the result, look for the clause that can stand alone as a sentence.

When if adds an aside

  • Condition for the plan. We will meet in the library room if it is free. The room’s availability determines where the group meets.
  • Comment on the plan. The library room is the best place to meet, if you ask me. The last words mark the judgment as your opinion. They give the reader no new instruction about where to go.

An aside is a comment you add to the main statement. At the end of the sentence, one comma can introduce it. In the middle, use a pair. The library room, if you ask me, is the best place to meet. The MLA Style Center’s guidance on modifiers shows how commas mark off this kind of extra comment.

Use the meaning to decide. Can the group act on the message the same way without the if words? Dropping if you ask me leaves the same recommendation. Dropping if it is free removes the condition on the location. A comma alone is a poor way to tell people whether a room is confirmed.

Editing a sentence with and if

Draft. I’ll check the booking and, if the room is free, we’ll meet there.

Revision. I’ll check the booking, and if the room is free, we’ll meet there.

Move the first comma before and to show where the second part of the update starts. Within that second part, if the room is free comes first and still sets the condition for meeting there. In this construction, the MLA Style Center also allows a short, clear condition to run straight into the result. I’ll check the booking, and if the room is free we’ll meet there. The two revisions communicate the same plan. The comma after free makes the boundary easier to spot.

Try it with a different condition

The group will meet in the library room if the front desk confirms the booking. How would you punctuate We’ll meet in the library room if the front desk confirms our booking?

Answer. We’ll meet in the library room if the front desk confirms our booking. Leave out the comma because the condition belongs directly to the plan. You could put the condition first and write If the front desk confirms our booking, we’ll meet in the library room.

Now suppose you want to ask someone to find out whether the front desk has already confirmed it. Write Please check if the front desk has confirmed our booking. There’s still no comma, but here if means whether. The whole clause tells the reader what to check. Merriam-Webster’s entry for if illustrates this use.

We encourage you to share this article on Twitter and Facebook. Just click those two links - you'll see why.

Written By:
WritingTips.org
magnifier