Schlosswil was a municipality of the administrative district of Bern-Mittelland in the canton of Bern in Switzerland. On 1 January 2018, the former municipality of Schlosswil merged into the municipality of Grosshöchstetten.