The Warriors announced the deal with the Nigerian native Friday. The team took Ezeli with the final pick of the first round in last week's NBA draft.
The 6-foot-11, 255-pound Ezeli set a Vanderbilt record with 204 career blocked shots in four seasons. He also averaged 10.1 points and 5.9 rebounds last season.
The Warriors have now signed both of the team's first-round picks.
Seventh overall pick Harrison Barnes of North Carolina signed his deal earlier this week. Both are expected to play for Golden State's summer league team in Las Vegas along with second-round pick Draymond Green and last year's rookies: Klay Thompson, Charles Jenkins and Jeremy Tyler.
Terms of the deal were not announced.