Intel Corp. said Chief Executive Brian Krzanich resigned for violating company policy by having a relationship with a co-worker, one of the most prominent CEOs to lose a job in an era of greater scrutiny over workplace behavior.

Intel learned of Mr. Krzanich’s relationship in the past week from an employee who raised concerns, according to people familiar with the matter. The company said an investigation by internal and external counsel into what it called “a past consensual relationship” confirmed a violation of its nonfraternization...

RELATED VIDEO

In the Elevator With Intel's CEO

WSJ’s Joanna Stern “bumps” into Intel CEO Brian Krzanich in the elevator at D.Live and asks about driverless cars and his favorite chip, to eat and to use. Photo: Andria Chamberlin for The Wall Street Journal