Much of the early history of Trub is tied to the Benedictine Trub Abbey, which ruled over much of the modern municipality.
Following the Protestant Reformation, a number of Anabaptists settled in Trub, which caused problems with the government in Bern.