FLOODING in NSW has claimed two lives, cut roads and power and prompted evacuation orders for mid-north coast communities.

A 17-year-old boy died after being swept into a drainpipe on Friday night and the body of a man was found today in his submerged car 20km northwest of Grafton.

Evacuation orders have been issued for communities along the mid-north coast as rising rivers are predicted to rise above levees.

The flooding has also closed parts of the Pacific Highway and other major routes, and the wild weather has cut power to thousands of residents.

Around 100 train passengers on an XPT service from Sydney to Casino were trapped for nearly 17 hours as fallen trees, floodwaters and a landslide stopped it three times before it reached Coffs Harbour at noon yesterday.

And, a rescue helicopter has flown a family of eight, including a newborn baby, to Port Macquarie from a farm cut off by floodwaters about 30km west of Wauchope and rescued a woman trapped in her car by floodwaters.