Anne Hathaway followed a raw vegan diet to prepare for a new role.

Anne Hathaway adopted a raw vegan diet to step into character for her latest role in the upcoming AppleTV+ series We crashed.

To emulate the lifestyle of Rebekah Neumann, the wife of WeWork founder Adam Neumann, Hathaway became a pure veganmeaning she cut out all foods of animal origin and only ate foods that were raw or cooked at temperatures below 40-48°C.

Anne Hathaway explored raw veganism for her role as Rebekah Neumann in the new AppleTV+ series We crashed. (Photo: Bruce Glikas/FilmMagic)

“I became a raw vegan,” the 39-year-old Oscar-winning actor revealed during an interview on The Late Show with Stephen Colbert Tuesday, explaining that “Rebekah is a very passionate vegan.”

Laughing at Colbert’s comment about the “fodder” involved, Hathaway shared that during filming she got “so deep into my character” that she considered making the plant-based diet permanent.

“‘I think I’m vegan now,'” she recalled thinking. “Like, ‘I think this is it…I know I’ve done this before and I know it’s never stuck but I think this is the time I do it.”

She also told Colbert how her husband Adam Shulman backed the decision – but didn’t judge when his attempts to make the regime change permanent failed.

“And then three weeks later when I was like ‘I need a burger,’ he was like, ‘OK,'” laughed Hathaway, who also practiced yoga for the role.

Although the the devil wears Prada star is back to eating meat – “we’re all people,” she told Colbert about sampling antelope during her visit to Texas last weekend – the vegan diet is the one she supports in theory.

“That’s great,” she said. “And we should do everything we can to eat vegetables for the environment”

The actress also explained why, as a mom of two little boys, she wasn’t “really as immersive as I was before I had kids” in terms of preparing for her role.

She didn’t want to be so taken up with the character that it affected her time with 5-year-old Jonathan and 2-year-old Jack.

“Yeah, I mean, my kids love me, and I’m sure on some level they care about what I do, but also, like, just want their mom,” Hathaway shared.

Want to get lifestyle and wellness news delivered to your inbox? register here for the Yahoo Life newsletter.