At a German concentration camp in occupied Poland during 1944, young Erik Lensherr is separated from his parents by Nazi guards. The child’s desperate mind remarkably bends a metal gate until a guard knocks Lensherr unconscious. Scientist Sebastian Shaw, who has observed this through a window, calls Lensherr up to see him. Placing a metal coin on a desk, he orders Lensherr to use his magnetism power to move it. When Lensherr cannot, despite his best efforts, Shaw shoots and kills Lensher’s mother in front of him. In his rage, Lensherr’s out-of-control magnetic power kills the two guards and destroys two rooms, to Shaw’s delight. Around this same time, in a Westchester County, New York, mansion, a young Charles Xavier meets a young, shape-shifting girl named Raven, scrounging for food in the kitchen. Overjoyed to meet someone else “different” like him, he says she can come live with his family.
In Switzerland in the movie’s present-day of 1962, Lensherr forces a banker to trace a bar of Nazi gold to Shaw’s address in Argentina. In a tavern there patronized by former German soldiers, Lensherr kills three men as he learns that Shaw has a yacht in Florida. Meanwhile, in England, Oxford University graduate Xavier is publishing his thesis on mutation; his foster sister Raven, a waitress, lives with him. Simultaneously in Las Vegas, Nevada, CIA agent Moira MacTaggart follows U.S. Army Colonel Hendry into the Hellfire Club, where she sees Shaw, Emma Frost, and Azazel. After Shaw threatens Henry, Azazel disappears with the officer; moments later he is in the War Room, advocating that U.S. install nuclear missiles in Turkey.
MacTaggart seeks Xaviers advice on mutation, and takes Xavier and Raven to the CIA to convince the chief that Shaw is a threat. After convincing them that mutants exist they are to be taken to a covert facility, but first Xavier tracks down Shaw. Lensherr attacks Shaw, and when Shaw escapes in his submarine Lensherr tries to stop him, but Xavier stops him so that he does not drown. Lensherr joins Xavier and Raven at the CIA facility, where they meet Hank McCoy, another mutant that Xavier accidentally outs. McCoy and Xavier use a prototype cerebro to locate mutants and recruit several of them to train to stop Shaw.
Shaw plans to meet with a Russian general, but sends Frost instead, who is then captured by Xavier and Lensherr. The facility is attacked by Azazel, Riptide and Shaw, with all the guards being killed. Shaw recruits Angel and kills Darwin. When Lensherr and Xavier return they begin to train the mutants, though Raven is conflicted about hiding her natural form.
President Kennedy institutes a blockade. Shaw travels with the Russian fleet to ensure that the missiles get to Cuba. Xavier, MacTaggart and Lensherr fly to the blockade to stop the fleets from engaging. Shaw uses a nuclear core to charge himself up and a helmet to block Xaviers telepathy. While Azazel kills the crew of the Russian missile ship, Xavier uses his powers to make a Russian ship destroy the missile ship before it crosses the line. Lensherr pulls Shaws submarine from the water, but an attack forces the jet and submarine to crash. Lensherr finds Shaw and removes his helmet and Xavier takes control of Shaw. Lensherr puts on the helmet, then kills him by forcing the coin that Shaw taunted him with through his brain. The two fleets fire their missiles at the mutants, but Lensherr, now fully in control of his abilities, holds the missiles in the air, then turns them on the fleet. In the ensuing fight Xavier manages to distract Lensherr, but when MacTaggart fires at Lensherr he deflects the bullets, with one paralyzing Xavier. Lensherr takes Raven, Angel Salvadore, Riptide and Azazel and leaves. Xavier and the mutants return to the mansion, where he will open a school. He wipes MacTaggarts memory, and Lensherr breaks Frost out of the CIA headquarters, and in his new uniform he tells Frost to call him Magneto.
source : imdb