Direct Answer
The comma before such as is not automatic. The clean rule is simple: use the comma when the example phrase can be removed without changing the main meaning, and leave the comma out when the phrase tells the reader which exact type you mean. Chicago’s rule uses the same idea: a comma is needed when what follows is nonrestrictive, meaning it adds information rather than narrowing the sentence. Source-1✅
Table of Contents
The Basic Rule for a Comma Before Such As
Such as introduces an example or a set of examples. Merriam-Webster defines the phrase as a way to introduce an example or series of examples. Source-2✅
Main Test
- Use a comma if the examples feel like extra information.
- Do not use a comma if the examples are needed to show which kind of thing you mean.
- Do not place a comma after such as unless another grammar reason forces it later in the sentence.
Think of the sentence without the such as phrase. If the sentence still points to the same idea, the examples are probably extra. If the sentence becomes too broad, unclear, or different, the examples are probably essential.
When You Need a Comma Before Such As
Use a comma before such as when the phrase adds examples to a noun that is already clear. The examples help the reader, but they do not limit the meaning of the noun.
✅ Correct
Digital tools, such as calendars and note apps, can make planning easier.
The phrase such as calendars and note apps adds examples. The sentence still works without it.
✅ Also Correct
Some kitchen items, such as measuring cups and mixing bowls, are used often.
The examples are helpful, but some kitchen items is already a clear group.
When the such as phrase appears in the middle of a sentence, the phrase is often set off with two commas: one before such as and one after the example list.
Pattern: General noun + comma + such as + examples + comma + rest of sentence.
Office supplies, such as paper clips and folders, belong in the cabinet.
If the such as phrase comes at the end of the sentence, you only need the comma before it. There is no second comma because the sentence ends after the examples.
End Position: The drawer holds small office supplies, such as paper clips and folders.
When You Do Not Need a Comma Before Such As
Do not use a comma when the such as phrase narrows the noun. In this use, the examples are not just extra. They tell the reader which type of people, things, places, or ideas you mean.
✅ Correct
Devices such as tablets and laptops are useful for remote work.
Without the examples, devices are useful for remote work is too broad.
❌ Not Best
Devices, such as tablets and laptops, are useful for remote work.
This says the examples are extra, but they actually identify the type of devices being discussed.
This no-comma pattern is common when the sentence is making a claim about a specific subset, not the whole category.
- Foods such as rice and oats are easy to store.
- Apps such as calendars and timers help with daily planning.
- Courses such as grammar and writing can improve editing skills.
- Materials such as cotton and linen are common in light clothing.
Essential vs Extra Information
The real grammar idea is restrictive vs nonrestrictive information. A restrictive phrase limits meaning. A nonrestrictive phrase adds information that can be removed. Purdue OWL explains that nonessential elements are set off with commas because they do not restrict the meaning of the sentence. Source-3✅
| Sentence | Comma? | Why It Works |
|---|---|---|
| Writing tools, such as grammar checkers, can catch simple errors. | Yes | Writing tools is already clear. The example is extra. |
| Writing tools such as grammar checkers can catch simple errors. | No | The phrase points to a specific type of writing tool. |
| Soft fruits, such as peaches and berries, bruise easily. | Yes | The examples add detail about a clear group. |
| Fruits such as peaches and berries bruise easily. | No | The examples narrow the meaning from all fruits to certain fruits. |
Such As vs Like, Including, and For Example
Such as is a clear way to introduce examples. Cambridge Dictionary notes that it can introduce one example or more than one example, and it also shows that as alone is not normally used for this job in standard example phrases. Source-4✅
| Phrase | Best Use | Example | Comma Note |
|---|---|---|---|
| such as | Introduces real examples | Tools such as timers and calendars help with planning. | Comma depends on essential vs extra meaning. |
| like | Often used for examples in casual wording | Tools like timers and calendars help with planning. | No comma when it narrows the noun. |
| including | Shows examples inside a larger group | Several tools, including timers and calendars, help with planning. | Often uses commas when the phrase is extra. |
| for example | Introduces a separate example idea | Some tools help with planning. For example, calendars can organize tasks. | Usually followed by a comma. |
| as | Not the normal phrase for introducing examples by itself | Use such as flowers and fruit, not as flowers and fruit. | Use such as for this meaning. |
Punctuation Patterns with Such As
The comma before such as is only one part of the sentence. The rest of the punctuation depends on where the phrase appears and how long the example list is.
- 1. Do not put a comma right after such as.
- ✅ Supplies, such as pens and folders, are stored here.
❌ Supplies, such as, pens and folders, are stored here. - 2. Use a closing comma when the example phrase interrupts the sentence.
- ✅ Small tools, such as rulers and scissors, belong in the drawer.
- 3. No closing comma is needed when the example phrase ends the sentence.
- ✅ The drawer holds small tools, such as rulers and scissors.
- 4. Keep the meaning clear when the list has several items.
- ✅ Basic supplies, such as pens, folders, and tape, are near the desk.
Comma Before Such As Examples Table
The easiest way to learn this rule is to compare pairs. Notice how the comma changes whether the examples feel like extra detail or part of the main meaning.
| Meaning | Correct Sentence | Comma Choice |
|---|---|---|
| Extra examples | Some hobbies, such as painting and gardening, are relaxing. | Use a comma before such as. |
| Specific kind | Hobbies such as painting and gardening are relaxing. | No comma. |
| Extra examples at the end | The app supports several file types, such as PDFs and images. | Use one comma before such as. |
| Needed category | File types such as PDFs and images are easy to share. | No comma. |
| Extra examples in the middle | Common accessories, such as cases and chargers, are sold separately. | Use commas around the phrase. |
| Specific accessories | Accessories such as cases and chargers are sold separately. | No comma. |
| Extra examples | Simple exercises, such as walking and stretching, can fit into a short break. | Use a comma before and after the example phrase. |
| Specific exercises | Exercises such as walking and stretching can fit into a short break. | No comma. |
Common Mistakes with Commas Before Such As
Most mistakes happen because writers treat such as as a phrase that always needs a comma. It does not. The phrase can be extra, or it can be part of the meaning.
- Adding a comma every time: Books, such as dictionaries, are useful. This can be correct, but only if dictionaries are extra examples.
- Forgetting the second comma: Books, such as dictionaries are useful. This is wrong when the phrase interrupts the sentence.
- Putting a comma after such as: Books such as, dictionaries and style manuals are useful. The comma after such as is not needed.
- Changing the meaning by accident: Courses, such as grammar and writing, help editors. This treats the examples as extra. Courses such as grammar and writing help editors points to those types of courses.
Simple memory test: If the examples answer which ones?, usually skip the comma. If the examples answer for example?, usually use the comma.
FAQ
Do you always put a comma before such as?
No. Use a comma before such as only when the example phrase is extra information. Do not use a comma when the examples identify the exact type you mean.
What is the easiest test for comma before such as?
Remove the such as phrase. If the main sentence still keeps the same meaning, use a comma. If the sentence becomes too broad or unclear, do not use a comma.
Is there a comma after such as?
Usually, no. Write such as apples and oranges, not such as, apples and oranges. A comma may appear later only if the example phrase itself needs to be closed.
Which is correct: tools such as calendars or tools, such as calendars?
Both can be correct, but they mean slightly different things. Tools such as calendars narrows the group to that type of tool. Tools, such as calendars, treats calendars as extra examples of an already clear group.
Can such as start a sentence?
It can appear at the start in short conversational replies, such as Such as? In regular article or essay sentences, such as usually appears after the noun it explains.
Is such as the same as for example?
They are close, but they are not always placed the same way. Such as usually sits inside a noun phrase: items such as pens and folders. For example often introduces a separate example sentence or clause.