Merelli was born in Bergamo and studied composition there with Simon Mayr. He moved to Milan around 1812 and worked there as a theatrical agent, at the same time writing a number of librettos for Mayr, Donizetti, Nicola Vaccai and other composers. He set up his own agency in 1826 and managed seasons in Varese, Como and Cremona between 1830 and 1835, and was joint lessee of the Theater am Kärntnertor in Vienna from 1836 to 1848.
La Scala
From 1829 to 1850, Merelli managed La Scala, initially in partnership with others, who included Domenico Barbaia, and then by himself from 1835. During this period, he was responsible in 1831 for the staging of Vincenzo Bellini's Norma and later for a number of works by Donizetti as well as Saverio Mercadante's Il giuramento and Il bravo. Despite Donizetti's friendship with Merelli, the composer frequently complained about the impresario's bad judgement. He was particularly incensed when he discovered in early September 1839 that Merelli, without consulting him, was mounting a production of Gianni di Parigi which, though composed between 1828 and 1832, had never appeared on stage. Donizetti sent off a strongly-worded protest on 6 September, but it was too late and the opera premiered without any input from the composer four days later. Later, Donizetti turned against Merelli after unsatisfactory productions of his operas at the Kärntnertor Theatre. Meanwhile, in spring 1839, Merelli had summoned Giuseppe Verdi, who was having trouble staging his first opera, Oberto, and, after saying that he had heard favourable reports about the music, he offered to stage it in the following season on very generous terms. Verdi accepted with alacrity, the opera was a minor success, and Giovanni Ricordi bought the publishing rights for the score. Merelli himself even had a hand in it, advising Verdi to compose a scena and quartet for Act 2, scene 2. Merelli now proposed to Verdi a contract for three new operas, and Verdi accepted it. The first, Un giorno di regno, was "an unqualified disaster", but the second, Nabucco, originally offered by Merelli to Otto Nicolai, was a triumph, as was I Lombardi in 1843. Giovanna d'Arco was the last of Verdi's operas to be mounted by Merelli, but, although it was a success, there were problems during rehearsals with inadequate scenery and costumes and an orchestra that was too small. The press was lukewarm, and Merelli was negotiating with Ricordi about the sale of the full score behind Verdi's back. The composer swore that he would never again speak to Merelli or his staff, nor would he ever set foot again on the stage of la Scala.
Later life
When the 1848 revolution broke out, Merelli was suspected of spying for Radetsky, and he spent some time in Vienna after leaving La Scala. In 1861 he returned to Milan and again took charge of the opera house, but in 1863, after losing much of his money, he retired to the Bergamo area. Despite his generosity, his sharp artistic and financial practices led many people to distrust him. He died in Milan. His son, Eugenio organised tours to European cities such as Edinburgh, Venice, Vienna, Paris, Moscow and probably St Petersburg.