NEW YORK (AP) — At the movies, idiocy never goes out of style.

Twenty years after the 1994 original, “Dumb and Dumber To” opened with $38.1 million at the weekend box office, according to studio estimates Sunday. The Universal sequel debuted almost exactly two decades after the Farrelly brothers first introduced the Jim Carrey and Jeff Daniels low-IQ duo.

“Dumb and Dumber To” edged out the animated Disney adventure “Big Hero 6,” which took in $36 million in its second week. Christopher Nolan’s sci-fi epic “Interstellar” slid to third in its second week with an estimated $29.2 million. The film continues to blast off overseas, where it took in $106 million over the weekend, with sales particularly boosted by a strong opening in China.

The top three films took up the lion share of the box office, with the no. 4 film, the romance “Beyond the Lights,” opening with a distant $6.5 million.

In a Hollywood constantly updating, rebooting and sequalizing old properties, “Dumb and Dumber To” was still unique. In between installments, there was also a 2003 prequel, though it was made with different actors and wasn’t directed by Bobby and Peter Farrelly.

“This was a gamble,” said Paul Dergarabedian, senior media analyst for box-office tracker Rentrak. “Cinematic history is littered with long-lead sequels that just haven’t worked.”

“It’s always a risky move to wait this long, but in this case, the casting of Jim Carrey and Jeff Daniels really made a difference,” he added.

Most delayed sequels — “Wall Street: Money Never Sleeps,” ”Indiana Jones: Kingdom of the Crystal Skull” — depend on the addition of a new, younger star like Shia LaBeouf. The closest comparison to “Dumb and Dumber To” might be 1998’s “Blues Brothers 2000,” made 18 years after the original. But with John Goodman stepping in for John Belushi, it opened with just $6.1 million.

Staying power is rare in comedy, where chemistry is especially difficult to regain. But “Dumb and Dumber To” gave moviegoers a chance to see Carrey back in his old, physically comedic form. It’s his best live-action debut since 2003’s “Bruce Almighty.”

The project, though, took years to get off the ground and was independently produced by Red Granite Pictures before Universal signed on to distribute. Made for about $40 million, “Dumb and Dumber To” catches up with Lloyd and Harry in middle age.

“There was the battle of ‘That was then, this is now,’ and, ‘It’s not going to work.’ All those guys keep their job by saying no,” Daniels said in an earlier interview. “But we kept going, ‘How can this miss?’ Jim and I would look at each other and say, ‘This is a no-brainer’ — so to speak.”

Nikki Rocco, head of distribution for Universal, noted that “Dumb and Dumber To” was the first big, broad comedy to hit the marketplace since the summer. With an audience that was 43 percent under 25 and 38 percent Hispanic, Rocco said: “It’s not just the 20-year-ago audience that embraced this.”

The weekend gave Disney a new milestone. The studio passed $4 billion worldwide for the second year in a row, buoyed by in-house hits “Frozen” and “Maleficent,” and Marvel’s “Guardians of the Galaxy” and “Captain America: Winter Soldier.”

Overall business was up 13.6 percent on the same weekend last year. The box office was boosted by a handful of independent films including “St. Vincent” ($4 million its sixth weekend) and “Birdman” ($2.5 million in its fifth weekend) as well as the limited released debuts of “Foxcatcher” and Jon Stewart’s “Rosewater.”

Next weekend will be dominated by the release of Lionsgate’s “The Hunger Games: Mockingjay, Part 1.”

Estimated ticket sales for Friday through Sunday at U.S. and Canadian theaters, according to Rentrak. Where available, the latest international numbers are also included. Final domestic figures will be released Monday.

1. “Dumb and Dumber To,” $38.1 million ($9 million international).

2. “Big Hero 6,” $36 million ($11.9 million international).

3. “Interstellar,” $29.2 million ($106 million international).

4. “Beyond the Lights,” $6.5 million.

5. “Gone Girl,” $4.6 million ($4.8 million international).

6. “St. Vincent,” $4 million.

7. “Fury,” $3.8 million ($3.1 million international).

8. “Nightcrawler,” $3 million ($1.4 million international).

9. “Ouija,” $3 million ($3.3 million international).

10. “Birdman,” $2.5 million.

___

Estimated ticket sales for Friday through Sunday at international theaters (excluding the U.S. and Canada), according to Rentrak:

1. “Interstellar,” $106 million.

2. “Big Hero 6,” $11.9 million.

3. “Penguins of Madagascar,” $11.3 million.

4. (tie) “Dumb and Dumber To,” $9 million.

4. (tie) “Don’t Go Breaking My Heart 2,” $9 million.

6. “Gone Girl,” $4.8 million.

7. “The Imitation Game,” $4.2 million.

7. (tie) “Teenage Mutant Ninja Turtles,” $4.2 million.

9. (tie) “Ouija,” $3.3 million.

9. (tie) “The Maze Runner,” $3.3 million.

___

Universal and Focus are owned by NBC Universal, a unit of Comcast Corp.; Sony, Columbia, Sony Screen Gems and Sony Pictures Classics are units of Sony Corp.; Paramount is owned by Viacom Inc.; Disney, Pixar and Marvel are owned by The Walt Disney Co.; Miramax is owned by Filmyard Holdings LLC; 20th Century Fox and Fox Searchlight are owned by 21st Century Fox; Warner Bros. and New Line are units of Time Warner Inc.; MGM is owned by a group of former creditors including Highland Capital, Anchorage Advisors and Carl Icahn; Lionsgate is owned by Lions Gate Entertainment Corp.; IFC is owned by AMC Networks Inc.; Rogue is owned by Relativity Media LLC.

___

Follow AP Film Writer Jake Coyle on Twitter at: http://twitter.com/jakecoyleAP.