A practical, convenient, and safe cyano(nitro)methylation method was developed, in which cyano-aci-nitroacetate served as a synthetic equivalent of anionic nitroacetonitrile. A control of the single/double Michael additions was achieved, which enabled the synthesis of unsymmetrical double Michael adducts. Moreover, the Michael adducts can be used as precursors of pyridine and naphthyridine frameworks.