The 39-year-old star qualified in Chicano studies from the university.
The 'Desperate Housewives' star took to Twitter to share her joy, and wrote: “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!”
She posted photographs of herself in the gown, and even posed with her parents, cousins and friends before the ceremony. She says she felt like famous fictional character Harry Potter.
"In my cap and gown with mum and dad! I look like Harry Potter," she added.