Dylan O'Brien's name has been cleared ... 20th Century Fox says he did not steal Native American treasures while filming in New Mexico -- which means it's really bizarre that he lied about it in the first place.
As we reported ... the star of "Maze Runner: The Scorch Trials" bragged he and his co-stars had ignored warnings to keep their mitts off any artifacts they came across. He said they flat out stole a bunch of stuff from Diamond Tail Ranch, where the movie was shot.
The ranch owner told TMZ he reached out to 20th Century Fox to right the wrong, and now the studio says it's determined nothing was really taken. A spokesman apologized for O'Brien's comment.
As for why Dylan lied? The 24-year-old's rep hasn't responded to our calls.