The Grenadier Guard who broke strict military rules when he busted out a series of silly dance moves while on parade outside Buckingham Palace could be jailed for 21 days and fined $1800.

The unnamed soldier became a viral hit when video of him pirouetting mid-march was posted to YouTube last month, attracting 1.7 million views.

However, British Army command is reportedly livid about the insubordination and is now looking to throw the guard in military prison, the Daily Mai l reports.

For breaking discipline the guard could be forced to endure physical fitness tests and hours of marching at a military prison in the Essex Glasshouse .

The three-week punitive punishment would be without pay in addition to the fine.

Punishing troops for tomfoolery while on parade is almost without precedent.

"There's no charge in the disciplinary manuals for silly walks and dancing on parade because nobody in living memory has had the cheek to do it," a source told the Daily Mail .

"But this guardsman's senior officers were livid when they saw the footage. His conduct is contrary to everything being a guardsman is about."

Army command confirmed it would hold a disciplinary hearing for the guard who has since earned the nickname "Private Dancer".

A Defence spokeswoman told the Daily Mail : "We are aware of the video. Anyone who is found to fall short of the Army's high standards can expect to face appropriate action."

Any British solider may be jailed for "conduct prejudicial to good order and Service discipline" under the Armed Forces Act 2006.