Watch a clip from the movie "Dumb and Dumber To," starring Jim Carrey and Jeff Daniels. Photo: New Line Cinema.

JEFF Daniels got ripped off!

The Farrelly brothers have revealed exactly how much Jeff Daniels was paid compared to Jim Carrey for their 1994 movie, Dumb and Dumber.

Speaking to The Hollywood Reporter, the brothers said Jim Carrey kept asking for more money before he finally agreed to star in the film.

“As I recall it went something like this, they offered him (Jim Carrey) $350,000 to do the movie and he passed,” said Peter Farrelly.

“He wanted like 400,000. And they held off. And then Ace Ventura came out, which was his first movie and it was number one. So the studio said ... Okay, we’ll give you the 400.

“He said, ‘No, I want 500.’ And then they said, ‘No, you’re not getting 500.’ And another week passed, Ace was number one again. And they said, ‘We’ll give you five.’ ‘No, I want 750.’

“Long story short, it got up to seven million and that’s what he got paid. The whole budget was 16 million and Jim got seven, which was the most ever for any comedic actor.”

So what did Jeff Daniels get paid? Not as much, in fact, nowhere near as much.

“The studio didn’t want him (Jeff Daniels), they said, ‘Please, anyone but him, get a comedic actor,’” said Peter Farrelly.

“So they offered him, if I recall, $50,000, which was, you know, Jim’s getting seven mil, they offered him 50 figuring he’ll say, ‘No, I’m not taking that,’ but he took it.”

The film went on to make more than $247 million worldwide, and both Daniels and Carrey are set to reprise their roles in Dumb and Dumber To which is due out in Australia on January 8 next year.