Optogenetic blocking of the terminal sites followed the effects order of SI‐BF > CeA > BNST > LH for reversal of AIP‐induced sleep loss and fragmentation. The gene discussed is PLOD1; the disease is autoimmune pancreatitis.