Sure, the Avengers beat Thanos — but can they beat an escape room?

Anthony Mackie, Sebastian Stan, Benedict Cumberbatch, and Letitia Wright teamed up for the ultimate challenge: getting out of an "Avengers: Endgame"-themed escape room.

Director/game master Joe Russo didn't have high hopes for the foursome: "Odds are they don't get out in time."

First, they had to find Infinity Stone cards and lay them out in the correct order to get a number combination to unlock the next step of the puzzle.

At one point, Wright asks Cumberbatch for his address in "Doctor Strange," which Mackie points out the actor made three years ago.

Then they find another secret room. "It gets weirder!" Cumberbatch exclaims.

Do they escape before time runs out? Too bad they can't just snap the door open.