Essentialism involves defining a group of people by a small set of fixed properties, while ignoring the conditions under which such identities emerged. In the process, it discounts any possibility of change or variation within the group.
Common examples of essentialism are racism and sexism.
See also Logical fallacy/No true Scotsman