The visceral afferents that pass through the sympathetic trunks and the splanchnic nerves are the primary participants in detection of esophageal pain and transmission of this information to various levels of the central nervous system.