The exact cause of blepharospasm is unknown, but it is believed to be related to abnormal functioning of the basal ganglia, a group of cells in the brain that help control movement.