Thalwil is a municipality and town in the district of Horgen in the canton of Zürich in Switzerland. As of 2010 its population was of 17,189. Besides the town of Thalwil, the municipality includes the village of Gattikon.