In this paper, we prove a cocycle version of marked length spectrum rigidity. There are two consequences: the first one is marked length pattern rigidity for arithmetic hyperbolic locally symmetric manifolds, and the second one is a strengthened marked length spectrum rigidity for surfaces and closed locally symmetric manifolds.