Alec Baldwin’s yoga-loving wife Hilaria got the “30 Rock” star to quit smoking stogies.

Baldwin was spotted in Union Square speaking to a veteran cigar vendor about his smokes.

Said a passerby, “He was saying he used to be a cigar smoker — and that he’d get Cuban cigars and spend a lot of money.”

The source said Baldwin lamented, “‘Those tobacconists make more than drug dealers.’” But “Now Hilaria doesn’t let him smoke cigars. He was asking the vendor, Robert Kramer,” about his cheroots.

Kramer told us he’s penning a poem he’s thinking of submitting to the New Yorker.