A Dunedin family's week got off to a mixed start after they had to be rescued by a fire crew when two children locked themselves in, and a parent out, of their Northeast Valley home this morning.

A Fire and Emergency New Zealand spokesman said a crew from Willowbank Station was deployed shortly before 8am to a Primrose Bank property.

They arrived to find two children locked inside the home, and the parent waiting outside.

The firefighters managed to unlock the door and departed shortly thereafter.