We update the datasets Monthly average air temperatures of the city of Barcelona since 1780 and Monthly accumulated rainfall of the city of Barcelona since 1786 with the data of the year 2021. These data are provided by the Servei Meteorològic de Catalunya, an agency of the Generalitat de Catalunya.