For a government employee, both gratuity and PF benefits are exempt from tax. However, for a non-government employee gratuity is exempt subject to a few conditions. While PF is exempt if it is received from a recognized PF after rendering continuous service of a minimum of 5 years.