Josh Harrison has signed a contract extension with the Pittsburgh Pirates that runs through the 2020 season.

The new deal is guaranteed through 2018 with a pair of teams options for '19 and '20.

Harrison's contract is worth $27.3 million and could reach up to $50.3 million if both options are exercised, according to multiple reports.

"We are pleased to make this commitment to Josh and that Josh has made this commitment to the Pirates," Pirates general manager Neal Huntington said in a statement released by the team.

"Josh is a very talented, well-rounded player who helps our team win games offensively, defensively and on the bases. Additionally, he is an outstanding person who leads by example with his energy, grit and positivity. We look forward to continuing to work with Josh to achieve our shared goals."