A per diem attorney is a lawyer who provides temporary or on-demand legal services for specific tasks such as court appearances, depositions, or trials. They are often hired by law firms or individual attorneys to handle cases on an as-needed basis.