This announcement comes just shortly after Red Bull Racing announced that they resigned Mark Webber, who was thought to be the successor to Massa next season.
"It’s a matter of pride to continue working with a team that I regard as my second family," said Massa.
The driver has struggled to keep up with Fernando Alonso, after the Spaniard joined Ferrari this year.
Massa has been around Ferrari ever since he entered Formula One in 2002, as his first team was Sauber, who used Ferrari engines.
"Throughout my entire Formula 1 career, I have always raced with an engine made in Maranello," he said.
Massa has raced in 69 grand prix for Ferrari since he joined the team in 2006. He has won 11 races, 15 poles and 12 fastest race laps.
Full story after the jump.
"Felipe has been part of Ferrari for almost a decade and, together with us, he has grown as a driver and as a man, going through some very difficult times as well as giving us moments of great happiness. We wanted to show proof of stability for the future, believing in the worth of a driver pairing that is without equal in terms of talent, speed and its ability to work together for the good of the team,” added team principal Stefano Domenicali.
It hasn’t been all fun and games for Massa, who suffered an injury last season after he was hit in the head by a spring from Rubens Barrichello’s Brawn racing car.
Massa was out for the rest of the season after the incident and has been outdone by his new teammate, Alonso, this season.
Going into the Canadian Grand Prix, Alonso and Massa are in fourth and seventh in the points, while Ferrari is 26 points behind the leader McLaren in the constructor’s championship.