Bonvillars is a municipality in the district of Jura-Nord Vaudois in the canton of Vaud in Switzerland.
Bonvillars is first mentioned in 1100 AD as Binvilar.
Bonvillars has an area, as of 2009, of 7.54 square kilometres (2.91 sq mi). Of this area, 3.66 km2 (1.41 sq mi) or 48.5% is used for agricultural purposes, while 3.29 km2 (1.27 sq mi) or 43.6% is forested. Of the rest of the land, 0.48 km2 (0.19 sq mi) or 6.4% is settled (buildings or roads), 0.05 km2 (12 acres) or 0.7% is either rivers or lakes.
Of the built up area, housing and buildings made up 1.9% and transportation infrastructure made up 2.7%. Out of the forested land, 41.9% of the total land area is heavily forested and 1.7% is covered with orchards or small clusters of trees. Of the agricultural land, 23.7% is used for growing crops and 13.5% is pastures, while 6.0% is used for orchards or vine crops and 5.3% is used for alpine pastures. All the water in the municipality is flowing water.
The municipality was part of the Grandson District until it was dissolved on 31 August 2006, and Bonvillars became part of the new district of Jura-Nord Vaudois.