Plus, signs for when your whole garlic or garlic cloves have gone bad.
Getty Images
Cooking with garlic cloves is an essential part of many home cooks' repertoire.
This workhorse adds loads of flavor to everything it touches (looking at you,garlic bread).

Credit:Getty Images
But garlic, like other alliums, has a shelf life.
Rodney Freidankis a corporate chef atTable 301 Restaurant Groupin Greenville, South Carolina.
Don’t buy whole garlic that has blemishes, cuts, sprouts, or loose cloves.
Garlic shouldn’t smell in the store since it only releases its scent when cut.
Look for fresh garlic at local farmer’s markets when it’s in season in mid-summer to early fall.
It’s fresher than garlic that may have traveled long distances.
How Long Do Unpeeled Garlic Cloves Last?
How Long Do Peeled Garlic Cloves Last?
Peeled cloves have a lot shorter shelf life than unpeeled cloves.
How Long Does A Whole Garlic Bulb Last?
Whole garlic bulbs have a much longer shelf life than garlic cloves.
They can last up to six months when stored properly.
If some of the cloves separate during storage, they can be kept with the head.
Do not store wholegarlic in the refrigeratorbecause it may cause it to sprout prematurely.
it’s possible for you to also freeze chopped garlic in oil.
Place chopped garlic in an ice cube tray, cover with oil, and freeze.
Transfer the frozen cubes to a resealable plastic bag or container to freeze for six to 12 months.
This is a result of oxidation.
If that happens, dont use it, Freidank says.
As for those jars of chopped or minced garlic in oil?
U.S. Department of Agriculture: AskUSDA.Can you get botulism from garlic in oil?