Maltoporin (LamB) facilitates the diffusion of maltodextrins across the outer membrane of E. coli. The structural basis for the specificity of the channel is investigated by X-ray structure analysis of maltoporin in complex with the disaccharides sucrose, trehalose, and melibiose. The sucrose complex, determined to 2.4 A resolution, shows that the glucosyl moiety is partly inserted into the channel constriction, while the bulky fructosyl residue appears to be hindered to enter the constriction, thus interfering with its further translocation. One of the glucosyl moieties of trehalose is found in a similar position as the glucosyl moiety of sucrose, whereas melibiose appears disordered when bound to maltoporin. A comparison with the previously reported maltoporin-maltose complex sheds light on the basis for sugar discrimination, and explains the different permeation rates observed for the saccharides.