"During our meeting a deal was struck to stage the races through 2009 and this gives a major boost to our motor racing tradition," ANSA news agency quoted Imola's mayor Massimo Marcignoli as saying after the meeting in London.
The circuit near Bologna has been the home of the San Marino Grand Prix since 1981 but is in need of refurbishment.
Many thought this year's race was a farewell after Ecclestone said it would be axed to make way for new races outside Europe.
New circuits in Bahrain and China made their debuts this year and Turkey is due to host a race next season.
However the draft 2005 calendar, drawn up by Ecclestone and due to be finalised next month, had an unprecedented 19 races and listed Imola as provisional for April 24, subject to contractual issues being resolved.
Said Federico Bendinelli, president of the Sagis group that operates the circuit: "There has been no official signing but the agreement, while verbal, has the same validity as a written one.
"We are committed to carrying out certain improvements to the circuit, even if we did not go into details," he added.






