 After the 1798 French invasion, Roggwil attempted to join the Canton of Aarau under the Helvetic Republic, but it was assigned to the Bernese district of Langenthal.In 1803, under the Act of Mediation, it became part of the district of Aarwangen.The village church was first mentioned in 1201 as a daughter church of the parish church in Wynau.