This biographical drama sparks off with Indian cricketer Mohammad Azharuddin (Emraan Hashmi) scoring a century in his 99th test match, but he soon faces allegations of match-fixing as his name has been linked with a London based bookie M.K. Sharma aka Shaun (Rajesh Sharma). The India cricket board slaps a life-ban on him. Azhar decides to challenge the ban in court with the help of his lawyer friend Reddy (Kunaal Roy Kapoor).
The visuals shift to 1963, when Azhar was born to a middle-class family in Hyderabad. His grandfather (Kulbhushan Kharbanda) dreamed of Azhar playing 100 tests for Team India and motivates a soft-spoken young Azhar to answer his rivals with his batting skills.
Young Azhar goes for an Indian team selection match to Mumbai, where on the match day he receives the bad news of his grandfather's death. Nonetheless, he participates in the match, in accordance with his grandfather's last wish. Azhar impresses the selectors, sealing his place in Team India and he soon becomes a national hero by scoring 3 consecutive centuries in his first 3 Test innings.
Azhar soon marries Naureen (Prachi Desai) and they both begin a happy married life. After a loss against Pakistan in 1991, the President of Cricket Broad calls Azhar for a one-to-one meeting. Azhar initially fears getting dropped from the team, but is surprised when he is offered the position of team Captain. Some senior players like Manoj, Ravi and Navjot, resent Azhar's appointment as Captain, not wishing to take orders from a younger and less experienced player.
However, Kapil (Varun Badola) supports and encourages him to focus on his duty. While playing in an India–Pakistan match, Javed taunts Azhar, telling Azhar his Muslim heritage would be a better fit for the Pakistan team. Azhar leads his team to victory and soon becomes a successful captain.
At the peak of his career, Azhar's personal life takes a twist when he meets a former Miss India, Bollywood actress Sangeeta (Nargis Fakhri) during an ad film shoot and instantaneously falls in love with her. Sangeeta cautions him that he is already married and to stay away from her, but Azhar is infatuated by her beauty and does not listen to her advice. They both begin dating but keep their relationship hidden, until it is exposed by a gossip magazine.
Azhar then publicly announces his affair with Sangeeta. Heartbroken, Naureen asks him for a divorce and soon Azhar leaves her to marry Sangeeta. During a cricket match against the West Indies, Azhar gets in a spat with Manoj for a slow run rate in order to complete his century, letting the team lose. Manoj is dropped from the next match and Azhar leads the team to victory. Manoj is humiliated and vows to take revenge.
In later years of his career, Azhar famous for his expensive lifestyle, comes into the eyes of match-fixers. He is soon approached by a London-based bookie M.K Sharma, disguised as a diamond merchant, who later offers him 1 crore rupees to under play in a match against Sri Lanka, which Azhar hesitantly accepts.
In a parallel story, after the match-fixing scandal, Azhar is now facing nationwide criticism and a London-based prosecutor, Meera (Lara Dutta), is building up a strong case against him on the basis of sting operations done by Manoj on Ravi, Navjot and several other cricketers. She also uses the report of the inquiry commission set up by the Cricket Board and secretly meets the bookie M. K. Sharma to gather more evidence. Meera also approaches Naureen, asking her to serve as a witness, but she refuses.
Meanwhile, Azhar and his lawyer Reddy are struggling to find any proof of innocence as none of his fellow cricketers are ready to help him out. Azhar attends a gym-opening ceremony to gain back his old fame in public, but is left insulted by the owner himself. After a long, eight-year legal fight, Reddy finally makes a breakthrough by proving in court that the inquiry commission report is biased, as they were paid by Cricket Board itself. Reddy even challenges the authenticity of sting operation tapes as none of the witness was under oath and hence can not be treated as truth.
Later, Azhar also reveals that he took 1 crore rupees from the bookie to keep him away from other team members but later scored a match winning innings and returned all the money to the bookie.
On the final day of judgement, both Naureen and Sangeeta attend the court hearing, showing their support for Azhar. Kapil also states in a television interview that he believes Azhar is innocent. In its final verdict, the court lifts the India cricket board ban imposed on Azhar.