Eva Longoria showed off her killer curves in a tiny blue bikini while vacationing this past weekend.

On Friday, the 40-year-old "Desperate Housewives" alum was seen enjoying her vacation on the beach in Marbella, Spain, according to Us Weekly. The teeny blue bikini looked absolutely flawless on her. She paired it with aviators and hoop earrings.

When it comes to looking this good at her age, Longoria has admitted that she's never felt better. In April, she told Extra's Mario Lopez all about turning 40.

"Fourth level. 40! I actually feel better. I've never been in better shape in my life," she told Lopez. "I've never been happier in my life. I love where I'm at emotionally and spiritually, so for me, I'm like so happy."

While in Spain, she will be hosting the Global Gift Gala which is a fundraiser that helps raise money for multiple charities, including her own, The Eva Longoria Foundation, according to People.

She posted a photo of herself in the skimpy two piece with the caption, "Thank you @mikoh for the beautiful blue bikini! #Marbella #Charity @GlobalGiftFoundation."

Earlier this morning she shared another photo of her feet while she relaxed on the beach. Her toes were also painted blue, most likely in honor of the Fourth of July weekend. "Ahhhhh....#Marbella," the caption read.

 Thank you @mikoh for the beautiful blue bikini!! #Marbella #Charity @GlobalGiftFoundation

A photo posted by Eva Longoria (@evalongoria) on Jul 3, 2015 at 5:23pm PDT

Ahhhhh......#Marbella A photo posted by Eva Longoria (@evalongoria) on Jul 5, 2015 at 5:05am PDT