A 15-year-old girl has been arrested in connection with the death.
Officers remain at the scene this morning in the Woodthorpe area of the city as the investigation continues.
A police corden remained in place, with yellow police tape across the end of a footpath which runs down the side of one of the cul-de-sac’s large detached new-build houses.
A white forensics tent stands around 100 metres down the footpath.
“She sadly died”
The York City and East police team tweeted: “Difficult late shift for all York staff with tragic death of a seven year old. Thoughts go out to family members.”
A police spokesman said:”Police were called shortly after 4.30pm on Monday, January 9, to an address in Alness Drive, York.
“Officers attended and upon visiting a scene nearby, they found a seven year old girl with life-threatening injuries. Ambulance attended and the girl was taken to York District Hospital, where she sadly died a short time later.
“A 15 year old girl has been arrested in connection with the incident. She remains in police custody for questioning.”