Using data from the U.S. Merit Systems Protection Board's most recent survey on sexual harassment, this study examines influences on sexual harassment in the federal workplace. We investigate the effect of workers’sociodemographic characteristics, aspects of their daily work environment (the sex of the supervisor and female/male ratio of coworkers), and agency location. Drawing on a variety of theoretical models and addressing a limitation of a previous study, we assess whether and how influences on sexual harassment differ for men and women. Not only does the likelihood of sexual harassment differ for men and women, but the determinants of harassment differ as well. Women are more likely to indicate receipt of unwanted sexual attention as their ratio of male coworkers increases, and men are more likely to indicate its receipt as their ratio of female coworkers increases. We also find differential effects for sex of supervisor, age, education, and job type, among other variables. Our analyses highlight that gender conditions the influences on sexual harassment.