5 or 10 years for the CPL - depending on what you pay for.
The ATPLs also have a validty time period:
*All requirements for the issue of the CPL(A) and IR(A) must be met and the applicant required to apply to PLD for issue within the 36 month validity period of the theoretical knowledge examinations.
You then have to keep the CPL+IR current, every 36 months, in order to not let your ATPL theory exam results lapse.