Anchored periplasmic expression (APEx) technology aims to express and localize proteins or peptides in the Escherichia coli periplasm. Some reports have suggested that transmembrane segments of integral membrane proteins can be used as membrane anchors in the APEx system. In this study, a series of hydrophobic anchors derived from the first putative transmembrane helix of a Bacillus subtilis integral membrane protein, MrpF, and its truncated forms were investigated for anchored periplasmic expression of alkaline phosphatase (PhoA) in E. coli. Anchoring efficiency of hydrophobic anchors was evaluated by monitoring the expression and activity of anchored PhoA. The length of hydrophobic anchors was found to be critical for anchoring proteins to cell membranes. This study may open new avenues for applying transmembrane segments derived from native membrane proteins as membrane anchors in the APEx system.