Rye is a coastal city in Westchester County, New York, United States, located near New York City and within the New York City metropolitan area. It is separate from the Town of Rye, which has more land area than the city. The City of Rye, formerly the Village of Rye, was part of the Town until it received its charter as a city in 1942, making it the youngest city in the State of New York. Its population density for its 5.85 square miles of land is roughly 2,729.76/sq mi.