It was the first execution carried out by the US military since 1961, and the first by firing squad in the US military since 1945. The execution followed a years-long legal battle.
The US military executed Hasan, the former Army psychiatrist who carried out the Fort Hood attack, by firing squad.
Hasan fatally shot 13 unarmed US military personnel and injured 32 others. He had also been described as injuring more than 30 people in the attack.
According to military policy, Hasan was placed in a seated execution chair. He had been paralyzed from the chest down after being shot during his attack.
Charges against him were read for one final time before a hood was placed over his head.
The Army said the firing squad consisted of 14 soldiers: four live firing squad members, nine blank firing squad members, and one officer in charge. It included one female.
The execution was witnessed by 55 victims and family members, as well as military personnel and two journalists, according to the statement.
In a briefing afterwards, the reporters said the execution took place in an outdoor area near a warehouse. They were kept at a distance and were unable to clearly see Hasan.
Ahead of the execution, few details were released, including where on the base it would take place.
President Trump approved the execution in October.
A court also said public remarks by Trump and Hegseth fell short of showing that either had improperly influenced the arrangements for the execution.
A former Army staff sergeant who was shot in the arm by Hasan has undergone 15 surgeries in the 17 years since the attack.
Several survivors also spoke, describing the attack and the emotion they felt witnessing Hasan's death. Their accounts were not quoted in detail in the available reports.