12-year-old Dre Parker and his mother Sherry move to Beijing from West Detroit after she gets a job transfer. Dre develops a crush on a young violinist, Mei Ying, who reciprocates his attention, but Cheng, a kung fu prodigy whose family is close to Mei Ying's, attempts to keep them apart by beating Dre, and later bullies him at school. After a field trip to the Forbidden City, Dre encounters Cheng and his friends hanging out close to his apartment. Dre tries to pass by without them seeing him. When he finds a bucket of oil, Dre gets revenge by splashing oil around Cheng and his friends. Cheng and the others catch Dre and beat him. During the attack, the enigmatic maintenance man of Dre's building, Mr. Han, comes to Dre's aid, revealing himself as a kung fu master who dispatches Dre's tormentors.
After Han mends Dre's injuries using fire cupping, Dre asks if Mr. Han could teach him kung fu. Han refuses, but meets Cheng's teacher, Master Li, to make peace. Li, who teaches his students to show no mercy to their enemies, challenges Dre to a fight with Cheng. When Han declines, Li says they will not be allowed to leave his school unless Dre or Han fights. Han acquiesces, but insists the fight take place at an upcoming tournament, and that Li's students leave Dre alone until the tournament. Li agrees, but tells Han that if Dre does not show up during the tournament he will personally bring pain to Han and Dre.
Dre is shocked when Han tells him that he will fight in a kung fu tournament. Han promises to teach Dre "real" kung fu. Han begins training Dre, but Dre is frustrated that Han merely has him spend hours taking off his jacket, hanging it up, dropping it and putting it on again. After days of this, Dre refuses to continue until Han demonstrates that the repetitive arm movements were Han's method of teaching Dre martial arts techniques, which Dre displays instinctively when prompted by Han's mock attacks. Han emphasizes that the movements Dre is learning apply to life in general, and that serenity and maturity, not punches and power, are the true keys to mastering the martial arts. During one lesson in the Wudang Mountains, Dre notices a female kung fu practitioner apparently copying the movements of a cobra before her, but Han informs him that it was the cobra that was imitating the woman, as in a mirror reflection. Dre wants Han to teach him this technique, which includes linking Han's hand and feet to Dre's via bamboo shafts while practicing their forms, but Dre's subsequent attempt to use this reflection technique on his Mom is unsuccessful.
As Dre's friendship with Mei Ying continues, Dre persuades Mei Ying to cut school for a day of fun, but when she is nearly late for her violin audition her parents deem him a bad influence and forbid her from spending more time with him. When Dre finds Han drunk, despondent and breaking the car he had in his living room, Dre learns that it is the anniversary of Han's wife and son's deaths, which occurred when he lost control of the car due to anger caused from an argument he was having with his wife. Dre reminds Han that one of his lessons was in perseverance, and that Han needs to heal from his loss. Han assists Dre in reading a note of apology to Mei Ying's father in Chinese; he accepts and promises that he and Mei will attend the tournament to support Dre.
At the tournament, the under-confident Dre is slow to achieve parity with his opponents, but soon begins beating them and advances to the semifinals, as does Cheng, who violently finishes off his opponents. Dre comes up against Liang, another of Li's students, who is instructed by Li to injure Dre's leg. When Liang insists that he can beat Dre, Li sternly tells him that he does not want him beaten, but broken. Although Liang is disqualified for his illegal strikes, Dre is badly injured.
Despite Han's insistence that he has earned respect for his performance, Dre convinces Han to mend his leg by using fire cupping in order to continue. Dre returns to the arena, facing Cheng. Dre delivers impressive blows, but Cheng counters with a strike to Dre's injured leg. Dre struggles to get up, and attempts the reflection technique to manipulate Cheng's movements. Cheng charges Dre, but Dre flips and catches Cheng with a kick to his head, winning the tournament along with the respect of Cheng and his classmates. Cheng awards Dre the trophy, instead of the presenter.
wikipedia.com