It was centred 40 km west of Christchurch , near the town of Darfield , at a depth of 10 km . The earthquake 's epicentre was 40 k west of Christchurch , near the town of Darfield . The hypocentre was at a shallow depth of 10 km .