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.