Making chili oil at home takes about 20 minutes of hands-on time, costs a few dollars for the oil and dried chilies, and is easy once you learn the two-stage heating method. The result is a fragrant, spicy oil that keeps in the fridge for up to a month. Here is the direct method, plus what to do when it goes wrong.
What You Need
You need a neutral oil with a high smoke point, dried chilies, and aromatics. Use about 1 cup (240 ml) of oil for every 1/4 cup (about 10 g) of dried chili flakes or chopped dried chilies. Choose oil like canola, peanut, or grapeseed; olive oil works but adds its own flavor. For the chilies, use a mix of mild and hot varieties—like ancho for color and arbol for heat—or just use your favorite red pepper flakes.
Heat the Oil First
Pour the oil into a cold, dry saucepan and heat it over medium heat until it reaches 350°F (175°C) on a deep-fry thermometer. If you don't have a thermometer, test by dropping a small piece of dried chili into the oil; it should sizzle immediately but not burn. Do not let the oil smoke—if it does, take it off the heat and let it cool for a minute before continuing.
Infuse With Aromatics
Once the oil is hot, add sliced garlic (about 4 cloves), a 1-inch piece of ginger (sliced), and a few slices of shallot or onion. Fry these for 2–3 minutes, until they turn golden and fragrant. Watch them closely—they can go from golden to burnt in seconds. When they are golden, remove them with a slotted spoon and discard them. This step flavors the oil without leaving bits that can spoil.
Pour Over the Chilies
Place your dried chilies or chili flakes in a heatproof bowl. Add a pinch of salt and, if you like, a teaspoon of Sichuan peppercorns or a star anise. Pour the hot oil over the chilies in a slow, steady stream while stirring. The oil should bubble and foam slightly; if it doesn't, the oil wasn't hot enough—but if it turns black, it was too hot. Let the mixture sit for 10 minutes to cool and infuse.
Check the Flavor
After 10 minutes, taste a drop of the oil (let it cool first). If you want more heat, add another pinch of chili flakes and wait 5 minutes. If it's too oily, add more crushed chilies. If you want a deeper flavor, you can reheat the oil gently (to 250°F/120°C) and pour it over again, but this is optional. The oil should be spicy, aromatic, and slightly red.
Store and Use
Let the chili oil cool completely, then transfer to a clean glass jar with a tight lid. Store in the refrigerator and use within 4 days—because the oil contains garlic and chilies, there is a small risk of botulism if left at room temperature. The oil will solidify when cold; let it sit at room temperature for 10 minutes before using. Use it as a drizzle for noodles, dumplings, eggs, or stir-fries.
What Went Wrong
| Symptom | Cause | Fix |
|---|---|---|
| Oil smells burnt | Oil overheated or aromatics burned | Start over with fresh oil; keep heat medium and watch closely |
| Oil is not spicy | Not enough chilies or oil too hot | Add more chili flakes and let steep longer |
| Chilies float and look raw | Oil wasn't hot enough | Reheat oil to 350°F and pour again |
| Oil turns cloudy | Moisture in the chilies or jar | Use completely dry chilies and a dry jar |
Safety Note
Because this chili oil contains garlic and chilies, it is a low-acid food. Never leave it at room temperature—refrigerate within 2 hours of making it. If you want to keep it longer than 4 days, freeze it in ice cube trays and store cubes in a freezer bag for up to 3 months. Do not can or water-bath this recipe; it is not safe for shelf storage.