“This agreement will hopefully empower women in technology to speak up against sexism in the workplace knowing that their voices can yield meaningful change,” Ami Sanghvi, an E.E.O.C. trial attorney who consulted on the investigation, said in a statement.

Tony West, Uber’s chief legal officer, said the company had “worked hard to ensure that all employees can thrive at Uber by putting fairness and accountability at the heart of who we are and what we do” and was working with the commission to improve those efforts.

The settlement showed how Uber was addressing the repercussions of its internal conduct more than two years after the envelope-pushing behavior of its executives and employees first came to light.

The company remains under investigation by the Justice Department over a tool it created to help it evade scrutiny by law enforcement authorities. It is also the subject of a consent decree with the Federal Trade Commission over its privacy practices until 2038. Last month, the authorities in London said they would not extend the company’s license to operate there because Uber did not meet the “fit and proper” standard needed to hold a taxi license.

Dara Khosrowshahi, the chief executive, pledged to turn around Uber when he joined the company in late 2017, saying that his motto was “do the right thing.” He then replaced much of the senior leadership, eliminated a mandatory arbitration provision for sexual assault and harassment claims against the company, and said that executive compensation would be tied to whether or not Uber reached its goals for hiring a more diverse staff.