Curry is coming off a season during which he averaged 14.7 points, 5.3 assists and 3.4 rebounds but missed 40 games with a right ankle injury that required surgery in April.
Warriors General Manager Bob Myers said the deal "exemplifies the commitment" of team owners Joe Lacob and Peter Guber.
"We're extremely pleased that we have reached an agreement that will enable Stephen to remain a vital part of our team long term," Myers said. "His contributions over the last three years, both on the floor and in the community, have been invaluable to our organization. We certainly expect him to be an integral part of our future success as he continues to evolve as a player in all facets of the game."
The past three seasons, Curry has averaged 17.5 points, 4.1 rebounds, 5.8 assists and 1.7 steals in 34.0 minutes per contest.
He enters this season as the only player in NBA history with career shooting percentages of at least .470 from the field, .440 from long range and .900 from the foul line.
"I'm really excited about the future of this organization, the commitment of our ownership group and the fact that I will have the opportunity to spend the next several years of my career in this environment," Curry said. "I have complete confidence that we are on course to build something special and that was certainly one of the primary reasons I was intent -- and hopeful -- on remaining a part of this organization long term."