The effects of different structural features on the thermostability of Thermopolyspora flexuosa xylanase XYN10A were investigated. A C-terminal carbohydrate binding module had only a slight effect, whereas a polyhistidine tag increased the thermostability of XYN10A xylanase. In contrast, glycosylation at Asn26, located in an exposed loop, decreased the thermostability of the xylanase. The presence of a substrate increased stability mainly at low pH.