Most managers know to keep gender bias to themselves. Some might think that men are better suited to certain roles and women to others. But virtually all of us understand that expressing those views could get us into trouble on the job. So we keep our mouths shut, just as we curb our opinions about age.

A version of this article appeared in the September 2012 issue of Harvard Business Review.