Mason contemplated retirement after last season but wanted a two-year commitment. He got it from Baltimore and will join a potentially potent offense that includes two 1,000-yard receivers (Mason, Boldin) and a 1,000-yard rusher (Ray Rice) from a year ago.
"We know exactly what we're getting with Derrick, and that's production," Ravens general manager Ozzie Newsome said in a statement. "Every Ravens fan knows what Derrick brings to this team."
Baltimore could still use a blazer at receiver in the NFL draft and perhaps an additional tight end to pair with veteran Todd Heap. The Ravens own the No. 25 overall pick in April.