Thyme is taken by mouth for bronchitis, whooping cough, sore throat, colic, arthritis, upset stomach, stomach pain (gastritis), diarrhea, bedwetting, a movement disorder in children (dyspraxia), intestinal gas (flatulence), parasitic worm infections, and skin disorders.