A woman has been rescued after spending the night trapped in an underground stormwater drain in Logan south of Brisbane.

Residents heard the woman, 32, yelling for help behind Boronia Park Shopping Village on Short Street, Boronia Heights, about 6.30am on Monday.

Firefighters struggled to find the woman because they could not see her.

She had crawled 200 metres through the pipe, which is 50 centimeters wide in parts, and runs beneath a housing estate.