One argument for increasing female representation in management is the expectation that female managers will be particularly beneficial for female employees through, e.g., role modeling, mentoring or providing other incentives to enhance female productivity. We explore this issue by analyzing the association between women's wages and the gender of their immediate managers using Swedish matched employee-employer data from 2010. Contrary to the expected positive association, we find that wages are overall 3% lower for female employees with a female instead of male manager. However, dividing the sample by managerial position and controlling for the sorting of employees with respect to, e.g., non-cognitive traits, work tasks, family commitment and establishment gender composition, the negative association is found only for female employees working for lower-level managers, not for women with a manager at the highest rank. One possible explanation could be a difference in decision-making power if lower-level female managers have more limited resources for their subordinates compared to lower-level male managers.