GO:0031069: hair follicle morphogenesis
The process in which the anatomical structures of the hair follicle are generated and organized.