A tube-like invagination of the EPIDERMIS from which the hair shaft develops and into which SEBACEOUS GLANDS open. The hair follicle is lined by a cellular inner and outer root sheath of epidermal origin and is invested with a fibrous sheath derived from the dermis. (Stedman, 26th ed) Follicles of very long hairs extend into the subcutaneous layer of tissue under the SKIN.