Pimples on the scalp occur when a pore or hair follicle gets clogged with dead skin cells or sebum. Bacteria, yeast, or mites can also get into the pores and cause a reaction.
Factors that can cause scalp acne include: dead skin cells or oil clogging the follicles.