Removing the static effect in CSAMT data caused by surface uneven body is still a difficult problem, nowaday. In this paper a new method called orientation filter is presented for the static correction. The application of the method to the CSAMT data of the Yanqi Basin in Xinjiang, the static effect are approximately removed, the errors caused by the static effect are greatly reduced, and the corrected resistivity sections reflect the locations of the high and low resistivity better.