The comedian and actress will voice the character of Kraang Prime in the season finale, which will air this summer on the cable network Nick. The exact broadcast date has not been announced.
EW.com described Barr's role as that of a leader from Dimension X, a highly intelligent creature with multiple eyes and purple skin.
The latest incarnation of the animated series based on the characters started airing last year. The first animated series ran from 1987 to 1996 and the second rand from 2003 to 2009.
The "Teenage Mutant Ninja Turtles" franchise includes films, toys and comic books.