Epazote or Chenopodium ambrosioides is one of the important Latin American herbs.
Epazote is a flavorful and aromatic spice in many Latin American dishes. But excessive consumption of the herb may lead to serious side effects.
However, you don’t need to worry as there are some closest epazote substitutes that you can use in your cooking.
Epazote herb plant grows up to 4 feet and yields green blossoms. The annual plant grows extensively in Central America — in Mexico and Guatemala.
The dark green Epazote leaves have a slender and pointed look. The leafy spice is also known as goosefoot, Hierba hedionda (“stinky weed”), Ipasote, Pazote, Pazoli, Apazote, Pizate, wormseed or Mexican tea.
Both fresh and dried epazote leaves are used to season a variety of dishes. Guatemalan and Mexican dishes use fresh leaves and stems of the herb. Epazote goes well with potato dishes, egg recipes, soups, quesadillas, enchiladas, and moles. It has a pungent taste and aroma similar to anise, mint, Mexican oregano, cilantro, and citrus flavor.
Chefs recommend of using epazote sparingly in the dishes as it has a strong flavor. You should also use it towards the end of the cooking process because too much heat can distort the flavor of the herb. Another good way to consume epazote is to drink its tea.
Epazote has a toxic substance chenopodium that has adverse effects on human health if consumed in a large amount. This and the fact that many do not like its strong pungent flavor are reasons to look for epazote substitutes.
Here are some of the best epazote substitutes.
Cilantro or Coriandrum sativum belongs to Apiaceae plant family along with parsley, carrot, celery and 3,700 other species.
All parts of the annual herb are edible and have versatile uses in the culinary world. Cilantro is also known as Chinese parsley. In the U.S. the cilantro seeds are called coriander and the leaves- cilantro.
The most ancient use of cilantro as a spice date back to 6000 years BC in Israel. Cilantro is an important ingredient in many savory dishes, soups, salad, etc. Mexican and Latin American dishes use cilantro as a popular substitute for epazote.
Cilantro flavor isn’t really similar to epazote but both the herb share a slight citrusy note. You can easily get fresh and dried cilantro in local groceries in the US.
Cilantro is a powerful antioxidant and has numerous health benefits. 
However, this substitute cannot provide with the digestive benefits of epazote. The carminative effects of epazote can help digestion of beans items, relieve excessive gas formation, etc. which cilantro may not do.
The chefs recommend substituting 1:1 cilantro for epazote.
Fennel has a licorice-like flavor and is not associated much with Mexican or Latin American cuisines. Fennel is native to the Mediterranean regions but it may grow in most parts of the world. Fennel seeds, leaves, bulb, and stalks are used to flavor various dishes.
Fennel has a wide range of health benefits due to its rich nutrition value. 
Fennel is a good substitute for epazote for numerous factors — it has popular licorice flavor note, it’s flavor is not as strong as epazote. Fennel too has beneficial effects for digestion process like epazote.
You can alternate epazote with fennel in 1:1 amount or adjust it according to your taste.
3. Mexican Oregano
Traditional oregano belongs to Lamiaceae mint plant family. It has a minty flavor note and is famous in Italian cuisine.
Mexican oregano comes from Verbenaceae plant family along with Lemon Verbena. It has a citrusy, earthy or grassy flavor note.
Mexican oregano is one of the most popular herbs in Mexican cuisine. Even though the citrusy note of this herb is quite different from epazote, Mexican oregano is a good spice for seasoning and other savory dishes that call for epazote. The best reason to use Mexican oregano as a substitute for epazote is perhaps to keep intact the authenticity of the Mexican dish.
You may use a similar amount of Mexican oregano as an alternative for epazote in the recipes.
4. Lemon Verbena
The lemony or citrus flavor of the herb makes it a good substitute for epazote. Lemon verbena is popularly used in meat and fish recipes. Many kinds of desserts, tea and beverages also use lemon verbena as one of the primary ingredients.
5. Other Possible Substitutes for Epazote
Few other herbs and spices may work as alternatives for epazote in your Mexican dishes. These include — tarragon, anise, boldo, and dried epazote in case you don’t have the fresh ones.
Epazote is one of the necessary ingredients in Mexican dishes — tortillas soup, beans, potato, egg recipes, etc. The herb is known for its strong pungent flavor which many people don’t like. Its toxic compound may affect health as well.
Many other herbs such as cilantro, Mexican oregano, fennel, lemon verbena, etc. may work as good substitutes for epazote. These alternative herbs may save the authenticity of the dishes due to their similar citrusy, earthy flavor note and health benefits.