Folliculitis is a common skin condition that happens when hair follicles become inflamed. It's often caused by an infection with bacteria. At first it may look like small pimples around the tiny pockets from where each hair grows (hair follicles). The condition can be itchy, sore and embarrassing. The infection can spread and turn into crusty sores.