Spinosad is a naturally derived insecticide that targets the nervous system of lice. It acts by binding to nicotinic acetylcholine receptors and GABA-gated chloride channels in the lice, causing hyperexcitation of neurons. This results in involuntary muscle contractions, paralysis, and death of the parasites. The selective action spares human neuronal receptors, making it safe for topical use.