Diagnosis of demodicosis can be confirmed through a skin biopsy. Histological examination of the biopsy sample typically reveals the presence of Demodex mites in the pilosebaceous units. Additionally, the biopsy may show signs of inflammation, such as infiltrates of neutrophils, lymphocytes, and sometimes eosinophils around the hair follicles.