U.S. Army soldiers can now wear headphones during personal training at fitness centers.

The authorization to use headphones in a gym while in uniform was distributed in a memo by Acting Army Secretary Patrick Murphy on May 6. The authorization applies to the Active Army, Army National Guard/Army National Guard of the United States and the U.S. Army Reserve.

"Effective immediately, unless the unit or installation commander prohibits otherwise, soldiers may use headphones, including wireless or non-wireless devices and earpieces, in uniform only while performing individual physical training in indoor gyms or fitness centers," the memo stated. "Soldiers may not wear headphones beyond the permitted area in any manner, including around the neck or attached to the uniform. Headphones will be conservative and discreet."

Ear pads are not allowed to exceed 1 inch to 1.5 inches in diameter at the widest point. Soldiers are allowed to wear electronic devices, such as music players or cell phones, and are allowed to wear a solid black armband for electronic devices in the gym or fitness center. The armbands are not allowed outside the gym or fitness center area.

Citing safety concerns, earbuds while performing physical training outside will "never" be allowed, Sergeant Major of the Army Dan Dailey told the ArmyTimes. Soldiers dressed in civilian clothes were able to work out in gyms and wear headphones prior to the authorization, the ArmyTimes report noted.