Castile, New York
|— Town —|
|• Total||38.4 sq mi (99 km2)|
|• Density||75/sq mi ( 29/km2)|
|Time zone||Eastern (EST) (UTC-5)|
|• Summer (DST)||EDT (UTC-4)|
The Town of Castile was established in 1821 from part of the Town of Perry.
According to the United States Census Bureau, the town has a total area of 38.4 square miles (99.6 km²), of which 37.0 square miles (95.9 km²) is land and 1.4 square miles (3.7 km²) (3.75%) is water.
Part of the east town line is the border of Livingston County, New York.
As of the census of 2000, there were 2,873 people, 1,128 households, and 788 families residing in the town. The population density was 77.6 people per square mile (30.0/km²). There were 1,679 housing units at an average density of 45.4 per square mile (17.5/km²). The racial makeup of the town was 98.43% White, 0.45% Black or African American, 0.21% Native American, 0.31% Asian, 0.10% from other races, and 0.49% from two or more races. Hispanic or Latino of any race were 0.52% of the population.
There were 1,128 households out of which 32.0% had children under the age of 18 living with them, 56.2% were married couples living together, 8.6% had a female householder with no husband present, and 30.1% were non-families. 25.3% of all households were made up of individuals and 12.5% had someone living alone who was 65 years of age or older. The average household size was 2.49 and the average family size was 2.97.
In the town the population was spread out with 24.5% under the age of 18, 8.0% from 18 to 24, 27.3% from 25 to 44, 24.7% from 45 to 64, and 15.4% who were 65 years of age or older. The median age was 39 years. For every 100 females there were 99.1 males. For every 100 females age 18 and over, there were 95.8 males.
The median income for a household in the town was $35,762, and the median income for a family was $40,991. Males had a median income of $30,529 versus $21,500 for females. The per capita income for the town was $17,448. About 7.6% of families and 10.7% of the population were below the poverty line, including 13.4% of those under age 18 and 4.3% of those age 65 or over.
Communities and locations in the Town of Castile 
- Castile - The Village of Castile.
- Castile Center – A hamlet on Route 39 north of Castile village.
- Fairview – A hamlet on the east shore of Silver Lake.
- Letchworth State Park – The town borders the park's west side.
- Perry – A small part of the Village of Perry is at the north town line.
- Silver Lake – A crescent-shaped lake southeast of Perry, New York and in the western part of the town.
- Silver Lake – A hamlet on the eastern shore of Silver Lake.
- Silver Lake State Park – A park at the south end of the lake.
- Sowerby Corners – A hamlet on the west side of Silver Lake.