It happened on West Street in Smithfield.
When emergency crews arrived, they found that a pine tree had fallen on an excavator, crushing the cab.
The person inside was trapped for about 20 minutes until they were able to extricate him.
He was taken to WakeMed by EMS for treatment.
EMS is not releasing the man's name.
The North Carolina Department of Labor is investigating at the scene.