Heterocyclic compounds that are ligands for nicotinic acetylcholine receptors are disclosed. The compounds are useful in the treatment of mammals suffering from any of a variety of therapeutic indications including Alzheimer's disease, Parkinson's disease, movement disorders, Tourette's syndrome , Schizophrenia, Attention Deficit Disorder, Anxiety, Pain, Depression, Compulsive Disorder, Substance Abuse, Alcoholism, Amnesia, Pseudodementia, Gunther Syndrome, Migraine, Bulimia, Obesity, Menstrual Pre or LPS, Tobacco Abuse, Post Traumatic Syndrome, Social Phobia, Chronic Fatigue Syndrome, Premature Ejaculation, Erectile Dysfunction, Anorexia Nervosa, Sleep Disorders, Autism, Mutism, Trichotillomania, and Hypothyroidism body temperature.