A hiccup is produced by two mechanical events that are tightly coordinated in time. First, the diaphragm and the external intercostal muscles contract together in a sudden, large-amplitude inspiratory effort. The diaphragm is a dome-shaped sheet of muscle separating the thoracic cavity from the abdominal cavity; when its muscle fibres shorten, the dome flattens and descends, increasing the vertical dimension of the chest. The external intercostal muscles, which run obliquely between adjacent ribs, lift the rib cage upward and outward. Together these actions enlarge the thoracic cavity and draw air rapidly inward through the trachea.
Second, the glottis — the opening between the vocal folds in the larynx — closes abruptly. This closure occurs roughly 35 milliseconds after the diaphragm begins to contract, so the incoming air is stopped almost as soon as it starts moving. The vocal folds are brought together by the adductor muscles of the larynx, which are supplied by branches of the vagus nerve, including the recurrent laryngeal nerve.
The characteristic "hic" sound is not produced by the muscle contraction itself. It is produced by the abrupt arrest of the moving air column against the closed glottis. The chest wall and diaphragm generate the pressure; the glottis acts as a valve that converts that pressure into a brief, sharp sound. If the glottis fails to close — for example, if the laryngeal nerves are damaged — the diaphragm may still contract spasmodically, but the result is a silent spasm rather than an audible hiccup. This is why the two components must be considered as a single coordinated event: contraction without closure produces no sound, and closure without contraction produces no air movement to stop.