On July 13, 2009, Ozoliņš unexpectedly signed a one-year deal with KHL home country team Dinamo Riga, with whom he started his senior career in 1990. Ozoliņš got back his #8 – the same number which he wore while playing for Dinamo Riga. Ozoliņš was named a captain for the first time in his career. In the 2009–10 KHL season he was the team's leader in points among defensemen, scoring 5 goals and 20 assists in 43 games. In January 2010, Ozoliņš was selected to play on the starting roster for the Jaromír Jágr team in the KHL All-Star game. He was also selected to play in the KHL All-Star skills competition, but, due to a minor injury, only played in the first period and withdrew from the skills competition. On May 18, 2010, Ozoliņš extended his contract with Dinamo for another year, after he declined larger offers from four different KHL teams.