There are some exceptions to the rule, Hoobin said, such as above-ground pools that already have sides at least 1.2 metres high.
In-ground pools and above-ground pools without sides require fencing, which must be 1.2 metres or higher, meet council fencing and material requirements, and have received building consent from the council.
"To qualify as an effective barrier, the sides of a pool need to be smooth so there's no projections that can be used as footholds.
"Also, the ladder or means of getting into the pool needs to be taken away whenever the pool isn't in use," Hoobin said.
The rules also apply to spa pools without lockable lids.
"Most children who drown in residential pools do so because there's no fence, a deteriorating fence, gates and latches that fail or gates that are left propped open.
"Please get in touch with the council now to arrange a building consent so you can have peace of mind this summer and get on with enjoying all of the fun that a home pool brings."