when taken by mouth: garlic is likely safe for most people. garlic has been used safely for up to 7 years. it can cause side effects such as bad breath, heartburn, gas, and diarrhea. these side effects are often worse with raw garlic.