U.S. actor Will Smith says he and his wife have an agreement that they can have sex with others provided they inform each other first.

Smith, 36, has been married to entertainer Jada Pinkett Smith for seven years.

"Our perspective is, you don't avoid what's natural," Smith told Britain's Daily Mail. "You're going to be attracted to people. In our marriage vows, we didn't say "forsaking all others. The vow that we made was that you will never hear that I did something after the fact."

"If it came down to it, then one can say to the other, 'Look, I need to have sex with somebody. I'm not going to if you don't approve of it -- but please approve of it.'"

Smith said he was forced to admit he had sexual feelings for other women when working on his film "Hitch," in which he stars with Eva Mendes, whom he described as "freakin' gorgeous."

Despite that attraction, Smith says his second marriage is still solid.