Cook smarter

Join the waitlist for Fond. Recipes, meal plans, and a little AI sous-chef that learns how you cook.

Sofrito
Bastien Bastien

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.

30-60min Cook time
4-5 ingredients Spanish base
1tbsp Per serving
6 months Frozen shelf life
175°C Working temperature

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.

Spanish sofritoPuerto Rican sofrito
Onion Yellow, finely diced Yellow, blended raw
Garlic 3-4 cloves, minced Many cloves, blended raw
Sweet vegetable Red bell pepper Aji dulce peppers
Tomato Crushed or grated None (or trace)
Herb Bay leaf Cilantro and culantro
Treatment Slow-cooked 30-60 min Raw paste, cooked into dishes
Texture (finished) Jammy, deep brick red Bright green paste
Heat None Mild, peppery

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.

1
Warm 3-4 tablespoons of olive oil in a heavy pan over medium-low heat. The pan should be wide enough that the vegetables sit in a thin layer, not piled up.
2
Add 1 finely diced yellow onion. Stir to coat with oil. Cook 8-10 minutes until soft and translucent. Do not brown.
3
Add 1 finely diced red bell pepper. Cook another 8-10 minutes until the pepper has lost its raw bite and starts to soften.
4
Add 4-5 cloves of minced garlic. Cook 2 minutes more, stirring, until the garlic is fragrant but not browned.
5
Add 200g (about 1 cup) of grated or crushed tomato. Stir in a pinch of salt and 1 teaspoon of pimentón dulce (sweet smoked paprika).
6
Lower heat to low. Cook 30-45 minutes, stirring every 10 minutes, until the tomato has darkened from bright red to deep brick, the oil has separated and pooled at the edges, and the mixture is jammy enough to mound on a spoon.

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.

Storage best practices
Do
Cool sofrito completely before storing
Use a clean dry spoon every time you scoop from the jar
Freeze in ice cube trays for tablespoon-sized portions
Pop frozen cubes into a freezer bag for easy access
Label with date. Sofrito lasts 6 months frozen, 5-7 days refrigerated
Don't
Don't pour off the oil that pools on top. That layer is what preserves it
Don't add salt heavily during cooking. Adjust salt in the final dish, since sofrito concentrates
Don't store warm sofrito in a sealed container. Cool first to avoid condensation
Don't refreeze thawed sofrito. The texture breaks down

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.

Mirepoix (French)Sofrito (Spanish)
Vegetables Onion, celery, carrot Onion, garlic, pepper, tomato
Ratio 2:1:1 onion-celery-carrot Equal parts onion and pepper
Cook time 5-10 minutes 30-60 minutes
Browning None, sweat only Deep caramelization
Tomato No Yes
Use case Stock and braises Braises, rice, stews, eggs

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

Sofrito troubleshooting

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.

Sources

  1. Serious Eats — How to Make Sofrito
  2. Wikipedia — Sofrito
  3. The Spruce Eats — Puerto Rican Sofrito Recipe

Cook smarter

Join the waitlist for Fond. Recipes, meal plans, and a little AI sous-chef that learns how you cook.

Frequently asked questions

Sofrito is the flavor base for nearly every braised, stewed, or rice-based dish across Spanish, Caribbean, and Latin American cooking. It goes into paella, arroz con pollo, ropa vieja, beans, sancocho, and most slow-cooked meats. The technique is simple: cook a couple of spoonfuls in oil at the start of a dish, then build the rest of the recipe on top.

Both are aromatic vegetable bases, but they go in different directions. French mirepoix is raw onion, celery, and carrot cooked briefly without browning, used for stocks and braises. Spanish sofrito adds garlic, peppers, and tomato, and is cooked much longer (30-60 minutes) until jammy and deeply caramelized. Mirepoix supports a clean broth flavor; sofrito carries the dish on its own.

Fresh sofrito keeps 5-7 days in a sealed container in the fridge. For longer storage, freeze it in ice cube trays. Each cube is one tablespoon, perfect for tossing into a pan when you start a recipe. Frozen, it lasts 6 months without flavor loss.

They overlap but aren't identical. Recaito (or recao) is the Puerto Rican raw, uncooked version: a paste of cilantro, culantro, onion, garlic, and peppers blended together. When you cook recaito in oil with tomato, you get sofrito. Many Puerto Rican cooks keep a jar of recaito in the fridge and turn it into sofrito as needed.

Yes, and many home cooks prefer them. Canned crushed tomatoes give a consistent acidity and break down evenly during the long cook. Fresh tomatoes are better in summer when they're truly ripe. Out of season, canned wins on flavor and reliability.

It depends on the region. Spanish sofrito traditionally uses red bell pepper and sometimes a touch of pimentón (smoked paprika). Puerto Rican sofrito uses small sweet aji dulce peppers, which are nearly impossible to find outside the Caribbean. Most US cooks substitute cubanelles or a mix of bell pepper and a pinch of cumin. Italian soffritto skips peppers entirely.