Joseph Gerdes and Andrew Wiegand, both 17 and from Crystal Lake, are charged with arson, criminal damage to property, and trespassing.
Authorities say both males admitted to setting the fires. Since the end of May, there were six barn fires in Woodstock, Marengo, and Harvard.
One fire in Woodstock destroyed an antique barn built around 1860.