An acid corrosion inhibitor composition is provided for petroleum wells and water wells subjected to stimulation with acid solutions. The inhibitor combines cinnamaldehyde and an organo-sulfur compound. The inhibitor provides a reduced rate of corrosion and fewer instances of pitting than inhibitors which include cinnamaldehyde alone. The inhibitor does not suffer from the well-known oil field aldehyde/polyacrylamide crosslinking incompatibility. The enhanced performance by the inhibitor of the present invention is provided by a synergistic action between the cinnamaldehyde and an organo-sulfur compound.