Human carboxylesterase 2A (hCES2A) is a key serine hydrolase responsible for the metabolic clearance of large number of compounds bearing the ester- or amide-bond(s). Inhibition of hCES2A can relieve the chemotherapyinduced toxicity and alter the pharmacokinetic bahaviors of some orally administrate esters-containing agents. However, most of the hCES2A inhibitors show poor cell-membrane permeability and poor specificity. Herein, guided by the structure activity relationships (SAR) of fifteen natural alkaloids against hCES2A, fifteen new seven-membered ring berberine analogues were designed and synthesized, and their anti-hCES2A activities were evaluated. Among all tested compounds, compound 28 showed potent anti-hCES2A effect (IC50 = 1.66 mu M) and excellent selectivity over hCES1A (IC50 > 100 mu M). The SAR analysis revealed that the seven-membered ring of these berberine analogues was a crucial moiety for hCES2A inhibition, while the secondary amine group of the ring-C is important for improving their specificity over other serine hydrolases. Inhibition kinetic analyses and molecular dynamic simulation demonstrated that 28 strongly inhibited hCES2A in a mixed-inhibition manner, with an estimated Ki value of 1.035 mu M. Moreover, 28 could inhibit intracellular hCES2A in living HepG2 cells and exhibited suitable metabolic stability. Collectively, the SAR of seven-membered ring berberine analogues as hCES2A inhibitors were studied, while compound 28 acted as a promising candidate for developing highly selective hCES2A inhibitors.