The actor will be playing himself in a comedy scene, according to reports.
"The scene is very funny and the guys had a great time doing it. Brad was a great sport and the producers were thrilled that he took part," PerezHilton.com quoted a source as saying.
"22 Jump Street" is an action comedy film co-directed by Phil Lord and Chris Miller. It also features Channing Tatum and Jonah Hill.