Novel etiology underlying certain types of seizures and migraines is presented, whereby changes in endocrine levels result in changes in osteoclast activity levels which in turn result in elevated extracellular Ca2+ levels which in turn result in systemic alterations in nerves muscles, including increased nerve membrane depolarization, enhanced calcium channel mediated neurotransmitter release, and increased muscle contractility via sarcoplasmic reticulum calcium release channel mediated tropomyosin block removal, which in turn result in increased seizure risk in people with low seizure thresholds. Treatment methods are provided that modulate the bone microenvironment to provide an etiology based seizure treatment method that simultaneously reduces nerve sensitivity and muscle contractility. Preferred embodiments include use of SERMs such as raloxifene, testosterone, estrogen, calcimimetics such as cinacalcet, RANKL inhibitors such as denosumab, and bisphosphonate such as risedronate.