1. "For example" as an introductory phrase:
* If "for example" introduces a list or an example, it usually needs a comma after it.
Example: "Many fruits are high in vitamins, for example, oranges, bananas, and strawberries."
2. "For example" within the sentence:
* If "for example" is used within a sentence and doesn't introduce a list or example, you might not need a comma.
Example: "The study found that people who eat a healthy diet, for example one rich in fruits and vegetables, are less likely to develop certain diseases."
3. "For example" as part of a parenthetical phrase:
* If "for example" is part of a phrase that could be removed without changing the meaning of the sentence, it is usually set off by commas.
Example: "Many people enjoy different types of music, for example, classical, jazz, and rock."
In summary:
* Use a comma after "for example" when it introduces a list or example.
* Consider a comma after "for example" if it is part of a parenthetical phrase.
* You may or may not need a comma after "for example" if it is used within a sentence, depending on the structure and clarity of the sentence.
The best way to determine if a comma is needed is to read the sentence out loud and see if a pause makes sense after "for example." If you pause naturally, a comma is probably necessary.