Gerrymandering, in U.S. politics, the practice of drawing the boundaries of electoral districts in a way that gives one political party an unfair advantage over its rivals (political or partisan gerrymandering) or that dilutes the voting power of members of ethnic or linguistic minority groups (racial gerrymandering).