The employer has to serve a minimum of 5 years in the company continuously. Even on the death of employer, gratuity amount can be released before 5 years.