Drei Höfe is a municipality in the district of Wasseramt in the canton of Solothurn in Switzerland. On 1 January 2013 the former municipalities of Heinrichswil-Winistorf and Hersiwil merged to form the new municipality of Drei Höfe.