Actress Cameron Diaz has opened up on her relationship with husband Benji Madden saying: "you just know when you know." Speaking to Andy Cohen on his Sirius XM Radio show, Diaz also revealed that the guitarist had caught her eye twice previously, before they finally got together.

Cameron DiazCameron Diaz has opened up on her relationship with husband Benji Madden.

Speaking about her past relationships, Diaz said: "Nothing matters now that I have my husband. I don't even remember any of that. Like that's the thing, that's how I know he's my husband because no one compares."

The actress said that people would always tell her "you just know when you know" about finding the perfect partner and once she met Madden she understood what they meant. "I was always like, 'What does that mean … what does that mean?' Then I was like 'Oh, I get it, you just know when you know, like you're my husband,” she said.

More: Cameron Diaz Shares Makeup-Free Selfie

Diaz and Madden began dating in 2014, after being introduced by Madden’s twin Joel, who is married to Nicole Ritchie. But before then, Madden had caught the actress’ eye twice. "The first thing I saw when I first met my husband, I was like he's hot!" Diaz said.

"We had just never been in the same circle, then I saw him like a year later, I saw him again, and I was like wait a second, still hot." Diaz and Madden finally got together in 2014 after a barbecue hosted by Joel and Nicole.

More: Cameron Diaz Believes Sex Is Something We “Need” To Do “For Many Different Reasons”

"Joel said 'Hey, can my brother come over?' And I said, 'Of course, it's family, we're having a barbecue' and then he walked in the door and I was like … you! You!" Diaz added that now the couple is happily married, "Everything else just kind of like washes and slips away."

"You realize like, 'Oh right, this is what the real thing is, this is what real love is and this is what commitment and devotion is,'" she added. "This is the person that you build your life with, and for me, it's like the rest of everything else just kind of like dissolves.”