Provided are isolated polypeptides having alpha-amylase activity, catalytic domains, carbohydrate binding domains and polynucleotides encoding the polypeptides, catalytic domains or carbohydrate binding domains. Also provided are nucleic acid constructs, vectors and host cells comprising the polynucleotides as well as methods of producing and using the polypeptides, catalytic domains or carbohydrate binding domains.