He gave a thumbs up as he was transported to an ambulance at the Jadestone Apartments on Cook Road.
The Houston Fire Department says the man, who is in his early 30s, was doing work about 12 feet below the ground's surface.
Dirt became loose inside the trench, collapsing on top of him to about chest level.
Firefighters say he was conscious during the rescue. HFD crews, a technical rescue team, and a hazardous materials team all worked to dig him out.
They had to free him by hand because the vibration of heavy equipment could have caused a secondary collapse.
RAW VIDEO: SkyEye over the scene of trench collapse that trapped worker
It's not yet known if he has any injuries.
Follow Charly Edsitty on Facebook and Twitter.