Eva Longoria has broken her leg.

The former 'Desperate Housewives' star was spotted with a mystery boot on last week and it has now been revealed she suffered the injury while on holiday in Spain, and doctors decided she needed the leg brace to help her bone heal.

Sources close to the 42-year-old actress told The Blast she recently aggravated some of the tendons around the bone.

With the raven-haired beauty set to do some directing work on 'The Mick' and 'LA>Vegas', she was advised to wear the boot to aid her recovery.

Despite the inconvenience such a leg brace might cause, she is said to be planning to keep working through the injury.

Eva was spotted wearing the medical footwear at a Los Angeles launch party last week alongside her pal Victoria Beckham, who made a cheeky dig at her friend's new look.

Alongside a picture of the pair sitting down, she wrote the Instagram caption: ''Nice boot!! Love u @evalongoria X #fashionforward (sic)''

Last month, Eva reunited with her fellow 'Desperate Housewives' co-star and pal Felicity Huffman on the red carpet for her Eva Longoria Foundation annual dinner at the Four Seasons Hotel in Beverly Hills - but she wasn't wearing the boot then.

Praising her friend, Felicity said at the time: ''I don't think I'm alone in adoring Eva. I think to know Eva is to adore her.

''She has an inner light that shines out. All she cares about is helping people and lifting up the world and she's a great friend.

''And she's stayed real throughout this whole thing, she's a force of nature and she's still the girl next door.''