The pharynx transitions into the esophagus at the level of the cricoid cartilage, which is typically located at the C6 vertebral level. This corresponds to the lower part of the larynx and the upper part of the esophagus. Therefore, the transition occurs around the 6th or 7th cervical vertebra.