The former Desperate Housewives actress took to her blog, writing: "Big day today!!! Very excited to graduate for my master's degree in Chicano Studies! You're never too old or too busy to continue your education!"
Marcia Cross - her former co-star in the ABC drama - also gave her congratulations to Longoria on Twitter.
The 38-year-old actress, who has been attending events at the Cannes Film Festival this week, also posted a picture of herself with Cheryl Cole from last weekend.
Longoria added the caption: "Me and my twin sister @cherylcole at Cannes!"
Both Cole and Longoria walked the red carpet for the premiere of Benicio Del Toro's new drama Jimmy P. (Psychotherapy of a Plains Indian) last Saturday (May 18).
View all today's best celebrity pictures - photo gallery:
David Beckham wears a red long-sleeved top from his own collection as he launches his H&M Bodywear range in Paris. He recently announced that he is retiring from football.
1 of 59
Copyright: WireImage
> Eva Longoria: 'I'm happy being single'
> Eva Longoria: 'I miss David and Victoria Beckham being in LA'
> 'X Factor USA': Six questions about the new judging panel
http://www.digitalspy.co.uk/showbiz/news/a483858/eva-longoria-gets-masters-degree-from-california-state-university.html