The present invention relates to crystalline forms of Afatinib and its dimaleate salt. The present invention also relates to processes for the preparation of crystalline forms of Afatinib and its dimaleate salt. The present invention further relates to pharmaceutical compositions of such crystalline forms of Afatinib dimaleate and use thereof in the treatment of a patient in need thereof.