The goal of this work is to show that the generalized Korn inequality that replaces the symmetric part of the differential matrix in the classical Korn inequality by its trace‐free part is valid over John domains and weighted Sobolev spaces. The weights considered are nonnegative powers of the distance to the boundary.