Judy Greer will guest star on the third season of Showtime’s “Masters of Sex.”

Greer will play Alice Logan, the wife of guest star Josh Charles’ character, Dan Logan, a perfume magnate who approaches Masters (Michael Sheen) and Johnson (Lizzy Caplan) about bottling the smell of sex.

A recovering alcoholic and long-suffering spouse, Alice joins her husband and Masters and Johnson for a painful dinner in which agendas collide, truths are exposed and no relationship emerges in the state it entered.

The in-demand actress currently appears in two FX comedies, starring opposite Nat Faxon in “Married” and voicing Cheryl on the animated series “Archer.” She can presently be seen in Marvel’s “Ant-Man” as Paul Rudd’s ex-wife.

Earlier this summer, Greer had a supporting role alongside Chris Pratt and Bryce Dallas Howard in “Jurassic World,” which is now the third-highest grossing film in box office history, generating more than $1.52 billion worldwide. A sequel to the monster smash has been greenlit for 2018.

Greer can next be seen in Lily Tomlin’s “Grandma” this August, and the black comedy “Addicted to Fresno” alongside Natasha Lyonne in September.

Season three of “Masters of Sex” is set when the famed duo Masters and Johnson are dealing with the glare of the national spotlight as their sex study is finally unveiled. Masters and Johnson’s work will have a profound impact on contemporary relationships, especially their own evolving three-way “marriage” with Masters’ wife Libby (Caitlin FitzGerald).

The show was developed for television by Michelle Ashford, who also serves as an executive producer, along with Sarah Timberman, Carl Beverly, Amy Lippman and Judith Verno. Dave Flebotte serves as co-executive producer. Sheen, Caplan, Tammy Rosen and Thomas Maier are producers. “Masters of Sex” hails from Sony Pictures Television and airs Sundays at 10 p.m. on Showtime.