Hasan is scheduled to be court martialed Aug. 20 for the November 2009 shooting spree that left 13 dead and 32 wounded at Fort Hood.
Col. Gregory Gross, the judge, Wednesday ordered the beard removal and fined Hasan $1,000 after finding him in contempt of court for violating Army grooming standards, the Austin American-Statesman reported.
Hasan began growing the facial hair in June and had petitioned for a religious exemption, which was denied.
Gross heard arguments from opposing attorneys about whether to allow the testimony of terrorism expert Evan Kohlmann. Kohlmann has prepared a 50-page report in which he calls Hasan a "contemporary violent extremist" and a "lone wolf," the Killeen Daily Herald reported. That report has not yet been admitted into evidence.
To counter that possible testimony, the defense asked the court to pay for two expert witnesses. One would try to discredit Kohlmann while the other, a religious expert, would testify how religion can change attitudes.
The judge did not immediately rule on the funding requests.