Charge pair interactions in transmembrane helices and turn propensity of the connecting sequence promote helical hairpin insertion.