Pico de gallo is a fresh, chunky Mexican salsa that tastes bright and acidic, making it a standard accompaniment for tacos, chips, or grilled meats at potlucks and weeknight dinners. Yes, pico de gallo contains onions, as they provide the essential sharp contrast to the sweetness of the tomatoes.
Onions Provide the Base Crunch and Sharpness
Onions are a mandatory component of traditional pico de gallo. While the tomatoes provide the bulk and moisture, the onions contribute a pungent, crisp texture that prevents the salsa from tasting like a simple tomato salad. Without the sulfurous bite of the onion, the acidity of the lime juice and the heat of the peppers would lack a grounding element to balance the flavor profile.
The type of onion used changes the intensity of the final dish. White onions are the standard choice because they have a cleaner, sharper taste that cuts through the richness of avocado or fried tortilla chips. Red onions are a common substitute that adds a milder, sweeter flavor and a vibrant purple color. Yellow onions are rarely used because their flavor is too heavy and savory for a raw preparation.
| Onion Type | Flavor Profile | Visual Effect |
|---|---|---|
| White Onion | Sharp, pungent, clean | Opaque white |
| Red Onion | Mild, slightly sweet | Purple/Magenta |
| Yellow Onion | Savory, strong | Pale yellow |
Managing Onion Intensity in Raw Salsa
Because the onions in pico de gallo are raw, their potency can sometimes overwhelm the other ingredients, especially if the onion is particularly pungent. To control this, dice the onions into very small, uniform pieces, approximately 1/8 inch (3 mm) or smaller. This ensures that the onion is distributed evenly and that no single bite contains an oversized chunk of raw onion.
If the onion flavor is too strong after mixing, soak the diced onions in a bowl of cold water for 10 to 15 minutes. This process, known as leaching, removes some of the sulfur compounds that cause the sharp “burn” of raw onions. Drain the onions in a fine-mesh sieve and pat them dry with a paper towel before adding them to the tomatoes. This method preserves the crunch while softening the flavor.
Another method to temper the onion is to increase the amount of lime juice. The citric acid in the lime juice chemically reacts with the onion, essentially “cooking” it slightly through denaturation. This mellows the raw edge of the onion and integrates it more smoothly with the cilantro and jalapeño.
Ratio of Onions to Other Ingredients
A balanced pico de gallo follows a specific ratio to ensure the onion does not dominate the dish. A standard rule of thumb is to use a 3:1 ratio of tomato to onion. For every 3 cups of diced tomatoes, use 1 cup of diced onion. This proportion allows the tomato’s juiciness to lead while the onion provides intermittent bursts of flavor.
Consider this worked example for a medium-sized batch: If you start with 4 medium Roma tomatoes, which yield about 3 cups (approx. 450 g) when diced, you should add 1 cup (approx. 150 g) of finely diced white onion. Adding 2 cups of onion would shift the dish toward a relish, while adding only 1/2 cup would result in a salsa that tastes primarily of tomato and lime.
The balance is further adjusted by the amount of salt. Salt draws moisture out of both the tomatoes and the onions. When salt is added, the onions release their juices, which mingle with the lime juice to create a natural dressing. If the salsa tastes too “oniony,” adding a pinch more salt and allowing it to sit for 30 minutes often helps the flavors meld and soften the onion’s profile.
Common Onion Substitutes and Their Effects
For those who cannot tolerate raw onions or prefer a different flavor, several substitutes can be used, though they change the character of the salsa. Green onions (scallions) are the most effective substitute. Use both the white bottoms and the green tops. Green onions provide a milder, more herbal onion flavor that is less aggressive than white or red onions.
Shallots offer a sophisticated alternative. They provide a combination of onion and garlic flavors with a sweetness that complements the acidity of the lime. Because shallots are more potent than green onions but milder than white onions, use them in a 1:1 ratio with the required onion amount. The result is a more refined, less pungent salsa.
If you must avoid all members of the allium family, there is no direct replacement for the texture and bite of the onion. However, increasing the amount of finely diced celery or adding a small amount of diced jicama can provide a similar crunch, though the flavor will be significantly different and lack the characteristic sharpness of pico de gallo.
Storing and Safety for Fresh Salsa
Pico de gallo contains raw vegetables and citrus juice, which makes it highly perishable. Once the onions and tomatoes are salted and mixed, the osmotic pressure draws water out of the cells, creating a liquid environment where bacteria can grow if not kept cold. Refrigerate the salsa within 2 hours of preparation.
Store the salsa in an airtight glass container. Because of the high water content of the tomatoes and onions, the salsa will release a significant amount of liquid over time. This is normal and does not mean the salsa has spoiled. You can stir this liquid back in or drain it if you prefer a thicker consistency. Most homemade pico de gallo keeps for 3 to 4 days in the refrigerator.
Do not freeze pico de gallo. The freezing process breaks the cell walls of the raw onions and tomatoes. When thawed, the tomatoes will become mushy and the onions will lose their crispness, resulting in a watery, unappealing texture. If you have too much salsa, it is better to share it or use it as a base for a cooked sauce rather than freezing it.
Check for spoilage by looking for a cloudy film on the surface of the liquid or a fermented, sour smell that differs from the fresh scent of lime. If the onions appear translucent or slimy rather than crisp, discard the batch. Always use a clean spoon for serving to avoid introducing bacteria from other foods into the container.
Ingredients
- 4 medium Roma tomatoes, diced (about 3 cups / 450 g)
- 1 medium white onion, finely diced (about 1 cup / 150 g)
- 1/2 cup (15 g) fresh cilantro, chopped
- 1-2 jalapeño peppers, seeded and minced (about 2 tbsp / 30 g)
- 2 tbsp (30 ml) fresh lime juice
- 1/2 tsp (3 g) salt
- 1/4 tsp (1 g) ground black pepper
Instructions
- Dice the Roma tomatoes into 1/4 inch (6 mm) pieces, removing the excess seeds and watery pulp from the center to prevent the salsa from becoming too liquid. Place them in a medium glass mixing bowl.
- Finely dice the white onion into pieces no larger than 1/8 inch (3 mm). Add the onion to the bowl with the tomatoes.
- Mince the jalapeño peppers. Remove the seeds and white membranes first if you prefer a milder heat. Stir the minced peppers into the mixture.
- Chop the fresh cilantro leaves and stems finely. Add the cilantro to the bowl.
- Pour the fresh lime juice over the vegetables.
- Sprinkle the salt and black pepper evenly over the top.
- Stir gently with a spoon until all ingredients are evenly coated in lime juice and salt.
- Let the salsa sit at room temperature for 15 minutes before serving to allow the flavors to meld, then refrigerate until use.
Related
- Zucchini Pico de Gallo Recipe
- Easy Pico de Gallo Recipe Using Rotel
- Homemade Chipotle Pico de Gallo Recipe
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).