The government, which is facing a year-end general election, had earlier this year hiked its economic growth forecast to 2.9 percent for 2015 and 2016.
It is more optimistic than the Bank of Spain which sees the eurozone's fourth largest economy expanding by 3.1 percent in 2015 and 2.7 percent in 2016.
Spain officially exited recession in late 2013 and the economy grew by 1.4 percent last year as consumer spending and investment improved.
That was its first full year of growth since a property bubble burst in 2008, throwing millions of people out of work.
Despite the strengthening in Spain's growth figures, the country's official unemployment rate remains extremely high.
It was 23.8 percent at the last count in the first quarter of this year.
Within the eurozone only Greece had a higher jobless rate, of 25.6 percent in March, the latest data available.
— Mariano Rajoy Brey (@marianorajoy) July 2, 2015