General category candidates get 6 attempts up to age 32. OBC candidates get 9 attempts up to age 35, and SC/ST candidates get unlimited attempts up to age 37. An attempt is counted only if you appear in at least one paper of the preliminary exam. Always confirm from the current year’s official UPSC notification.