The number of attempts to apply for UPSC changes according to different categories of candidates. The general categories have the limits of attempting 6 times till the age of 32 years.  There will be no limit for SC and ST castes.