scovidex Español Get the app

How to Make Chili Oil, Safe Storage and Heat by Chili

A chili oil recipe in grams, the garlic-in-oil rule from the food-safety sources, and the heat you get from árbol, cayenne, Thai chili or gochugaru.

Hot oil pouring in a thin stream from a small steel pot into a heatproof bowl of dry red chili flakes, with small bubbles rising where the oil meets the flakes.
Short answer

Pour hot neutral oil over 30 g of dry chili flakes and dry spices, let it cool, and keep the jar in the fridge for up to 4 days or in the freezer. Chiles, garlic and herbs in oil, fresh or dried, can grow botulism at room temperature.

  • Our recipe: 220 g of oil on 30 g of flakes, which our dilution estimate puts near 1,700–3,500 SHU with chile de árbol
  • Dry flakes do not buy more time: Oregon State says oil seasoned with dried garlic or dried herbs must be refrigerated and used within 4 days, or frozen
  • NCHFP sets the fridge for garlic-in-oil at 40°F or lower, and says the freezer keeps it for up to several months
On this page
  1. 1What do you need to make chili oil?
  2. 2How do you make chili oil step by step?
  3. 3Which oil should you use, and how hot should it get?
  4. 4Can homemade chili oil give you botulism?
  5. 5How long does chili oil last, and where do you keep it?
  6. 6Which chili flakes give you the heat you want?
  7. 7Should you strain the flakes out of chili oil?
  8. 8Can you use whole dried chilies instead of flakes?
  9. 9How do you make chipotle, jalapeño or ghost pepper oil?
  10. 10Why does your chili oil smell burnt or go off?
  11. 11How do you use chili oil?
  12. 12Sources

What do you need to make chili oil?

You need 30 g of dried chili flakes, 220 g of neutral oil (about 1 cup), 2 star anise, 1 small cinnamon stick, 1 tablespoon of white sesame seeds and ½ teaspoon of fine salt. That makes about 260 g, one small jar.

This is our recipe for a home pot, not a tested extension recipe. The extension pages we read print rules for oils with garlic and herbs, not a chili oil recipe, so the safety rules below come from those pages.

Our recipe for about 260 g of Dry-Flake Chili Oil
IngredientAmountWhat it does
Dried chili flakes30 gColor and heat; the chili you pick sets the heat dial
Neutral oil, smoke point at least 400°F220 g (about 1 cup)Carries the flavor and takes the heat of the pour
Star anise, whole2 podsWarm, sweet spice; comes out before the pour
Cinnamon stick, small1Quiet background spice; comes out before the pour
White sesame seeds1 tbspToasty crunch that sits with the flakes
Fine salt½ tspRounds off the heat
The amounts are this recipe's own; the 400°F smoke-point line is Illinois Extension's. The 260 g yield is our sum: 220 g of oil, 30 g of flakes and about 10 g of spices, sesame and salt. Source: 1

Everything on that list is dry. You add no fresh garlic, shallot, ginger or fresh chile, which the botulism section below warns you about. Dry still does not make your jar pantry food: you keep it in the fridge for up to 4 days or freeze it.

For a half batch, halve every line: 15 g of flakes and 110 g of oil. The share of flakes in the jar stays the same, so the heat table below still applies to you.

Buy flakes labeled for the chili you want, such as crushed red pepper flakes, or dry your own pods first with the pepper drying methods.

How do you make chili oil step by step?

You warm the oil with whole spices, take the spices out, and heat the oil until a pinch of flakes sizzles at once. Then you pour it over the dry flakes in a heatproof bowl, cool it and put it in the fridge.

  1. 1

    Fill the bowl

    Put the flakes, sesame seeds and salt in a dry, heatproof metal or ceramic bowl. Keep every drop of water out of it.

  2. 2

    Warm the spices

    Put the oil, star anise and cinnamon in a small pot over low heat until the spices smell fragrant and small bubbles rise around them.

  3. 3

    Lift out the spices

    Take the star anise and cinnamon out with a dry slotted spoon and throw them away.

  4. 4

    Heat the oil

    Turn the heat up a little. Drop in one pinch of flakes: when it sizzles right away, the oil is ready. If the oil smokes, take it off the heat and start again with fresh oil.

  5. 5

    Pour

    Pour a third of the oil over the flakes and stir, wait for the sizzle to stop, then pour in the rest and stir again.

  6. 6

    Cool and jar

    Let the oil cool in the bowl, spoon it into a clean, dry jar, and put the jar in the refrigerator within 2 to 3 hours.2

A clear glass jar with a layer of dry red chili flakes settled on the bottom and a deep red oil above them, with a clean dry spoon resting beside the jar.
A finished jar: the flakes settle under a layer of oil, so stir with a clean dry spoon before you scoop.

The 2 to 3 hours in the last step comes from Oregon State, which says you should not leave perishable foods at room temperature longer than that2.

The pour works because fat carries flavor. Illinois Extension says fat spreads the fat-soluble flavors in seasonings and herbs, which makes them more pronounced1. When you pour hot oil over the flakes, the flavor and the chili color move into the oil in a few seconds.

Which oil should you use, and how hot should it get?

Use a neutral oil with a smoke point of at least 400°F. Illinois Extension says high-heat cooking needs fats with smoke points of at least 400 °F, and it names neutral-tasting peanut, canola, safflower, sunflower and vegetable oils as wise choices1.

Smoke points Illinois Extension prints, and what we do with each oil in this recipe
OilSmoke pointIn this recipe
Canola1400°FPour it hot: it sits right at the 400°F line
Vegetable oil1400–450°FPour it hot
Safflower1510°FPour it hot; the most headroom
Olive oil (not extra virgin)1465°FPour it hot; the flavor is stronger than a neutral oil
Extra virgin olive oil1320°FWarm it gently, no hot pour
Unrefined sesame oil1350°FStir in a spoonful after the pour
Coconut oil1350°FSkip it for the pour
Flax seed oil1225°FSkip it

The right column is our reading of the table: we do not pour an oil hot when its smoke point sits below 400°F. The same page says oil that starts smoking is no longer fit to eat and should be thrown out1.

That is why the pinch test in step 4 matters. Drop one pinch of flakes in the pot, and when it sizzles at once, take the pot off the heat. If you see smoke, the oil went too far.

Unrefined oils such as sesame and extra virgin olive have flavors that can enhance or detract from a dish1. Penn State adds that olive and canola oil have fewer polyunsaturated fats than many vegetable oils, so they turn rancid less quickly3.

Can homemade chili oil give you botulism?

Yes, if fresh low-acid food sits in the oil. Penn State says oils flavored with fresh herbs or garlic can be a source of botulism, and that herbs, garlic and other vegetables are low-acid foods that can carry Clostridium botulinum spores3.

Oil around those foods is an oxygen-free place that encourages the spores to grow at room temperature, and they do not grow in the cold3. Oregon State names chili peppers among the vegetables that need this care4, so your jar always ends in the fridge or freezer.

A 2025 paper shows what this looks like in a kitchen.

The family had boiled the jars in water for 30 minutes and kept them at room temperature until they ate them5. Cooking a jar of fresh ingredients in oil does not make it pantry food. The patients ate all of the preserve, so the authors could not test it5.

In this recipe's jar (fridge or freezer, same day count)

  • Dried chili flakes4
  • Dry whole spices such as star anise and cinnamon, taken out before the pour4
  • Sesame seeds and salt3

Left out of this recipe (fresh, low-acid food)

  • Fresh or peeled garlic6
  • Shallot and other fresh vegetables, which Penn State calls low-acid foods3
  • Fresh chile, such as the habanero in the 2025 case5

The 4-day rule comes from three food-safety pages that agree:

  • NCHFP: the National Center for Home Food Preservation says you should make garlic-in-oil fresh and keep it at 40°F or lower for no more than 4 days, and that its research confirmed garlic in oil at room temperature is at risk for botulism6.
  • Oregon State, garlic: the same 4 days for peeled garlic cloves in oil, and storage longer than that could allow C. botulinum growth7.
  • Oregon State, everything else: you use whole or crushed vegetables or herbs in oil within 4 days or freeze them, and the same goes for oil seasoned with dried garlic or dried herbs4. Shallot and fresh chile are vegetables, so they fall under it.
  • Freezer: you may freeze garlic-in-oil for up to several months6.

There is a lab method to acidify garlic and three herbs in citric acid before you oil them. Penn State says to use it only for garlic, basil, oregano and rosemary, and not with other vegetables or herbs, so chiles and shallots stay outside it3.

Illinois Extension is stricter than any of these and says you should use homemade flavored oils immediately and not store them1.

A bottle from a shop is different. Penn State says to check its label for the words acidified or other microbial inhibitors3. The shop jar with crispy bits is chili crisp, which has its own page and follows the same garlic-in-oil source.

How long does chili oil last, and where do you keep it?

Keep it in the refrigerator for up to 4 days, or freeze it. Oregon State says every flavored oil made at home goes in the fridge for up to 4 days or in the freezer, and it names oil seasoned with dried garlic or dried herbs in the same rule4.

No page we read prints a count for oil made only with dried chile flakes. Penn State gives up to three months in the fridge for oil made with dried herbs3, but Oregon State gives dried seasonings 4 days, so you follow the shorter time.

A 260 g jar is a lot for you to finish in 4 days, so freeze most of it the day you make it.

  • In the fridge: 40°F or lower, the temperature NCHFP gives for garlic-in-oil6, and use it within 4 days4.
  • To freeze: use glass freezer jars or plastic freezer boxes, leave ½-inch of headspace, then label, date and freeze; NCHFP says garlic-in-oil keeps there for up to several months6.
  • Small portions: Oregon State freezes crushed vegetables and herbs in oil in ice cube trays, then packs the cubes in airtight containers4. Thaw one cube at a time in the fridge.
  • Label: write the day you made it and the day 4 days later on the jar4.
  • Which jar: a clean, food-grade bottle or jar; dark glass protects the oil from light3.
  • Which spoon: a clean, dry one, because Oregon State says to prepare food with clean hands and utensils2.

Do not judge a chili oil by looking at it. Oregon State says length of refrigeration is not a good index of safety for most foods, but garlic and herbs in oil are the exception, where the day count is the rule2.

That same count answers the "how long does it last" questions for chipotle, jalapeño, ghost pepper and infused olive oils below. For vinegar-based sauces, the shelf life of hot sauce has its own answers.

Which chili flakes give you the heat you want?

Pick the chili by its published heat, because the 30 g sets how hot your jar is. Four dried chilies from our index cover the range, from mild gochugaru up to Thai chili.

Published heat of four chilies you can use for flakes

Log scale; bars show published ranges.Sources for this line8. Korean Journal of Food Preservation 29(6):907-9179. HortScience 42(2):222-22410. Iowa State University Extension11. University of Florida IFAS Extension

Your jar has 30 g of flakes in about 260 g, so the flakes are about 11.5 percent of the jar by weight (30 g divided by 260 g, our arithmetic). We multiply each published range by that share to estimate the heat of the jar. It is a dilution estimate, not a lab test.

Estimated heat of the 260 g jar with 30 g of each chili. The published range is the source's; the jar column is our estimate by dilution, assuming the flakes stay in the jar, the pods match the published figure, and the heat spreads evenly.
FlakesPublished heatYour jar (our estimate)
Gochugaru8971–22,432 SHU (converted)About 110–2,600 SHU
Chile de árbol1015,000–30,000 SHUAbout 1,700–3,500 SHU
Cayenne1125,000–50,000 SHUAbout 2,900–5,800 SHU
Thai chili1150,000–100,000 SHUAbout 5,800–11,500 SHU
Sources: Sources for this line8. Korean Journal of Food Preservation 29(6):907-91710. Iowa State University Extension11. University of Florida IFAS Extension

The gochugaru figure comes from labeled powder, and its range is wide8. Flakes from a shop do not always match a published pod, so taste a drop first. The difference between gochugaru and red pepper flakes explains why labels vary.

If you have a different chili than the recipe names, the amount changes. To match 30 g of chile de árbol at 15,000–30,000 SHU10, you use these amounts of dried flakes (our arithmetic, from the midpoints of the ranges11):

  • Cayenne: 18 g, because it is 1.7 times hotter than árbol.
  • Thai chili: 9 g, because it is 3.3 times hotter.

Both figures are for dried pods, and dried and fresh pods are not on the same scale. For more chilies to stand in for árbol, see the árbol swap list.

Should you strain the flakes out of chili oil?

It depends on what you want on your plate. Strained oil is clear and red and drizzles evenly; oil with the flakes left in gives you sediment you can spoon over food.

Heat changes too. Our heat table assumes the flakes stay in the jar. If you strain them out, the jar carries only the heat that moved into the oil, and no source we read measures that, so taste a drop before you use it.

Straining does not change the storage rule for you. Your strained oil still goes in the fridge for up to 4 days or in the freezer, because Oregon State gives oil that only held dried seasonings the same 4 days4.

Can you use whole dried chilies instead of flakes?

Yes. Snip the pods, shake out most of the seeds, and grind them dry in a spice grinder before they go in the bowl. The recipe's 30 g is the weight of the flakes, so weigh them after you grind.

The homemade red pepper flakes page covers drying and grinding. Wear gloves when you handle hot pods; if you forget, the ranked relief methods for chili burn on your hands apply.

How do you make chipotle, jalapeño or ghost pepper oil?

Use the same recipe and swap the flakes for the chili in the name. Only the heat changes. The storage rule is the same for every version, fresh or dried pods: fridge for up to 4 days, or freeze4.

Single-chili oils on the same dry-flake method
OilChili to useHeatStorage
Chipotle oil, smoky olive oilDried chipotle pods, snipped or groundThe chipotle entry has no single SHU range, so taste a dropFridge up to 4 days, or freeze
Jalapeño oil, green chili oilDried jalapeño flakesJalapeño: 2,000–8,000 SHU for the fresh podFridge up to 4 days, or freeze; fresh slices follow the same rule
Ghost pepper oil, superhot oilA pinch of dried ghost pepperOne lab average of 1,001,304 SHU against 15,000–30,000 for árbolFridge up to 4 days, or freeze
Infused olive oilAny dried chiliSet by the chiliFridge up to 4 days, or freeze; extra virgin olive oil smokes at 320°F, so warm it gently
Sources: Sources for this line1. University of Illinois Extension4. Oregon State University Extension Service9. HortScience 42(2):222-22410. Iowa State University Extension11. University of Florida IFAS Extension
  • Chipotle: the chipotle is a smoked, dried red jalapeño, and its entry explains why no single heat range holds for every pod. For a smoky oil without pods, the chipotle swap list names the powders and pastes.
  • Jalapeño: the fresh jalapeño range of 2,000–8,000 SHU is for the raw pod11. Drying the jalapeños first gives you flakes for the pour, but no extra fridge days.
  • Ghost pepper: a ghost pepper averaged 1,001,304 SHU in one lab paper9, far above the árbol range, so you start with a pinch, wear gloves and keep the jar away from children.

All of these oils are spicy by the chili you pick. An oil made with a pinch of dried ghost pepper can be hotter than one made with all 30 g of árbol, going by the two published figures in the table.

Why does your chili oil smell burnt or go off?

Most problems trace back to the pot, the oil or the jar, so you check the pot first.

Chili oil problems and what to do
What you see or smellLikely causeWhat to do
Smoke rises from the pot1The oil went past its smoke pointThrow it out and start with fresh oil; smoking oil is not fit to eat
Flakes turn dark brown and smell acrid1The oil was too hot for the flakes (our cooking judgment)Start a new batch and use the pinch test in step 4
Oil smells stale or like old nuts3The oil turned rancidUse olive or canola oil, keep the jar dark and cold, and make a smaller batch
The jar is too hot to eat1The chili was hotter than the heat table row you pickedStir it into more cool oil, or use less on the plate

Rancid oil is a quality problem, but a homemade oil kept past its 4 days is a safety problem, and the smell does not tell you which one you have.

How do you use chili oil?

Spoon a little over noodles, dumplings, eggs or rice and taste before you add more, since the heat table shows how strong your jar is. Tilt the spoon for clear oil, or dig down for the flakes if you want the sediment.

Your next step depends on what is in the jar you want:

  • Crunchy fried garlic or shallot bits: shops sell that jar as chili crisp, and a homemade one keeps by the same 4-day rule.
  • A sauce from fresh peppers: the hot sauce making hub covers the safe routes.
  • A cooked chili-in-oil paste with garlic and shallot: the nam prik pao recipe has it.
  • A spoonful that came out too hot: the too-spicy fixes cover what to add, and the hot pepper recipes hub lists dishes that use the same dried chilies.

Sources

· 11
  1. 1University of Illinois Extension ATTENTION: Home Cooks. Are you using the right oil for the right job?2014 · checked Nov 5, 2026
  2. 2Oregon State University Extension Service Guidelines for refrigeration of foodschecked Nov 5, 2026
  3. 3Penn State Extension How to Safely Make Infused Oilschecked Nov 5, 2026
  4. 4Oregon State University Extension Service Herbs and vegetables in oil (SP 50-701)checked Nov 5, 2026
  5. 5Foods (MDPI), via PubMed Central Molecular Typing of Clostridium botulinum Isolated from Chili Pepper Preserves During a Botulism Outbreak2025 · checked Nov 5, 2026
  6. 6National Center for Home Food Preservation (University of Georgia) Freezing Garlic-In-Oilchecked Nov 5, 2026
  7. 7Oregon State University Extension Service Preserving garlicchecked Nov 5, 2026
  8. 8Korean Journal of Food Preservation 29(6):907-917 Capsaicinoid content and quality attributes of commercial red pepper powder according to the labeled pungency levels2022 · checked Oct 23, 2026
  9. 9HortScience 42(2):222-224 'Bhut Jolokia', the world's hottest known chile pepper, is a putative naturally occurring interspecific hybrid2007 · checked Oct 23, 2026
  10. 10Iowa State University Extension PM 1888(S): Guía de Horticultura, El huerto doméstico, Chiles (Everhart, Haynes, Jauron)2002 · checked Oct 22, 2026
  11. 11University of Florida IFAS Extension HS-859/TR010: Pepper Production in Miami-Dade County, Floridachecked Oct 18, 2026