Griffith, passed away at his North Carolina home early this morning (July 3) at the age of 86, and was buried on Roanoke Island later on Tuesday as per the wishes of his family.
Obama said in a statement: "Michelle and I were saddened to hear about the passing of Andy Griffith this morning. A performer of extraordinary talent, Andy was beloved by generations of fans and revered by entertainers who followed in his footsteps.
"He brought us characters from Sheriff Andy Taylor to Ben Matlock, and in the process, warmed the hearts of Americans everywhere. Our thoughts and prayers are with Andy's family."
Griffith starred in two iconic television shows - The Andy Griffith Show and Matlock.
In 2005, he was honoured with the Presidential Medal of Freedom by George W Bush.
Obama joins others who have remembered the late entertainer, including Griffith's former co-star Ron Howard, The Help's Octavia Spencer and Andie MacDowell.
Watch the opening credits of The Andy Griffith Show below: