The Minnesota Vikings have agreed to a five-year contract extension with Harrison Smith, according to a source.

The agreement will make Smith the highest-paid safety in the NFL.

Smith will earn $51.25 million over the next five years, reports ESPN's Adam Schefter, including a $10 million signing bonus. The contract includes $28.578 million guaranteed against injury and his contract runs through 2021, according to a source.

He was already scheduled to play on his fifth-year option this year. Smith was a first-round pick in 2012.