Sofrito is not a finished condiment - it's a building block. You cook it into the base of dishes, not over them. Understanding it explains why so much South American food has a similar underlying savory depth even across very different cuisines.
In its most basic form, sofrito is onion and garlic cooked down in oil until soft. Everything added beyond that is regional. The ingredients that commonly appear:
Brazil (refogado): Onion, garlic, tomato, and sometimes green bell pepper, cooked in olive oil until soft. Tomatoes break down fully. Used as the base for beans, rice, stews, and fish dishes. Simpler and less spiced than the Colombian version.
Colombia (hogao): Scallions (not white onion) and tomato, cooked much longer than most sofrito until the tomato breaks down completely and the scallion sweetens. Full recipe in our Colombian hogao guide. The extended cooking time is key - 20-30 minutes minimum.
Venezuela (sofrito): Adds green bell pepper, red bell pepper, and ají dulce (a sweet, mild chile native to Venezuela) to the onion-garlic-tomato base. Often blended into a smooth paste before cooking rather than kept chunky.
Peru: Onion and garlic as the base, with ají amarillo or ají panca paste added early in the cooking. The paste colors the oil orange before the other ingredients go in. This is the start of ají de gallina, lomo saltado, and many stews.
Make a large batch - 3-4 times the recipe above - and refrigerate in a sealed container. Keeps for one week. Freezes well in ice cube trays; transfer frozen cubes to a bag and use as needed. One cube is roughly one tablespoon, which is enough to start a sauce for two servings.
This is the highest-leverage meal prep step in South American cooking. A jar of sofrito in the fridge means rice, beans, eggs, and any protein are 10 minutes away from being a complete meal.
Sofrito is the foundation; the condiments are the finish. For the full picture - from this base sauce through to chimichurri, huancaína, and hogao - see our complete guide to South American condiments and cooking.