a garlic allergy is caused when your body's immune system mistakenly identifies garlic as being harmful and produces antibodies in an attempt to fight it off. this reaction can occur immediately upon contact, or within two hours after ingesting or touching garlic.