The move has come after many Jewish groups protested against his decision to play the German dictator who was responsible for killing innocent Jews.
On his Twitter account, Anupam said, "Sometimes human emotions are more important than cinema."
He further tweeted that "After 400 films in 26 years, I have the right to be wrong and still be happy."
Shooting for Dear Friend Hitler is supposed to begin in August with actress Neha Dhupia.
Rakesh Ranjan Kumar is the director.
Image: Neha Dhupia, Anupam Kher and Mahesh Bhatt at the launch party of Dear Friend Hitler on June 6 in Mumbai.
Photograph: Pradeep Bandekar
Today's Hottest Movie Scene
Raj Thackeray slams Mahesh Bhatt
No clean chit yet for Rahul Bhatt: Sources
Anupam Kher, Naseer board local train
I won't walk the ramp this time: Neha Dhupia