Eight people were rescued on the Sunshine and Frazer Coasts on Friday due to flash flooding caused by significant rain.

Pedestrians and people in cars that had been swept away by floodwaters had to be rescued by emergency services workers.

Queensland Fire and Emergency's representative Sean Murphy reminded people "if roads are flooded don't drive through it."