to reduce the risk of getting botulism from garlic in olive oil you'll need to store your raw garlic in olive oil inside the refrigerator and use it within 2-3 weeks. you can safely store garlic in oil for about 4 months in the freezer.