The planning inspector has turned down an appeal which could have seen a large number of houses built on land near Moor Lane in Woodthorpe.
The plan had been refused by the York Planning Committee.
There were concerns that the development would have adversely impacted on the nearby Askham Bog nature reserve.