There are many causes for white bumps on the penis, including Fordyce spots are oil glands that do not have hair follicles, as most other oil.
Ingrown hairs occur when a hair grows under the skin or curls around and grows directly into the hair follicle. Ingrown hairs commonly develop.
Bumps on your penile shaft may be caused by an ingrown hair. In most cases, this condition will resolve on its own without treatment.