The Washington Nationals have reached an agreement on a two-year deal with Matt Wieters, according to a source.

The contract is worth $21 million -- $10.5 million over each of the next two seasons. Wieters can opt out prior to the 2018 season.