A boil is a red, swollen, painful bump under the skin. It often looks like an overgrown pimple. Boils are often caused by infected hair follicles. Bacteria from the infection form an abscess, or pocket of pus. A boil can become large and cause severe pain. Boils most often happen where there is hair and rubbing.