"I'm really happy to be joining the Williams family," Nasr, a former British Formula Three champion, said in a statement on Saturday.
"They have a great history in the sport and some of the greatest Brazilian drivers of all time have driven for the team, so it's an honour to join names such as (Nelson) Piquet, (Ayrton) Senna and Massa."
Williams also announced a partnership with Banco do Brasil, with the bank's logo to appear on the engine cover of the Mercedes-powered car as well as driver overalls and team apparel.
The team have already announced a multi-year deal with Brazilian oil company Petrobras.
Massa joined Williams from Ferrari at the end of last season.
(Reporting by Alan Baldwin, editing by Mark Meadows)
