In some individuals laryngospasm can occur spontaneously or as a result of reflux or impaired swallowing. GERD is a common cause of spontaneous laryngospasm.[2] Treating GERD can lessen the frequency of spasms. The onset of spasms may be caused by a viral infection.