Since 1803, the municipality of Vergeletto also contained the current municipality of Gresso. Both municipalities were moved away from each other in 1882. On 10 April 2016 the former municipalities of Gresso, Isorno, Mosogno and Vergeletto merged to form the municipality of Onsernone.