In this work the method combining electrochemical generation of cold mercury vapor with its in-situ trapping in graphite tube atomizer was described.