Sofrito
Sofrito is a slow-cooked aromatic base of onion, garlic, peppers, and tomato, simmered in olive oil until jammy, used to build flavor in Spanish, Latin American, and Italian dishes.
Sofrito is a slow-cooked aromatic base of onion, garlic, peppers, and tomato simmered in olive oil until the vegetables collapse into a jammy paste, used to build the foundation of dishes across Spanish, Puerto Rican, Cuban, Dominican, and Italian cuisines. Done well, it's the unseen engine behind most of the food on that side of the Atlantic. A spoonful at the start of a paella, a pot of beans, or a braise replaces hours of layered flavor work.
I learned to make sofrito from a Cuban friend who keeps a jar of it in her fridge at all times. The first time I cooked rice and beans using her base, the difference shocked me. The same recipe I'd made a dozen times with raw aromatics suddenly tasted like it had been simmering all afternoon. After making my own batches for a couple of years, I keep mine in tablespoon-sized cubes in the freezer and barely think about it.
What is sofrito?
The word covers two related but different things depending on where you are. In Spain (where the technique originated), sofrito is the cooked aromatic base: onion, garlic, and tomato slow-fried in olive oil, often with red pepper and a hit of paprika. In Puerto Rico, sofrito is a raw blended paste of cilantro, culantro, onion, garlic, and small sweet peppers, kept in the fridge and cooked into dishes as a building block. Cuban and Dominican versions sit somewhere between the two.
The technique itself is older than any of these national versions. Medieval Catalan cookbooks describe slow-cooked onion bases that resemble modern sofrito, and the Arabic and Sephardic kitchens of the Iberian peninsula contributed both the long cook and the use of tomato (after tomatoes arrived from the Americas in the 16th century).
Note: The Italian version is spelled soffritto with two f's. It usually means just onion, celery, and carrot cooked briefly in oil, closer to French mirepoix than to Spanish sofrito.
What goes in sofrito?
The exact ingredients vary by region, but the structural logic is the same: one allium, one sweet vegetable, one tomato element, plus aromatics. Here's how the main versions break down.
The Dominican version (also called sofrito or sazón) leans Puerto Rican but adds tomato paste and oregano. Cuban sofrito sticks closer to Spanish but adds cumin and ground bijol or annatto for color. Italian soffritto drops peppers, garlic, and tomato, leaving just onion, celery, and carrot cooked briefly without browning.
How is sofrito made?
The Spanish slow-cooked method is the technique I'll walk through here, because it's the version that does the most work in the final dish. The Puerto Rican blender method is simpler: throw everything in a food processor, store the paste, cook it into dishes as needed.
The visual cue at the end matters more than the clock. Sofrito is ready when the water from the tomato is gone, the oil has come back out of the mixture, and the whole thing has a glossy, concentrated look. Spaniards call this point "el sofrito está cortado", meaning the sofrito has split, with oil separating from the solids.
Why slow heat?
Cooking onion and pepper this long at low heat does two things. First, it triggers slow caramelization of the natural sugars, which builds depth without bitterness. Second, it dehydrates the vegetables enough that the finished base is concentrated, not watery. A 20-minute "quick sofrito" tastes oniony and acidic. The hour-long version tastes savory, sweet, and slightly smoky.
What is sofrito used for?
A finished sofrito is a multiplier. Two tablespoons replaces the entire raw-aromatics step in most braises, stews, and rice dishes. Here's where it does the heaviest lifting.
- Paella and arroz dishes: The classic use. Bloom a tablespoon of sofrito in oil, add rice and stir to coat (this is called sofreír el arroz), then add hot stock. Every grain ends up flavored from inside.
- Beans and lentils: A spoonful at the start of a pot of black beans, chickpeas, or lentils. The sofrito carries through hours of slow cooking and gives the broth body even without meat.
- Braised meats: Sear chicken, pork, or beef, set aside, deglaze the pan with sofrito and wine, then return the meat to braise. The sofrito acts as both flavor base and pan sauce starter, similar to how French cooks use a mother sauce base.
- Sopa and stew bases: Sancocho, ropa vieja, picadillo all start with a generous spoon of sofrito hitting hot oil. The aroma fills the kitchen within seconds.
- Eggs and tortillas: Spanish huevos a la flamenca and certain frittatas use sofrito as a built-in sauce, with eggs cracked directly into a pan of warm sofrito and run under the broiler.
- Sofrito pasta: Less traditional but excellent. Toss hot pasta with two spoons of sofrito, a splash of pasta water, and a handful of cheese. Done in 30 seconds.
Tip: Bloom your sofrito for 30 seconds in hot oil at the start of any recipe. Even if the rest of the dish is fast (a 10-minute weeknight bean situation), that brief blooming releases the trapped aromatics and makes the dish taste like it took longer.
How to store sofrito
The biggest practical win of making sofrito is that it scales. I cook a double batch (about 400g finished weight) every few months and freeze most of it.
The oil that pools on top of the jar is the sofrito's natural seal. It keeps air off the surface, which is why traditional Spanish kitchens stored sofrito under a layer of olive oil for weeks at a time before refrigeration was common.
Sofrito vs mirepoix vs holy trinity
Aromatic bases follow the same logic across cuisines: a vegetable foundation cooked in fat to set up the rest of the dish. The differences are which vegetables, how long, and how hot.
Cajun cooking has a third version called the holy trinity: onion, celery, and green bell pepper, cooked briefly without browning. It's structurally between mirepoix and sofrito: the pepper from sofrito with the celery from mirepoix, but without the long cook or the tomato.
Common mistakes with sofrito
Not cooked long enough. The onion needs at least 10 minutes alone before adding the pepper. The whole base needs 30-60 minutes total. If you can still see distinct onion shapes, give it more time.
Heat was too high. Sofrito wants low-and-slow, not medium. If garlic browns before the tomato goes in, you've gone too hot. Start over, add the garlic later, and keep the burner one notch lower than you think it needs.
Either the heat is too low to evaporate water, or the pan is too small and steam is trapped. Use a wider pan and uncover. Patience: the tomato releases a surprising amount of water, and getting it out is half the work.
Add salt earlier and add a teaspoon of pimentón dulce or a small pinch of cumin. Spanish sofrito needs that smoky depth to taste right. A splash of dry white wine in the last 5 minutes also lifts the flavor.
Use crushed canned tomatoes or grate fresh tomatoes through the large holes of a box grater. Chopped fresh tomato takes much longer to break down because of the intact skin and seeds.
How sofrito fits with other technique foundations
Sofrito sits in the same conceptual family as a roux (French), a mother sauce base, or fond: a foundational preparation made ahead of time that does flavor work across many finished dishes. The difference is what each one is built from. A roux is fat plus flour, a fond is browned protein residue, a mother sauce is dairy or stock. Sofrito is vegetables broken down by patience. None of them are the dish. All of them are why the dish tastes the way it does.
Note: If a recipe calls for "Spanish sofrito" and you only have a jar of Puerto Rican-style recaito, the easiest swap is to cook the recaito with crushed tomato and a pinch of pimentón for 15-20 minutes. You'll get something close enough that most home cooks couldn't tell the difference.