The former US president's tweet of a powerful Nelson Mandela quote is liked millions of times in just a few days.
Following the deadly clashes in the Virginia city, the former president tweeted a picture of himself with black, white and Asian babies alongside a Nelson Mandela quote on Sunday.
In just a few days, the post has gained more than three million likes - setting a new record for Twitter.
Mr Obama's series of three tweets read: "No one is born hating another person because of the colour of his skin or his background or his religion.
"People must learn to hate, and if they can learn to hate, they can be taught to love, for love comes more naturally to the human heart than its opposite."
The first tweet amassed more than 3.2 million likes, while Mr Obama's follow-up second and third posts garnered more than 350,000 likes each.
It overtook pop singer Ariana Grande's post in the wake of the Manchester terror attack, which had 2.7 million likes and read: "Broken. From the bottom of my heart, I am so so sorry. I don't have words."
US television host Ellen DeGeneres' selfie from the 2014 Oscars is the third most-liked tweet of all time with 2.42 million likes.
His post calling John McCain an "American hero" after the US senator was diagnosed with cancer, and his first tweet since leaving the White House saying he would soon "get back to work" are the fourth and fifth most-liked on Twitter.
Mr Obama's most popular post came shortly after Donald Trump's press conference, in which the current US President failed to explicitly denounce the neo-Nazis who were protesting at the removal of a confederate figure's statue.