The 26-year-old actress will join the CBS drama as Natalie, a graduate student who catches the eye of the much-older Eli (Alan Cumming), Peter's campaign manager. This will be the first post-Ugly Betty gig for the Emmy winner.
Also appearing in Ferrara's first episode is Jerry Stiller, as a judge who has a habit of nodding off in court.
"It'll be fantastic to see [Ferrera] take on a completely different role — especially one that puts her across from Alan Cumming," Robert King, co-creator and executive producer, said. "And Jerry Stiller is our dream judge. It was great when we got to stop saying, 'We need a Jerry Stiller-type in the role' and just got Jerry Stiller."
The Good Wife, currently in its second season, airs Tuesdays at 10/9c on CBS.