Ellen made a special farewell tribute to Obama during her show on Thursday.
She specially mentioned his fight for gay marriage, an issue he change his view on during his 8 years as president.
Obama has appeared several times on her show and as all other guests danced with the audience.
“I want to personally thank him for changing my life,” DeGeneres said.
“I am a legally married woman because of him, and so is my wife.”
Recently Obama also held a very touching speech about the courage Ellen has had dealing with coming out in the entertainment industry and how she has been an incredible rolemodel for the LGBT community when he awarded her the Presidential Medal of Freedom.