We derive anomaly constraints for Abelian and non-Abelian discrete symmetries using the path integral approach. We survey anomalies of discrete symmetries in heterotic orbifolds and find a new relation between such anomalies and the so-called `anomalous U(1).