Eva Longoria graduates with master's degree in Chicano studies

Eva Longoria is backing up her beauty with a whole lot of brain. The actress graduated with a master's degree Wednesday.

Longoria, 38, took home a real degree (not an honorary one) in Chicano studies from Cal State Northridge, where she physically attended classes for three years, according to TMZ.

"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!" the actress wrote on her Who Say site Wednesday, sharing loads of pics of her big day, posing with her family, cohorts and diploma.

PHOTOS: 50 most beautiful female celebrities

The "Desperate Housewives" alum began the program while she was working on the ABC drama, which wrapped its eighth and final season in 2012, and even completed her schoolwork on the set, her rep told TMZ.

She titled her thesis "Success STEMS From Diversity: The Value of Latinas in STEM Careers." "STEM" is an acronym for science, technology, engineering and math. The petite actress also has a bachelor's of science degree in kinesiology from Texas A&M University, according to IMDB.

Longoria celebrated the happy occasion with none other than her parents, friends and family.

"In my cap and gown with mom and dad! I look like Harry Potter!" she wrote, posting another pic. And friends in the Twitterverse and online were quick to send her congrats.

"Huge congratulations on your graduation today!!!! From Canne to Cap and Gown. You are really something. Xoxo m," her "Desperate Housewives" co-star Marcia Cross tweeted

"Congrats Eva! I remember you studying on set -- that is one major accomplishment. You are living life to the fullest. xxx" wrote her other "DH" co-star Dana Delany.

"proud of you Eva," said "Franklin & Bash" actress Garcelle Beauvais.

"She does these things with such ease and grace," actress Jane Fonda wrote in a blog post, mentioning that after Longoria auctioned off a date with herself at her charity event during Cannes, she jetted back to L.A. to catch her ceremony.

Now that's dedication. But you can just call her Master.

ALSO:

Pauly D debuts new hair, good-bye blowout!

Justin Bieber may sue guests if they break his home's NDA

Kim Kardashian hits Paris for final vacation before giving birth

Follow Ministry of Gossip @LATcelebs.