The present invention relates to cellobiohydrolase variants and carbohydrate binding module variants. The present invention also relates to polynucleotides encoding the variants; nucleic acid constructs, vectors, and host cells comprising the polynucleotides; and methods of using the variants.