Meyer killed at least eight insurgents despite suffering a shrapnel wound in his arm as he manned the gun turret of the Humvee and provided covering fire for the soldiers, according to the military.
He had been supporting a patrol on Sept. 8, 2009, into a village in the Ganjgal Valley on the day of the ambush.
Meyer and the other Americans had gone to the area to train Afghan military members when, suddenly, the village lights went out and gunfire erupted. About 50 Taliban insurgents on mountainsides and in the village ambushed the patrol.
As the forward team called for air support that wasn't coming, Meyer, a corporal at the time, begged his command to let him head into the incoming fire to help.
Four times he was denied his request before Meyer and another Marine, Staff Sgt. Juan Rodriguez-Chavez, jumped into the Humvee and headed into the fray. For his valor, Rodriguez-Chavez, a 34-year-old who hailed originally from Acuna, Mexico, would be awarded the Navy Cross.
"They told him he couldn't go in," said Dwight Meyer, Dakota Meyer's 81-year-old grandfather, a former Marine who served in the 1950s. "He told them, `The hell I'm not,' and he went in. It's a one-in-a-million thing" that he survived.
Meyer and Rodriguez-Chavez began evacuating wounded Marines and American and Afghan soldiers to a safe point. Meyer made five trips into the kill zone, each time searching for the forward patrol with his Marine friends -- including 1st Lt. Michael Johnson -- whom Meyer had heard yelling on the radio for air support.
With Meyer and Rodriguez-Chavez ready to test fate a fifth time, a UH-60 helicopter arrived at last to provide overhead support. Troops aboard the chopper told Meyer they had spotted what appeared to be four bodies. Meyer knew those were his friends and he had to bring them out.
"Dakota, I know you've grappled with the grief of that day, that you said your efforts were somehow a failure because your teammates didn't come home," the president said. "But as your commander in chief and on behalf of everyone here today and all Americans, I want you to know it's quite the opposite."
Meyer chatted informally Wednesday evening, on a patio outside the Oval Office, over a beer.
In the ceremony, Obama praised Meyer's humility and work ethic, noting that he would not even take a call from the president during his shift at a construction job because he was working. He's now out of the Marines. So the two arranged to talk over his lunch hour. Obama jokingly kidded him with thanks for taking the call.
The deaths of Meyer's comrades prompted an investigation into events that day, and two Army officers were later reprimanded for being "inadequate and ineffective" and for "contributing directly to the loss of life." Along with Meyer's friends, a fifth American -- Army Sgt. Kenneth W. Westbrook, 41, of Shiprock, N.M. -- was fatally wounded in the ambush.
Meyer had said he would be humbled by the memory of his fallen comrades as he received the award Thursday. There were to be separate memorial events, including one at a Columbus, Ga., cemetery for gunnery sergeant Johnson, a father of three who served nearly 13 years in the Marine Corps.
Will Duke, one of the organizers of the tribute, said the memorials spoke volumes about Meyer.
"I can tell by his actions, not only the actions he took in earning the Medal of Honor in Afghanistan but also the actions he is taking now. Essentially by requesting these memorial services for his fallen comrades, he's saying this is about them," Duke said.