We extend the Riemann–Hilbert (RH) method to study the Fokas–Lenells (FL) equation with nonzero boundary conditions at infinity and successfully find its multiple soliton solutions with one high-order pole and N high-order poles. The mathematical structures of the FL equation are constructed, including global conservation laws and local conservation laws. Then, the conditions (analytic, symmetric, and asymptotic properties) needed to construct the RH problem are obtained by analyzing the spectral problem. The reflection coefficient r(z) with two cases appearing in the RH problem is considered, including one high-order pole and N high-order poles. In order to overcome the difficulty of establishing the residue expressions corresponding to high-order poles, we introduce the generalized residue formula. Finally, the expression of exact soliton solutions with reflectionless potential is further derived by a closed algebraic system.