The Latin beauty tried out to play Smith's love interest, gossip columnist Sara Melas, in the film back in 2004 and she was crushed to learn she didn't get the part.
But Longoria insists things had a way of working themselves out as the next day, she booked her gig as Gabrielle Solis on the hit TV drama Desperate Housewives, a show which ultimately launched her career.
During an appearance on U.S. programme Late Show With David Letterman on Wednesday (09May12), she said, "I auditioned for Hitch... with Eva Mendes and she ended up getting it and I didn't and the next day I got Desperate Housewives. So had I gotten that (part in Hitch), I wouldn't have been on this amazing run."
Golden Globe-winning series Desperate Housewives, which premiered in America in the autumn of 2004, is set to wrap up its eighth and final season on Sunday (13May12).