Medications for alopecia are used to treat hair loss. Some of these medications also have other uses, including managing rheumatoid arthritis. They work by targeting specific pathways in the immune system to reduce inflammation and promote hair growth. Alopecia medications belong to the Janus kinase (JAK) inhibitor class of medications. JAK inhibitors like baricitinib (Olumiant) and ritlecitinib (Litfulo) are usually taken as oral pills.