A moderate earthquake rattled the Wanganui region today.

The 3.9 magnitude tremor hit at 7.28am, GNS Science said.

It was centred 30km south west of Wanganui and was 32km deep.