He went out on loan to Dinamo feeder club Lokomotiva Zagreb that same year, making 13 appearances in his first season with the Lokosi.
In January 2009, he signed a seven-and-a-half-year contract with Dinamo Zagreb, spending until the end of the 2011–12 season on loan at Lokomotiva.
[4] In a friendly match against Norwegian side Strømsgodset in January 2016, Pivarić sustained extensive ligament damage to his knee, forcing him out for the remainder of the 2015–16 season and missing out on probable UEFA Euro 2016 national team selection.
Pivarić made his international debut for the Croatia national football team on 14 August 2013, in a 3–2 win over Liechtenstein in Vaduz.
[7] Throughout the tournament Ivan Strinić, Croatia's first choice left back, was battling injuries mostly due to his team playing three consecutive extra time matches to get to the final.