In the horseshoe crab, the recognition of beta-1,3-D-glucans by factor G triggers hemolymph coagulation. Factor G contains a domain of two tandem xylanase Z-like modules (Z1-Z2), each of which recognizes beta-1,3-D-glucans. To gain an insight into the recognition of beta-1,3-D-glucans from a structural view point, recombinants of Z1-Z2, the C-terminal module Z2, Z2 with a Cys to Ala substitution (Z2A), and its tandem repeat Z2A-Z2A were characterized. Z2 and Z1-Z2, but not Z2A and Z2A-Z2A, formed insoluble aggregates at higher concentrations more than approximately 30 and 3 microM, respectively. Z1-Z2 and Z2A-Z2A bound more strongly to an insoluble beta-1,3-D-glucan (curdlan) than Z2A. The affinity of Z2A for a soluble beta-1,3-D-glucan (laminarin) was equivalent to those of Z1-Z2, Z2A-Z2A, and native factor G, suggesting that the binding of a single xylanase Z-like module prevents the subsequent binding of another module to laminarin. Interestingly, Z2A as well as intact factor G exhibited fungal agglutinating activity, and fungi were specifically detected with fluorescently tagged Z2A by microscopy. The chemical shift perturbation of Z2A induced by the interaction with laminaripentaose was analyzed by nuclear magnetic resonance spectroscopy. The ligand-binding site of Z2A was located in a cleft on a beta-sheet in a predicted beta-sandwich structure, which was superimposed onto cleft B in a cellulose-binding module of endoglucanase 5A from the soil bacterium Cellvibrio mixtus. We conclude that the pattern recognition for beta-1,3-D-glucans by factor G is accomplished via a carbohydrate-binding cleft that is evolutionally conserved between horseshoe crab and bacteria.