 Oberwil has an area, , of .Of this area, or 44.0% is used for agricultural purposes, while or 19.5% is forested.Of the rest of the land, or 35.8% is settled (buildings or roads), or 0.4% is either rivers or lakes and or 0.3% is unproductive land.