The Oklahoma Highway Patrol reported a 23-year-old man died Thursday morning while working on an excavator in Idabel.