Fire crews in Spring lifted the worker out in a stokes basket after he was trapped 12 feet below the ground.
The Spring Fire Department said mutual aid partners assisted its rescue team at the scene near Treaschwig Road and Aldine Westfield.
Officials said that Aldine Westfield is now open after the road remained closed throughout the rescue.
The worker was alert and talking when crews pulled him out of the trench, according to officials.