Anne Hathaway Anne Hathaway

In Hollywood, 32 is apparently over the hill.

In Glamour U.K's October issue, Anne Hathaway reveals how she's already losing out on roles to younger actresses.

"I can't complain about it because I benefited from it," Hathaway says. "When I was in my early 20s, parts would be written for women in their 50s, and I would get them. And now I'm in my early 30s, and I'm like, 'Why did that 24-year-old get that part?'"

Anne Hathaway to appear in TV adaptation of The Ambassador's Wife

But she's keeping her perspective on things.

"I was that 24-year-old once," she mused. (In fact, she was only 22 when she landed her role in The Devil Wears Prada.) "I can't be upset about it, it's the way things are."

Obviously, Hathaway isn't the first victim of ageism in Hollywood: Earlier this year, Maggie Gyllenhaal revealed she'd been told that, at 37, she was "too old" to the play the love interest of a 55-year-old man.

WATCH: Anne Hathaway nails "Wrecking Ball" on Lip Sync Battle:

-shockwave-flash' height='338' width='600'>