The vivacious actress has voiced the Hindi version of the movie, playing the character of Jewel the macaw while Imran Khan plays Blu.
Sonakshi also sings for an interesting party sequence in the film and says she enjoyed the experience of dubbing.
"I enjoyed dubbing for Rio 2 because firstly, it's such a fun film, and secondly, because I felt like Imran (Khan) and I were perfect for the characters of Jewel and Blu," the Dabangg girl said in a statement.
"There's a scene where Jewel is dancing and singing, so they made me sing a few lines as well. It was such a new experience! I would have even loved to sing more but unfortunately I am only just a bathroom singer," she added.
The English version of the movie is voiced by Anne Hathaway and Jesse Eisenberg.
Rio 2, an adventure comedy set in the Brazilian city of Rio De Janeiro, is releasing in 3D here in English, Hindi, Tamil and Telugu.