The primary cause of acne is the overproduction of sebum, an oily substance produced by sebaceous glands. Other contributing factors include hormonal changes, particularly during puberty, bacteria on the skin, and inflammation. Genetics can also play a significant role.