Oxalyl dicyanide is a chemical compound with the formula C<sub>4</sub>N<sub>2</sub>O<sub>2</sub>.
Oxalyl dicyanide can be formed by the hydrolysis of diiminosuccinonitrile.
Oxalyl dicyanide can condense with diaminomaleonitrile to make pyrazinetetracarbonitrile and also 5,6-dihydroxypyrazine-2,3-dicarbonitrile, both derivatives of pyrazine.