Chlorhexidine is used to treat gingivitis. It helps to reduce the inflammation (redness) and swelling of your gums and to reduce gum bleeding. Gingivitis is caused by the bacteria that grow in the coating (plaque) that forms on your teeth between tooth brushings.