Kirsten Dunst and Jason Sudeikis are set to star in comedy Sleeping With Other People.
Horrible Bosses actor Jason is to play a "good-natured womaniser", who becomes friends with a "remorseful serial cheater", portrayed by Kirsten, reported Variety.
The film would mark a reunion for Kirsten and her Bachelorette director-writer Leslye Headland.
Will Ferrell and long-time producing and writing partner Adam McKay will be on board as producers through their Gary Sanchez Productions company.
Kirsten, who stars in dark comedy Bachelorette with Rebel Wilson and Isla Fisher, will make a cameo in Anchorman 2 and is attached to star in drama The Two Faces Of January opposite Viggo Mortensen and Oscar Isaac.
Jason, who stars alongside Jennifer Aniston in comedy We're The Millers, will next star in Drinking Buddies with his real-life fiancee Olivia Wilde as well as Anna Kendrick, Ron Livingston and New Girl's Jake Johnson.