Writing Tips has been archived and won’t be updated before it is permanently deleted.
For the most up-to-date content, please consult Writing Tips Plus, which combines content from Writing Tips and The Canadian Style. And don’t forget to update your bookmarks!
To decide whether to use commas with such as, you need to know whether the phrase it introduces is essential.
When such as introduces a modifier that is not essential to the meaning of the sentence (i.e. a non-restrictive modifier), commas are required:
The modifier such as rubies is not essential; it simply adds detail. Therefore, it should be set off by commas.
However, modifiers that are essential to the meaning of the sentence (i.e. restrictive modifiers) are not set off by commas:
The modifier such as street, avenue, and road is essential to the meaning of the sentence: it restricts the general term words to a specific type of word. As a result, it should not be set off by commas.
Note that such as should not be separated from the list of examples that follows it. For that reason, you should never put a comma immediately after such as.
© Public Services and Procurement Canada, 2024
TERMIUM Plus®, the Government of Canada's terminology and linguistic data bank
Writing tools – Writing Tips
A product of the Translation Bureau