The attack happened on Friday evening, after a man “armed with a sword” attacked the officers in front of terrified tourists and wounded them.
The officers, however, managed to arrest the man, who was taken into police custody.
“A man has been arrested on suspicion of grievous bodily harm and assault on police,” Scotland Yard said.
“The man was stopped at approximately 8.35 pm hours by officers at the Mall outside Buckingham Palace in possession of knife.
“During the course of detaining him, two male police officers suffered minor injuries to their arm,” it added.
According to reports, the Queen was not in Buckingham Palace at the time of the incident.