In the general case – 3 years. However, different EU countries have different rules and some allow you to claim flight cancellation compensation for up to 6 years, while others have just one year of limitation period. Note: The country of interest is the one where the carrier is headquartered, not the one, from which you are.