The 'Happy' hitmaker knew the King of Pop for several years before he died of acute Propofol intoxication in 2009 and had penned some tracks for the star but they were rejected by his team and ended up being given to Justin Timberlake for his debut solo album 'Justified' - and Pharrell was shocked when the 'Billie Jean' singer later sang them to him and he had to confess they were originally destined for him.
He said: ''I did eight songs for him that never made it to him, that ended up on Justin's record.
''Later he sang me all those songs and told me they should have been his and I told him they were for him.''
The 'Get Lucky' star also laughed off comparisons between himself and the late 'Thriller' singer.
He told News.com.au: ''Well, there's no comparison between me and Michael Jackson. He is the King of Pop, an incredible dancer, an incredible writer, incredible visionary, he changed the world in so many ways.
''I am just a fan who has been given the opportunity to make music.''
The actor had an important goal after Paul Walker's death.
Trump's unexpected presidential election victory has caused U2 to re-think a number of their songs for their upcoming 14th album, they say.